Merge pull request #1824 from tabedzki2/patch-1

Updated Makefile.stampede: replacement options icc
This commit is contained in:
Axel Kohlmeyer
2020-01-08 10:59:31 -05:00
committed by GitHub

View File

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