makefile.include.intel_serial

From VASP Wiki
Revision as of 13:25, 18 December 2024 by Csheldon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
# Precompiler options
CPP_OPTIONS = -DHOST=\"LinuxIFC\"\
              -DCACHE_SIZE=4000 \
              -Davoidalloc \
              -Dtbdyn \
              -Dfock_dblbuf

CPP         = fpp -f_com=no -free -w0  $*$(FUFFIX) $*$(SUFFIX) $(CPP_OPTIONS)

FC          = ifort
FCL         = ifort -qmkl=sequential

FREE        = -free -names lowercase

FFLAGS      = -assume byterecl -w

OFLAG       = -O2
OFLAG_IN    = $(OFLAG)
DEBUG       = -O0

INCS        =-I$(MKLROOT)/include/fftw

# For what used to be vasp.5.lib
CPP_LIB     = $(CPP)
FC_LIB      = $(FC)
CC_LIB      = icc
CFLAGS_LIB  = -O
FFLAGS_LIB  = -O1
FREE_LIB    = $(FREE)

OBJECTS_LIB = linpack_double.o

# For the parser library
CXX_PARS   = icpc
LLIBS      = -lstdc++

# When compiling on the target machine itself, change this to the
# relevant target when cross-compiling for another architecture
VASP_TARGET_CPU ?= -xHOST
FFLAGS     += $(VASP_TARGET_CPU)

makefile.include