Skip to content

Commit e19574f

Browse files
committed
fix in makefile: use icc for C++ compiler on Intel platform
1 parent c644f10 commit e19574f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ else ifeq ($(PLATFORM), intel)
4444
SOFLAGS = -fPIC
4545
SOLDFLAGS = -shared -Wl,-soname,libftl.so.1
4646
FCFLAGS += -stand f08 -warn -diag-disable=5268 -module $(BUILDDIR)
47-
CXX = g++
47+
CXX = icc
4848
CXXFLAGS ?= -fast -xHost
4949
CXXFLAGS += -std=c++11
5050
SUPPRESSIONS =
@@ -54,7 +54,7 @@ else ifeq ($(PLATFORM), nag)
5454
SOFLAGS = -PIC
5555
SOLDFLAGS = -Wl,-shared -Wl,-soname=libftl.so.1
5656
CXX = g++
57-
CXXFLAGS ?= -fast -xHost
57+
CXXFLAGS ?= -Ofast -march=native
5858
CXXFLAGS += -std=c++11
5959
SUPPRESSIONS =
6060
else

0 commit comments

Comments
 (0)