Makefile.include.intel serial: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 12: Line 12:


FC          = ifort
FC          = ifort
FCL        = ifort -lstdc++ -mkl=sequential
FCL        = ifort -mkl=sequential


FREE        = -free -names lowercase
FREE        = -free -names lowercase
Line 18: Line 18:
FFLAGS      = -assume byterecl -w -xHOST
FFLAGS      = -assume byterecl -w -xHOST


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


INCS        =-I$(MKLROOT)/include/fftw
INCS        =-I$(MKLROOT)/include/fftw
Line 31: Line 31:
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 40:
# For the parser library
# For the parser library
CXX_PARS  = icpc
CXX_PARS  = icpc
LLIBS      = -lstdc++
</pre>
</pre>
----
----

Revision as of 17:15, 20 January 2022

# Precompiler options
CPP_OPTIONS = -DHOST=\"LinuxIFC\"\
              -DCACHE_SIZE=4000 \
              -Davoidalloc \
              -Duse_bse_te \
              -Dtbdyn \
              -Dfock_dblbuf

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

FC          = ifort
FCL         = ifort -mkl=sequential

FREE        = -free -names lowercase

FFLAGS      = -assume byterecl -w -xHOST

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

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
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++

Contents