Skip to content

Commit

Permalink
OneAPI makefile tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dalel487 committed Jul 8, 2024
1 parent 61448a6 commit efca5f0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions production_c/Makefile_OneAPI
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ IFLAGS= -I../INCLUDE $(shell gsl-config --cflags)

CFLAGS= $(IFLAGS) -qmkl -std=gnu11 -ipo -qopt-zmm-usage=high -MD\
-xSKYLAKE -axSKYLAKE-AVX512,CASCADELAKE,TIGERLAKE,COFFEELAKE,ALDERLAKE,RAPTORLAKE\
-DMKL_DIRECT_CALL -D__INTEL_MKL__ -D__RANLUX__\
-qopenmp -qopenmp-simd -DSA3AT\
-mllvm -loopopt=0
-DMKL_DIRECT_CALL -D__INTEL_MKL__ -D__RANLUX__ -DINT_LPFR\
-qopenmp -qopenmp-simd -DSA3AT
# -mllvm -loopopt=0
#Last Line required to avoid segmentation fault

LFLAGS= -L${MKLROOT}/lib/intel64 -limf $(shell gsl-config --libs-without-cblas)
Expand All @@ -23,6 +23,7 @@ SRC= \
fermionic.c\
force.c\
par_mpi.c \
integrate.c\
su2hmc.c

INC= \
Expand All @@ -32,6 +33,7 @@ INC= \
random.h \
matrices.h \
par_mpi.h \
integrate.h\
su2hmc.h \
#
# No need to edit below this line
Expand Down

0 comments on commit efca5f0

Please sign in to comment.