Unverified Commit cfd72aac authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by GitHub
Browse files

Merge pull request #1653 from cjknight/make_theta

Cleaning Theta Makefile
parents 4a9ca6ec fc50ae59
Loading
Loading
Loading
Loading
+15 −25
Original line number Diff line number Diff line
# knl = Flags for Knights Landing Xeon Phi Processor,Intel Compiler/MPI,MKL FFT
# module load perftools-base perftools
# theta = Flags for Knights Landing Xeon Phi Processor, Intel Compiler, Cray MPI, MKL FFT
# make theta -j 8
# pat_build -g mpi -u ./lmp_theta

SHELL = /bin/sh

@@ -10,24 +8,16 @@ SHELL = /bin/sh
# specify flags and libraries needed for your compiler

CC =        CC -mkl
#OPTFLAGS =       -O0
OPTFLAGS =  -xMIC-AVX512 -O3 -fp-model fast=2 -no-prec-div -qoverride-limits
CCFLAGS =   -g -qopenmp -DLAMMPS_MEMALIGN=64 -qno-offload \
                -fno-alias -ansi-alias -restrict $(OPTFLAGS)
#CCFLAGS +=      -DLMP_INTEL_NO_TBB
#CCFLAGS +=      -DLAMMPS_BIGBIG
#CCFLAGS +=      -D_USE_PAPI
#CCFLAGS +=      -D_USE_CRAYPAT_API
CCFLAGS +=  -std=c++11
SHFLAGS =   -fPIC
DEPFLAGS =  -M

LINK =      $(CC)
LINKFLAGS = -g -qopenmp $(OPTFLAGS)
LINKFLAGS += -dynamic
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
LINKFLAGS = -g -qopenmp $(OPTFLAGS) -dynamic
LIB =       -ltbbmalloc
SIZE =      size

ARCHIVE =   ar