This repository was archived by the owner on Apr 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 14 files changed +43
-14
lines changed
Expand file tree Collapse file tree 14 files changed +43
-14
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ CC = gcc
1010
1111ifeq ($(OPENMP),1 )
1212 OMPFLAGS = -fopenmp
13+ OMPCPPFLAGS = -DOPENMP
1314else
1415 OMPFLAGS =
16+ OMPCPPFLAGS =
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -fbacktrace -ffree-form -fconvert=big-endian
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault -real -8 -fconvert =big-endian -cpp -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault -real -8 -fconvert =big-endian -cpp -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ CC = icc
1010
1111ifeq ($(OPENMP),1)
1212 OMPFLAGS= -qopenmp
13+ OMPCPPFLAGS= -DOPENMP
1314else
1415 OMPFLAGS=
16+ OMPCPPFLAGS=
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ CC = pgcc
1010
1111ifeq ($(OPENMP),1)
1212 OMPFLAGS= -mp
13+ OMPCPPFLAGS= -DOPENMP
1314else
1415 OMPFLAGS=
16+ OMPCPPFLAGS=
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -traceback -Mfree -byteswapio -c -fPIC
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -traceback -O3 -Mrecursive -i4 -r8 -byteswapio -Kieee -Mpreprocess -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -traceback -O3 -Mrecursive -i4 -r8 -byteswapio -Kieee -Mpreprocess -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ CC = icc
1010
1111ifeq ($(OPENMP),1)
1212 OMPFLAGS= -qopenmp
13+ OMPCPPFLAGS= -DOPENMP
1314else
1415 OMPFLAGS=
16+ OMPCPPFLAGS=
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ CC = icc
1010
1111ifeq ($(OPENMP),1)
1212 OMPFLAGS= -qopenmp
13+ OMPCPPFLAGS= -DOPENMP
1314else
1415 OMPFLAGS=
16+ OMPCPPFLAGS=
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ CC = icc
1010
1111ifeq ($(OPENMP),1)
1212 OMPFLAGS= -qopenmp
13+ OMPCPPFLAGS= -DOPENMP
1314else
1415 OMPFLAGS=
16+ OMPCPPFLAGS=
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ ARFLAGS =
1010
1111ifeq ($(OPENMP),1 )
1212 OMPFLAGS = -fopenmp
13+ OMPCPPFLAGS = -DOPENMP
1314else
1415 OMPFLAGS =
16+ OMPCPPFLAGS =
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -42,7 +44,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -fbacktrace -ffree-form -fconvert=big-endian
4244SIGIO_ARFLAGS = crvs
4345
4446# Flags for sp library
45- SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault -real -8 -fconvert =big-endian -cpp -DLINUX -fPIC
47+ SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault -real -8 -fconvert =big-endian -cpp -DLINUX -fPIC $(OMPCPPFLAGS)
4648SP_ARFLAGS = -ruv
4749
4850# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ CC = icc
1010
1111ifeq ($(OPENMP),1)
1212 OMPFLAGS= -qopenmp
13+ OMPCPPFLAGS= -DOPENMP
1314else
1415 OMPFLAGS=
16+ OMPCPPFLAGS=
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ ARFLAGS =
1010
1111ifeq ($(OPENMP),1 )
1212 OMPFLAGS = -fopenmp
13+ OMPCPPFLAGS = -DOPENMP
1314else
1415 OMPFLAGS =
16+ OMPCPPFLAGS =
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -fbacktrace -ffree-form -fconvert=big-endian
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault -real -8 -fconvert =big-endian -cpp -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault -real -8 -fconvert =big-endian -cpp -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ CC = gcc
1010
1111ifeq ($(OPENMP),1 )
1212 OMPFLAGS = -fopenmp
13+ OMPCPPFLAGS = -DOPENMP
1314else
1415 OMPFLAGS =
16+ OMPCPPFLAGS =
1517endif
1618
1719# Number of parallel tasks for gmake
@@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -fbacktrace -ffree-form -fconvert=big-endian
5052SIGIO_ARFLAGS = crvs
5153
5254# Flags for sp library
53- SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault -real -8 -fconvert =big-endian -cpp -DLINUX -fPIC
55+ SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault -real -8 -fconvert =big-endian -cpp -DLINUX -fPIC $(OMPCPPFLAGS)
5456SP_ARFLAGS = -ruv
5557
5658# Flags for w3emc library
You can’t perform that action at this time.
0 commit comments