Makefile.include.intel serial: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
-DCACHE_SIZE=4000 \ | -DCACHE_SIZE=4000 \ | ||
-Davoidalloc \ | -Davoidalloc \ | ||
-Dtbdyn \ | -Dtbdyn \ | ||
-Dfock_dblbuf | -Dfock_dblbuf | ||
Line 12: | Line 11: | ||
FC = ifort | FC = ifort | ||
FCL = ifort - | FCL = ifort -qmkl=sequential | ||
FREE = -free -names lowercase | FREE = -free -names lowercase | ||
FFLAGS = -assume byterecl -w | FFLAGS = -assume byterecl -w | ||
OFLAG = -O2 | OFLAG = -O2 | ||
OFLAG_IN = $(OFLAG) | OFLAG_IN = $(OFLAG) | ||
DEBUG = -O0 | DEBUG = -O0 | ||
INCS =-I$(MKLROOT)/include/fftw | INCS =-I$(MKLROOT)/include/fftw | ||
# For what used to be vasp.5.lib | # For what used to be vasp.5.lib | ||
CPP_LIB = $(CPP) | CPP_LIB = $(CPP) | ||
FC_LIB = $(FC) | FC_LIB = $(FC) | ||
CC_LIB = icc | CC_LIB = icc | ||
CFLAGS_LIB = -O | CFLAGS_LIB = -O | ||
FFLAGS_LIB = -O1 | FFLAGS_LIB = -O1 | ||
FREE_LIB = $(FREE) | FREE_LIB = $(FREE) | ||
Line 40: | Line 35: | ||
# For the parser library | # For the parser library | ||
CXX_PARS = icpc | 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) | |||
</pre> | </pre> | ||
---- | ---- | ||
[[ | [[makefile.include]] | ||
[[Category:VASP]] | [[Category:VASP]] | ||
[[Category:Installation]] | [[Category:Installation]] |
Latest revision as of 13:25, 18 December 2024
# 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)