-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from eclare108213/bugfix_warnings_charlen
Updating machine wolf and adding pinto
- Loading branch information
Showing
4 changed files
with
124 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#============================================================================== | ||
# Macros file for CICE on LANL pinto, intel compiler | ||
#============================================================================== | ||
|
||
CPP := fpp | ||
CPPDEFS := -DFORTRANUNDERSCORE -DNO_R16 -DHAVE_F2008_CONTIGUOUS -DLINUX -DCPRINTEL ${CICE_CPPDEFS} | ||
CFLAGS := -c -O2 -fp-model precise -xHost | ||
|
||
FIXEDFLAGS := -132 | ||
FREEFLAGS := -FR | ||
FFLAGS := -fp-model precise -convert big_endian -assume byterecl -ftz -traceback -xHost | ||
FFLAGS_NOOPT:= -O0 | ||
|
||
ifeq ($(CICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -check uninit -check bounds -check pointers -fpe0 -check noarg_temp_created | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
ifeq ($(CICE_COMMDIR), mpi) | ||
FC := mpif90 | ||
else | ||
FC := ifort | ||
endif | ||
|
||
MPICC:= mpicc | ||
|
||
MPIFC:= mpif90 | ||
LD:= $(MPIFC) | ||
|
||
# set in Macros file | ||
NETCDF_PATH := /usr/projects/climate/SHARED_CLIMATE/software/conejo/netcdf/3.6.3/intel-13.0.1 | ||
PNETCDF_PATH := /usr/projects/climate/SHARED_CLIMATE/software/conejo/parallel-netcdf/1.3.1/intel-13.0.1/openmpi-1.6.3 | ||
#LAPACK_LIBDIR := /glade/apps/opt/lapack/3.4.2/intel/12.1.5/lib | ||
|
||
PIO_CONFIG_OPTS:= --enable-filesystem-hints=gpfs | ||
|
||
INCLDIR := $(INCLDIR) -I$(NETCDF_PATH)/include | ||
#INCLDIR := $(INCLDIR) -I/usr/projects/climate/SHARED_CLIMATE/software/conejo/netcdf/3.6.3/intel-13.0.1/include | ||
|
||
LIB_NETCDF := $(NETCDF_PATH)/lib | ||
LIB_PNETCDF := $(PNETCDF_PATH)/lib | ||
LIB_MPI := $(IMPILIBDIR) | ||
|
||
#SLIBS := -L$(LIB_NETCDF) -lnetcdf -L$(LIB_PNETCDF) -lpnetcdf -L$(LAPACK_LIBDIR) -llapack -lblas | ||
SLIBS := -L$(LIB_NETCDF) -lnetcdf -L$(LIB_PNETCDF) -lpnetcdf | ||
|
||
SCC:= icc | ||
|
||
SFC:= ifort | ||
|
||
ifeq ($(CICE_THREADED), true) | ||
LDFLAGS += -qopenmp | ||
CFLAGS += -qopenmp | ||
FFLAGS += -qopenmp | ||
endif | ||
|
||
### if using parallel I/O, load all 3 libraries. PIO must be first! | ||
ifeq ($(CICE_IOTYPE), pio) | ||
PIO_PATH:=/usr/projects/climate/SHARED_CLIMATE/software/conejo/pio/1.7.2/intel-13.0.1/openmpi-1.6.3/netcdf-3.6.3-parallel-netcdf-1.3.1/include | ||
INCLDIR += -I$(PIO_PATH) | ||
SLIBS := $(SLIBS) -L$(PIO_PATH) -lpio | ||
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,31 @@ | ||
#!/bin/tcsh -f | ||
|
||
source /usr/share/Modules/init/csh | ||
|
||
#module purge | ||
#module load intel | ||
#module load openmpi | ||
|
||
setenv NETCDF_PATH /usr/projects/climate/SHARED_CLIMATE/software/conejo/netcdf/3.6.3/intel-13.0.1 | ||
setenv PNETCDF_PATH /usr/projects/climate/SHARED_CLIMATE/software/conejo/parallel-netcdf/1.3.1/intel-13.0.1/openmpi-1.6.3 | ||
#setenv LAPACK_LIBDIR /glade/apps/opt/lapack/3.4.2/intel/12.1.5/lib | ||
|
||
#setenv OMP_STACKSIZE 256M | ||
#setenv MP_LABELIO yes | ||
#setenv MP_INFOLEVEL 2 | ||
#setenv MP_SHARED_MEMORY yes | ||
#setenv MP_EUILIB us | ||
#setenv MP_EAGER_LIMIT 0 | ||
|
||
setenv CICE_MACHINE_ENVNAME pinto | ||
setenv CICE_MACHINE_WKDIR /net/scratch3/$user/CICE_RUNS | ||
setenv CICE_MACHINE_INPUTDATA /usr/projects/climate/eclare/DATA/atm/gx3v2m/NCAR_bulk/ | ||
setenv CICE_MACHINE_SUBMIT "sbatch " | ||
setenv CICE_MACHINE_ACCT climateacme | ||
setenv CICE_MACHINE_TPNODE 16 | ||
setenv CICE_MACHINE_BLDTHRDS 1 | ||
|
||
if (-e ~/.cice_proj) then | ||
set account_name = `head -1 ~/.cice_proj` | ||
setenv CICE_MACHINE_ACCT ${account_name} | ||
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