-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* izumi initial port * update izumi port and add nothread_suite * update kind conversions in ice_dyn_evp_1d.F90
- Loading branch information
Showing
26 changed files
with
486 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#============================================================================== | ||
# Makefile macros for NCAR izumi, gnu compiler | ||
#============================================================================== | ||
|
||
CPP := /usr/bin/cpp | ||
CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 | ||
|
||
FIXEDFLAGS := -ffixed-line-length-132 | ||
FREEFLAGS := -ffree-form | ||
FFLAGS := -fconvert=big-endian -fbacktrace -ffree-line-length-none | ||
FFLAGS_NOOPT:= -O0 | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -fcheck=bounds -finit-real=nan -fimplicit-none -ffpe-trap=invalid,zero,overflow | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
SCC := gcc | ||
SFC := gfortran | ||
MPICC := mpicc | ||
MPIFC := mpif90 | ||
|
||
ifeq ($(ICE_COMMDIR), mpi) | ||
FC := $(MPIFC) | ||
CC := $(MPICC) | ||
else | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
endif | ||
LD:= $(FC) | ||
|
||
INCLDIR := -I$(NETCDF_PATH)/include | ||
|
||
LIB_NETCDF := $(NETCDF_PATH)/lib | ||
|
||
SLIBS := -L$(LIB_NETCDF) -lnetcdf -lnetcdff | ||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -fopenmp | ||
CFLAGS += -fopenmp | ||
FFLAGS += -fopenmp | ||
endif | ||
|
||
## if using parallel I/O, load all 3 libraries. PIO must be first! | ||
ifeq ($(IO_TYPE), pio) | ||
PIO_PATH:= | ||
INCLDIR += -I | ||
SLIBS := $(SLIB) -L$(PIO_PATH) -lpiofS | ||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#============================================================================== | ||
# Makefile macros for NCAR izumi, intel compiler | ||
#============================================================================== | ||
|
||
CPP := /usr/bin/cpp | ||
CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 -qno-opt-dynamic-align -fp-model precise | ||
|
||
FIXEDFLAGS := -fixed -132 | ||
FREEFLAGS := -free | ||
FFLAGS := -qno-opt-dynamic-align -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source | ||
FFLAGS_NOOPT:= -O0 | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -check uninit -check bounds -check pointers -fpe0 -check noarg_temp_created | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
SCC := icc | ||
SFC := ifort | ||
MPICC := mpicc | ||
MPIFC := mpif90 | ||
|
||
ifeq ($(ICE_COMMDIR), mpi) | ||
FC := $(MPIFC) | ||
CC := $(MPICC) | ||
else | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
endif | ||
LD:= $(FC) | ||
|
||
INCLDIR := -I$(NETCDF_PATH)/include | ||
|
||
LIB_NETCDF := $(NETCDF_PATH)/lib | ||
|
||
SLIBS := -L$(LIB_NETCDF) -lnetcdf -lnetcdff -mkl | ||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -qopenmp | ||
CFLAGS += -qopenmp | ||
FFLAGS += -qopenmp | ||
endif | ||
|
||
## if using parallel I/O, load all 3 libraries. PIO must be first! | ||
ifeq ($(IO_TYPE), pio) | ||
PIO_PATH:= | ||
INCLDIR += -I | ||
SLIBS := $(SLIB) -L$(PIO_PATH) -lpiofS | ||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#============================================================================== | ||
# Makefile macros for NCAR izumi, NAG compiler | ||
#============================================================================== | ||
|
||
CPP := /usr/bin/cpp | ||
CPPDEFS := -DFORTRANUNDERSCORE -DNO_R16 $(ICE_CPPDEFS) | ||
CFLAGS := -c | ||
|
||
FIXEDFLAGS := -fixed | ||
FREEFLAGS := -free | ||
FFLAGS := -Wp,-macro=no_com -convert=BIG_ENDIAN -wmismatch=mpi_bcast,mpi_isend,mpi_irecv,mpi_send,mpi_recv,mpi_allreduce | ||
FFLAGS_NOOPT:= -O0 | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -C=all -g -time -f2003 -ieee=stop | ||
else | ||
FFLAGS += -O2 -ieee=full | ||
endif | ||
|
||
SCC := cc | ||
SFC := nagfor | ||
MPICC := mpicc | ||
MPIFC := mpif90 | ||
|
||
ifeq ($(ICE_COMMDIR), mpi) | ||
FC := $(MPIFC) | ||
CC := $(MPICC) | ||
else | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
endif | ||
LD:= $(FC) | ||
|
||
INCLDIR := -I$(NETCDF_PATH)/include | ||
|
||
LIB_NETCDF := $(NETCDF_PATH)/lib | ||
|
||
SLIBS := -L$(LIB_NETCDF) -lnetcdf -lnetcdff | ||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -openmp | ||
CFLAGS += -fopenmp | ||
FFLAGS += -openmp | ||
else | ||
FFLAGS += -gline | ||
endif | ||
|
||
## if using parallel I/O, load all 3 libraries. PIO must be first! | ||
ifeq ($(IO_TYPE), pio) | ||
PIO_PATH:= | ||
INCLDIR += -I | ||
SLIBS := $(SLIB) -L$(PIO_PATH) -lpiof | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#============================================================================== | ||
# Makefile macros for NCAR izumi, pgi compiler | ||
#============================================================================== | ||
|
||
CPP := pgcc -E | ||
CPPDEFS := -DFORTRANUNDERSCORE -DNO_R16 ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 -Kieee | ||
|
||
FIXEDFLAGS := -Mextend | ||
FREEFLAGS := -Mfree | ||
FFLAGS := -Kieee -Mbyteswapio -traceback | ||
FFLAGS_NOOPT:= -O0 | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -Mbounds -Mchkptr | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
SCC := pgcc | ||
SFC := pgf90 | ||
MPICC := mpicc | ||
MPIFC := mpif90 | ||
|
||
ifeq ($(ICE_COMMDIR), mpi) | ||
FC := $(MPIFC) | ||
CC := $(MPICC) | ||
else | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
endif | ||
LD:= $(FC) | ||
|
||
INCLDIR := -I$(NETCDF_PATH)/include | ||
|
||
LIB_NETCDF := $(NETCDF_PATH)/lib | ||
|
||
SLIBS := -L$(LIB_NETCDF) -lnetcdf -lnetcdff | ||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -mp | ||
CFLAGS += -mp | ||
FFLAGS += -mp | ||
endif | ||
|
||
## if using parallel I/O, load all 3 libraries. PIO must be first! | ||
ifeq ($(IO_TYPE), pio) | ||
PIO_PATH:= | ||
INCLDIR += -I | ||
SLIBS := $(SLIB) -L$(PIO_PATH) -lpiofS | ||
endif | ||
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.