Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Commit

Permalink
Add flags for building with/without OPENMP for sp to all macros files
Browse files Browse the repository at this point in the history
  • Loading branch information
mkavulich committed Oct 15, 2019
1 parent d506d66 commit 62d0ab2
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 11 deletions.
4 changes: 3 additions & 1 deletion macros.make.cheyenne.intel
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = icc

ifeq ($(OPENMP),1)
OMPFLAGS= -qopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.cheyenne.pgi
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = pgcc

ifeq ($(OPENMP),1)
OMPFLAGS= -mp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -traceback -Mfree -byteswapio -c -fPIC
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -traceback -O3 -Mrecursive -i4 -r8 -byteswapio -Kieee -Mpreprocess -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -traceback -O3 -Mrecursive -i4 -r8 -byteswapio -Kieee -Mpreprocess -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.gaea.intel
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = icc

ifeq ($(OPENMP),1)
OMPFLAGS= -qopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.hera.intel
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = icc

ifeq ($(OPENMP),1)
OMPFLAGS= -qopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.jet.intel
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = icc

ifeq ($(OPENMP),1)
OMPFLAGS= -qopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.linux.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ ARFLAGS =

ifeq ($(OPENMP),1)
OMPFLAGS= -fopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -42,7 +44,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -fbacktrace -ffree-form -fconvert=big-endian
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault-real-8 -fconvert=big-endian -cpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault-real-8 -fconvert=big-endian -cpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.linux.intel
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = icc

ifeq ($(OPENMP),1)
OMPFLAGS= -qopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.macosx.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ ARFLAGS =

ifeq ($(OPENMP),1)
OMPFLAGS= -fopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -fbacktrace -ffree-form -fconvert=big-endian
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault-real-8 -fconvert=big-endian -cpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault-real-8 -fconvert=big-endian -cpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.theia.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = gcc

ifeq ($(OPENMP),1)
OMPFLAGS= -fopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -fbacktrace -ffree-form -fconvert=big-endian
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault-real-8 -fconvert=big-endian -cpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault-real-8 -fconvert=big-endian -cpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.theia.intel
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = icc

ifeq ($(OPENMP),1)
OMPFLAGS= -qopenmp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -xHOST -traceback -free -convert big_endian -
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -O3 -auto -i4 -r8 -convert big_endian -assume byterecl -fp-model strict -fpp -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down
4 changes: 3 additions & 1 deletion macros.make.theia.pgi
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ CC = pgcc

ifeq ($(OPENMP),1)
OMPFLAGS= -mp
OMPCPPFLAGS= -DOPENMP
else
OMPFLAGS=
OMPCPPFLAGS=
endif

# Number of parallel tasks for gmake
Expand Down Expand Up @@ -50,7 +52,7 @@ SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -traceback -Mfree -byteswapio -c -fPIC
SIGIO_ARFLAGS = crvs

# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -traceback -O3 -Mrecursive -i4 -r8 -byteswapio -Kieee -Mpreprocess -DLINUX -fPIC
SP_FFLAGS = $(OMPFLAGS) -traceback -O3 -Mrecursive -i4 -r8 -byteswapio -Kieee -Mpreprocess -DLINUX -fPIC $(OMPCPPFLAGS)
SP_ARFLAGS = -ruv

# Flags for w3emc library
Expand Down

0 comments on commit 62d0ab2

Please sign in to comment.