Cleaning Theta Makefile
This commit is contained in:
@ -1,7 +1,5 @@
|
|||||||
# knl = Flags for Knights Landing Xeon Phi Processor,Intel Compiler/MPI,MKL FFT
|
# knl = Flags for Knights Landing Xeon Phi Processor,Intel Compiler/MPI,MKL FFT
|
||||||
# module load perftools-base perftools
|
|
||||||
# make theta -j 8
|
# make theta -j 8
|
||||||
# pat_build -g mpi -u ./lmp_theta
|
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
@ -10,24 +8,16 @@ SHELL = /bin/sh
|
|||||||
# specify flags and libraries needed for your compiler
|
# specify flags and libraries needed for your compiler
|
||||||
|
|
||||||
CC = CC -mkl
|
CC = CC -mkl
|
||||||
#OPTFLAGS = -O0
|
|
||||||
OPTFLAGS = -xMIC-AVX512 -O3 -fp-model fast=2 -no-prec-div -qoverride-limits
|
OPTFLAGS = -xMIC-AVX512 -O3 -fp-model fast=2 -no-prec-div -qoverride-limits
|
||||||
CCFLAGS = -g -qopenmp -DLAMMPS_MEMALIGN=64 -qno-offload \
|
CCFLAGS = -g -qopenmp -DLAMMPS_MEMALIGN=64 -qno-offload \
|
||||||
-fno-alias -ansi-alias -restrict $(OPTFLAGS)
|
-fno-alias -ansi-alias -restrict $(OPTFLAGS)
|
||||||
#CCFLAGS += -DLMP_INTEL_NO_TBB
|
CCFLAGS += -std=c++11
|
||||||
#CCFLAGS += -DLAMMPS_BIGBIG
|
|
||||||
#CCFLAGS += -D_USE_PAPI
|
|
||||||
#CCFLAGS += -D_USE_CRAYPAT_API
|
|
||||||
SHFLAGS = -fPIC
|
SHFLAGS = -fPIC
|
||||||
DEPFLAGS = -M
|
DEPFLAGS = -M
|
||||||
|
|
||||||
LINK = $(CC)
|
LINK = $(CC)
|
||||||
LINKFLAGS = -g -qopenmp $(OPTFLAGS)
|
LINKFLAGS = -g -qopenmp $(OPTFLAGS) -dynamic
|
||||||
LINKFLAGS += -dynamic
|
LIB = -ltbbmalloc
|
||||||
LIB =
|
|
||||||
#LIB += -L${TBBROOT}/lib/intel64/gcc4.7 -ltbbmalloc
|
|
||||||
LIB += -ltbbmalloc
|
|
||||||
#LIB += /soft/debuggers/forge-7.0-2017-02-16/lib/64/libdmallocthcxx.a -zmuldefs
|
|
||||||
SIZE = size
|
SIZE = size
|
||||||
|
|
||||||
ARCHIVE = ar
|
ARCHIVE = ar
|
||||||
|
|||||||
Reference in New Issue
Block a user