mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: adjust intel compiler and mpi settings (#2056)
- largely as per patch from Jong-Gwan (Jason) Do
NB: the intel-one setup adds in paths for intelmpi.
Its mpicc version does not harmonize with the OpenFOAM
system openmpi setup (using mpicc --showme:link).
Needs adjustment, or use intelmpi instead.
- update name mappings for newer gcc, clang versions
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
#------------------------------------------------------------------------------
|
||||
include $(GENERAL_RULES)/Icc/c
|
||||
|
||||
cARCH =
|
||||
@ -11,4 +12,5 @@ ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
||||
|
||||
include $(GENERAL_RULES)/Icc/link-c
|
||||
|
||||
LINK_LIBS += -L$(IA32ROOT)/lib
|
||||
#legacy: LINK_LIBS += -L$(IA32ROOT)/lib
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#------------------------------------------------------------------------------
|
||||
include $(GENERAL_RULES)/Icc/c++
|
||||
|
||||
c++ARCH = -pthread -fp-trap=common -fp-model precise
|
||||
@ -13,4 +14,5 @@ cpptoo = $(Ctoo)
|
||||
|
||||
include $(GENERAL_RULES)/Icc/link-c++
|
||||
|
||||
LINK_LIBS += -L$(IA64ROOT)/lib
|
||||
#legacy: LINK_LIBS += -L$(IA64ROOT)/lib
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
c++DBUG = -pg
|
||||
c++DBUG = -p
|
||||
c++OPT = -O2
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
cDBUG = -pg
|
||||
cDBUG = -p
|
||||
cOPT = -O2
|
||||
|
||||
Reference in New Issue
Block a user