Commit d5239641 authored by dingwell's avatar dingwell
Browse files

Updated MPI compiler options

parent 5124093c
......@@ -54,7 +54,7 @@ endif
ifeq ($(COMPILER), pgi)
FCSER = pgf90
FCOMP = pgf90 -mp
FCMPI = pgf90 -mp
FCMPI = mpif90 -mp
# NETCDF = /apps/netcdf/4.1.3-pgi
FFLAGS = -I${NETCDF}/include $(PGI_FFLAGS) $(FPP_FLAGS)
......@@ -67,7 +67,7 @@ endif
ifeq ($(COMPILER), gnu)
FCSER = gfortran
FCOMP = gfortran -fopenmp -lgomp
FCMPI = gfortran -fopenmp -lgomp
FCMPI = mpif90 -fopenmp -lgomp
# NETCDF = /apps/netcdf/4.1.3-pgi
FFLAGS = -I${NETCDF}/include $(GNU_FFLAGS) $(FPP_FLAGS)
......@@ -80,7 +80,7 @@ endif
ifeq ($(COMPILER), intel)
FCSER = ifort
FCOMP = ifort -openmp
FCMPI = ifort -openmp
FCMPI = mpifort -openmp
# NETCDF = /apps/netcdf/4.1.3-intel
FFLAGS = -I${NETCDF}/include $(INTEL_FFLAGS) $(FPP_FLAGS)
......@@ -96,7 +96,7 @@ endif
# NETCDF_OBJ = write_ncheader_v3.o write_ncinfo_v3.o \
#endif
# New method to distinguish between netcdf3 and netcdf4 uses the pre-processors
# bundled with the supported compilers:
# bundled with the supported compilers.
ifeq ($(MAKECMDGOALS),serial)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment