mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
COMP: simplify openmp handling (#2617)
- remove old, unneeded -DUSE_OMP define. - wmake -no-openmp option to add '~openmp' to WM_COMPILE_CONTROL ENH: add bash completion handling for wmake
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
# Flags for compiling/linking openmp
|
||||
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
|
||||
# -
|
||||
# Clang provides 'omp' and a link for 'gomp'.
|
||||
# With 'gomp' we can also use system libs.
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -fopenmp
|
||||
COMP_OPENMP = -fopenmp
|
||||
LINK_OPENMP = -lgomp
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
# Flags for compiling/linking openmp
|
||||
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -fopenmp
|
||||
COMP_OPENMP = -fopenmp
|
||||
LINK_OPENMP = -lomp
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
# Flags for compiling/linking openmp
|
||||
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -fopenmp
|
||||
COMP_OPENMP = -fopenmp
|
||||
LINK_OPENMP = -lgomp
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
# Flags for compiling/linking openmp
|
||||
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -qopenmp
|
||||
COMP_OPENMP = -qopenmp
|
||||
LINK_OPENMP = -qopenmp
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
# Flags for compiling/linking openmp
|
||||
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -fiopenmp
|
||||
COMP_OPENMP = -fiopenmp
|
||||
LINK_OPENMP = -fiopenmp
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
# Flags for compiling/linking openmp
|
||||
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -fopenmp
|
||||
COMP_OPENMP = -fopenmp
|
||||
LINK_OPENMP = -lnvomp
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -5,7 +5,7 @@ include $(GENERAL_RULES)/standard
|
||||
|
||||
# Darwin-specific
|
||||
# ----
|
||||
COMP_OPENMP = -DUSE_OMP -Xpreprocessor -fopenmp
|
||||
COMP_OPENMP = -Xpreprocessor -fopenmp
|
||||
LINK_OPENMP = -lomp
|
||||
# ----
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ include $(GENERAL_RULES)/standard
|
||||
|
||||
# Fujitsu-specific
|
||||
# ----
|
||||
COMP_OPENMP = -DUSE_OMP -fopenmp
|
||||
COMP_OPENMP = -fopenmp
|
||||
LINK_OPENMP = -lfjomp
|
||||
# ----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user