Makefile.include.intel serial: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
Line 5: Line 5:
               -DCACHE_SIZE=4000 \
               -DCACHE_SIZE=4000 \
               -Davoidalloc \
               -Davoidalloc \
              -Duse_bse_te \
               -Dtbdyn \
               -Dtbdyn \
               -Dfock_dblbuf
               -Dfock_dblbuf
Line 12: Line 11:


FC          = ifort
FC          = ifort
FCL        = ifort -mkl=sequential
FCL        = ifort -qmkl=sequential


FREE        = -free -names lowercase
FREE        = -free -names lowercase


FFLAGS      = -assume byterecl -w -xHOST
FFLAGS      = -assume byterecl -w


OFLAG      = -O2
OFLAG      = -O2
Line 23: Line 22:


INCS        =-I$(MKLROOT)/include/fftw
INCS        =-I$(MKLROOT)/include/fftw
OBJECTS    = fftw3d.o fft3dlib.o
OBJECTS_O1 += fftw3d.o
OBJECTS_O2 += fft3dlib.o


# For what used to be vasp.5.lib
# For what used to be vasp.5.lib
Line 41: Line 36:
CXX_PARS  = icpc
CXX_PARS  = icpc
LLIBS      = -lstdc++
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>
----
----

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)

makefile.include