forked from lijiext/lammps
Updated Makefile.stampede: replacement options icc
The default options for Makefile.stampede did not compile. They had to be updated to include the `q` replacement options.
This commit is contained in:
parent
8cc8c2793b
commit
f1a23b1ea2
|
@ -6,13 +6,13 @@ SHELL = /bin/sh
|
||||||
# compiler/linker settings
|
# compiler/linker settings
|
||||||
# specify flags and libraries needed for your compiler
|
# specify flags and libraries needed for your compiler
|
||||||
|
|
||||||
CC = mpicc -openmp -DLMP_INTEL_OFFLOAD -DLAMMPS_MEMALIGN=64
|
CC = mpicc -qopenmp -DLMP_INTEL_OFFLOAD -DLAMMPS_MEMALIGN=64
|
||||||
MIC_OPT = -offload-option,mic,compiler,"-fp-model fast=2 -mGLOB_default_function_attrs=\"gather_scatter_loop_unroll=4\""
|
MIC_OPT = -qoffload-option,mic,compiler,"-fp-model fast=2 -mGLOB_default_function_attrs=\"gather_scatter_loop_unroll=4\""
|
||||||
CCFLAGS = -O3 -xhost -fp-model precise -restrict -override-limits $(MIC_OPT)
|
CCFLAGS = -O3 -xhost -fp-model precise -restrict -qoverride-limits $(MIC_OPT)
|
||||||
SHFLAGS = -fPIC
|
SHFLAGS = -fPIC
|
||||||
DEPFLAGS = -M
|
DEPFLAGS = -M
|
||||||
|
|
||||||
LINK = mpicc -openmp
|
LINK = mpicc -qopenmp
|
||||||
LINKFLAGS = -O3 -xhost
|
LINKFLAGS = -O3 -xhost
|
||||||
LIB = -ltbbmalloc
|
LIB = -ltbbmalloc
|
||||||
SIZE = size
|
SIZE = size
|
||||||
|
|
Loading…
Reference in New Issue