Skip to content

Commit

Permalink
added xhost intel compiler option for performance boost
Browse files Browse the repository at this point in the history
  • Loading branch information
jtramm committed Aug 11, 2014
1 parent 97038a7 commit 094ebb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COMPILER = intel
MPI = no
OPENMP = yes
OPTIMIZE = yes
DEBUG = yes
DEBUG = no
PROFILE = no
PAPI = no
BENCHMARK = no
Expand Down Expand Up @@ -74,6 +74,9 @@ endif
# Optimization Flags
ifeq ($(OPTIMIZE),yes)
CFLAGS += -O3
ifeq ($(COMPILER),intel)
CFLAGS += -xhost
endif
endif

# PAPI source (you may need to provide -I and -L pointing
Expand Down

0 comments on commit 094ebb6

Please sign in to comment.