ioapi
- build script reviewed, support for PGI compiler added - vrariant for PFI compiler added
This commit is contained in:
52
HDF5/ioapi/files/Makeinclude.Linux2_x86pg_pgcc_mpi_nomp
Normal file
52
HDF5/ioapi/files/Makeinclude.Linux2_x86pg_pgcc_mpi_nomp
Normal file
@@ -0,0 +1,52 @@
|
||||
# VERSION "$Id: Makeinclude.Linux2_x86pg_pgcc_nomp 1 2017-06-10 18:05:20Z coats $"
|
||||
#
|
||||
# In some ways, this is the most problematical install, because of
|
||||
# the way various compilers create linker-visible object names for
|
||||
# the code they compile. The default flags assume that you are using
|
||||
# the Gnu "gcc" (and maybe "g77") to compile other libraries such as
|
||||
# "libnetcdf.a" and "libpvm3.a" -- note that vendor-distributed
|
||||
# libraries that may come with your Linux system are built this way...
|
||||
# Alternatively, you may use "pgf90" and "pgcc" to build the entire
|
||||
# system (where you use "-DpgiFortran=1" in your netCDF build), and
|
||||
# then may use the alternate set of ARCHFLAGS.
|
||||
#
|
||||
# The important thing is that _all_ the compilations for building an
|
||||
# executable must use consistent linker-visible object names. Any
|
||||
# "could not find" error messages when linking a program probably
|
||||
# come from this kind of problem; the fix is to rebuild everything
|
||||
# with a consistent set of compiler-flags. You may use the script
|
||||
# "nm_test.csh" and/or "make nametest" to help with this determination.
|
||||
#
|
||||
# Note all the variant files "Makeinclude.Linux2_x86pg*": copy the
|
||||
# appropriate one to "Makeinclude.Linux2_x86pg"; further ensure that
|
||||
# the compilation-flags for your model-code match the flags therein.
|
||||
|
||||
|
||||
AR = ar
|
||||
CC = mpicc
|
||||
CXX = mpic++
|
||||
FC = mpif90
|
||||
M4 = m4
|
||||
CPP = cpp
|
||||
LINK = $(CC)
|
||||
|
||||
## Module-include-directory command
|
||||
MODI = -module ## module-include directive
|
||||
E132 = -Mextend
|
||||
|
||||
MFLAGS = -fast -Mnosecond_underscore # -Mnoupcase
|
||||
|
||||
OMPFLAGS = # -mp
|
||||
OMPLIBS = # -lmp
|
||||
COPTFLAGS = -O2
|
||||
FOPTFLAGS = -O2
|
||||
FPPFLAGS = -DF90=1
|
||||
FSFLAGS = -Msave
|
||||
ARCHFLAGS = -DFLDMN=1 -DAUTO_ARRAYS=1 -DF90=1
|
||||
PARFLAGS =
|
||||
LIBDIR = $(SRCDIR)/../lib
|
||||
BINDIR = $(SRCDIR)/../bin
|
||||
ARCHLIB =
|
||||
|
||||
PVMLIBS = -L$(PVM_ROOT)/lib/$(PVM_ARCH) -lpvm3
|
||||
M4DEFFILE = $(PVM_ROOT)/conf/$(PVM_ARCH).m4
|
||||
52
HDF5/ioapi/files/Makeinclude.Linux2_x86pg_pgcc_nomp
Normal file
52
HDF5/ioapi/files/Makeinclude.Linux2_x86pg_pgcc_nomp
Normal file
@@ -0,0 +1,52 @@
|
||||
# VERSION "$Id: Makeinclude.Linux2_x86pg_pgcc_nomp 1 2017-06-10 18:05:20Z coats $"
|
||||
#
|
||||
# In some ways, this is the most problematical install, because of
|
||||
# the way various compilers create linker-visible object names for
|
||||
# the code they compile. The default flags assume that you are using
|
||||
# the Gnu "gcc" (and maybe "g77") to compile other libraries such as
|
||||
# "libnetcdf.a" and "libpvm3.a" -- note that vendor-distributed
|
||||
# libraries that may come with your Linux system are built this way...
|
||||
# Alternatively, you may use "pgf90" and "pgcc" to build the entire
|
||||
# system (where you use "-DpgiFortran=1" in your netCDF build), and
|
||||
# then may use the alternate set of ARCHFLAGS.
|
||||
#
|
||||
# The important thing is that _all_ the compilations for building an
|
||||
# executable must use consistent linker-visible object names. Any
|
||||
# "could not find" error messages when linking a program probably
|
||||
# come from this kind of problem; the fix is to rebuild everything
|
||||
# with a consistent set of compiler-flags. You may use the script
|
||||
# "nm_test.csh" and/or "make nametest" to help with this determination.
|
||||
#
|
||||
# Note all the variant files "Makeinclude.Linux2_x86pg*": copy the
|
||||
# appropriate one to "Makeinclude.Linux2_x86pg"; further ensure that
|
||||
# the compilation-flags for your model-code match the flags therein.
|
||||
|
||||
|
||||
AR = ar
|
||||
CC = pgcc
|
||||
CXX = pg++
|
||||
FC = pgf90
|
||||
M4 = m4
|
||||
CPP = cpp
|
||||
LINK = $(CC)
|
||||
|
||||
## Module-include-directory command
|
||||
MODI = -module ## module-include directive
|
||||
E132 = -Mextend
|
||||
|
||||
MFLAGS = -fast -Mnosecond_underscore # -Mnoupcase
|
||||
|
||||
OMPFLAGS = # -mp
|
||||
OMPLIBS = # -lmp
|
||||
COPTFLAGS = -O2
|
||||
FOPTFLAGS = -O2
|
||||
FPPFLAGS = -DF90=1
|
||||
FSFLAGS = -Msave
|
||||
ARCHFLAGS = -DFLDMN=1 -DAUTO_ARRAYS=1 -DF90=1
|
||||
PARFLAGS =
|
||||
LIBDIR = $(SRCDIR)/../lib
|
||||
BINDIR = $(SRCDIR)/../bin
|
||||
ARCHLIB =
|
||||
|
||||
PVMLIBS = -L$(PVM_ROOT)/lib/$(PVM_ARCH) -lpvm3
|
||||
M4DEFFILE = $(PVM_ROOT)/conf/$(PVM_ARCH).m4
|
||||
@@ -1,2 +1,3 @@
|
||||
ioapi/3.2 unstable gcc/7.3.0 openmpi/1.10.7 hdf5/1.10.1 netcdf/4.6.1 parallel-netcdf/1.9.0
|
||||
ioapi/3.2 unstable gcc/7.3.0 openmpi/3.0.1 hdf5/1.10.1 netcdf/4.6.1 parallel-netcdf/1.9.0
|
||||
ioapi/3.2 unstable pgi/18.5 pgi-mpi/18.5 hdf5/1.10.1 netcdf/4.6.1 parallel-netcdf/1.9.0
|
||||
|
||||
Reference in New Issue
Block a user