Skip to content

Commit

Permalink
Merge pull request #2 from LarissaReames-NOAA/feature/chgres_cube_gri…
Browse files Browse the repository at this point in the history
…b2_atmos

Merge feature/chgres cube grib2 atmos from Larissa's fork to my fork.
  • Loading branch information
GeorgeGayno-NOAA authored Nov 1, 2019
2 parents 591ef88 + 91fb62e commit 70a44e7
Show file tree
Hide file tree
Showing 72 changed files with 4,072 additions and 961 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#SBATCH -t 00:30:00

#-----------------------------------------------------------------------
# Driver script to create a cubic-sphere based model grid on Theia.
# Driver script to create a cubic-sphere based model grid on Hera.
#
# Produces the following files (netcdf, each tile in separate file):
# 1) 'mosaic' and 'grid' files containing lat/lon and other
Expand Down Expand Up @@ -53,10 +53,10 @@ set -x

. /apps/lmod/lmod/init/sh
module purge
module load intel/16.1.150
module load impi
module load hdf5/1.8.14
module load netcdf/4.3.0
module load intel/18.0.5.274
module load impi/2018.0.4
module load hdf5/1.10.5
module load netcdf/4.7.0
module list

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -90,8 +90,8 @@ fi
#-----------------------------------------------------------------------

export home_dir=$SLURM_SUBMIT_DIR/..
export TMPDIR=/scratch3/NCEPDEV/stmp1/$LOGNAME/fv3_grid.$gtype
export out_dir=/scratch3/NCEPDEV/stmp1/$LOGNAME/C${res}
export TMPDIR=/scratch2/NCEPDEV/stmp1/$LOGNAME/fv3_grid.$gtype
export out_dir=/scratch2/NCEPDEV/stmp1/$LOGNAME/C${res}

#-----------------------------------------------------------------------
# Should not need to change anything below here.
Expand All @@ -101,7 +101,7 @@ export APRUN=time
export APRUN_SFC=srun
export OMP_NUM_THREADS=24
export OMP_STACKSIZE=2048m
export machine=THEIA
export machine=HERA

ulimit -a
ulimit -s unlimited
Expand Down
33 changes: 16 additions & 17 deletions modulefiles/chgres_cube.theia → modulefiles/chgres_cube.hera
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
#%Module#####################################################
## chgres build module for Theia
## Build module for Hera
#############################################################

module load intel/18.1.163
module load impi/5.1.1.109
module load netcdf/4.3.0
module load intel/18.0.5.274
module load impi/2018.0.4

module use /scratch4/NCEPDEV/nems/noscrub/emc.nemspara/soft/modulefiles
module load esmf/8.0.0bs20
module use -a $MOD_PATH
module load w3nco/2.0.6
module load nemsio/2.2.3
module load bacio/2.0.2
module load sp/2.0.2
module load sfcio/1.1.0
module load sigio/2.1.0

module use -a /scratch3/NCEPDEV/nwprod/lib/modulefiles
module load w3nco/v2.0.6
module load wgrib2/2.0.8
module load nemsio/v2.2.3
module load bacio/v2.0.2
module load sp/v2.0.2
module load sfcio/v1.0.0
module load sigio/v2.0.1
export NCEPLIBS=/scratch1/NCEPDEV/global/gwv/l819/lib
module use -a $NCEPLIBS/modulefiles
module load esmflocal/8_0_48b.netcdf47

export FCOMP=mpiifort
export FFLAGS="-O3 -fp-model precise -g -traceback -r8 -i4 -qopenmp -convert big_endian -assume byterecl"
module load wgrib2/2.0.8
export WGRIB2API_LIB="/apps/wgrib2/2.0.8/intel/18.0.3.222/lib/libwgrib2_api.a"
export WGRIB2API_INC="/apps/wgrib2/2.0.8/intel/18.0.3.222/lib"
export WGRIB2_LIB="/apps/wgrib2/2.0.8/intel/18.0.3.222/lib/libwgrib2.a"


export FCOMP=mpiifort
export FFLAGS="-O3 -fp-model precise -g -traceback -r8 -i4 -qopenmp -convert big_endian -assume byterecl"
# for debugging
#export FFLAGS="-O0 -g -traceback -r8 -i4 -qopenmp -convert big_endian -check bounds -warn unused -assume byterecl"
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#%Module#####################################################
## Module file for fre-nctools
#############################################################
module load intel/14.0.2
module load impi/4.1.3.048
module load netcdf/4.3.0
module load hdf5/1.8.14

module load intel/18.0.5.274
module load impi/2018.0.4

module load netcdf/4.7.0
module load hdf5/1.10.5
29 changes: 29 additions & 0 deletions modulefiles/fv3gfs/global_chgres.hera
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#%Module#####################################################
## global_chgres component - hera
#############################################################

# Loading Intel Compiler Suite
module load intel/18.0.5.274
module load impi/2018.0.4

module load netcdf/4.7.0
module load hdf5/1.10.5

# Loding nceplibs modules
module use -a $MOD_PATH
module load sigio/2.1.0
module load w3nco/2.0.6
module load w3emc/2.3.0
module load sp/2.0.2
module load bacio/2.0.2
module load nemsio/2.2.3
module load nemsiogfs/2.2.0
module load ip/3.0.1
module load sfcio/1.1.0
module load gfsio/1.1.0
module load landsfcutil/2.1.0

export NETCDF_INCLUDE="-I${NETCDF}/include"
export NETCDF_LDFLAGS_F="-L${NETCDF}/lib -lnetcdf -lnetcdff -L${HDF5}/lib -lhdf5 -lhdf5_fortran"

set FCMP ifort
31 changes: 0 additions & 31 deletions modulefiles/fv3gfs/global_chgres.theia

This file was deleted.

2 changes: 1 addition & 1 deletion modulefiles/fv3gfs/global_chgres.wcoss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#############################################################

# Loading Intel Compiler Suite
module load ics/14.0.1
module load ics/15.0.6

# Loading nceplibs modules
module load sigio/v2.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
#%Module#####################################################
## global_cycle component - theia
## global_cycle component - hera
#############################################################

# Loading Intel Compiler Suite
module load intel/16.1.150
module load impi
module load intel/18.0.5.274
module load impi/2018.0.4

# Loding nceplibs modules
module use -a /scratch3/NCEPDEV/nwprod/lib/modulefiles
module load w3nco/v2.0.6
module load sp/v2.0.2
module load bacio/v2.0.1
module load ip/v3.0.0
module load netcdf/4.3.0
module load hdf5/1.8.14
module load netcdf/4.7.0
module load hdf5/1.10.5
export NETCDF_INCLUDE="-I${NETCDF}/include"
export NETCDF_LDFLAGS_F="-L${NETCDF}/lib -lnetcdf -lnetcdff -L${HDF5}/lib -lhdf5 -lhdf5_fortran"

# Loding nceplibs modules
module use -a $MOD_PATH
module load w3nco/2.0.6
module load sp/2.0.2
module load bacio/2.0.2
module load ip/3.0.1

export FCMP=mpiifort
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#%Module#####################################################
## gaussian_sfcanl build module for Theia
## Build module for Hera
#############################################################

# Loading Intel Compiler Suite
module load intel/15.1.133
module load intel/18.0.5.274

# Loding nceplibs modules
module use -a /scratch3/NCEPDEV/nwprod/lib/modulefiles
module load w3nco/v2.0.6
module load bacio/v2.0.2
module load nemsio/v2.2.3
module load netcdf/4.3.0
module load hdf5/1.8.14
module use -a $MOD_PATH
module load w3nco/2.0.6
module load bacio/2.0.2
module load nemsio/2.2.3
module load netcdf/4.6.1
module load hdf5/1.10.4
export NETCDF_INCLUDE="-I${NETCDF}/include"
export NETCDF_LDFLAGS_F="-L${NETCDF}/lib -lnetcdf -lnetcdff -L${HDF5}/lib -lhdf5 -lhdf5_fortran"

Expand Down
15 changes: 7 additions & 8 deletions modulefiles/fv3gfs/orog.theia → modulefiles/fv3gfs/orog.hera
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
## Module file for orog
#############################################################
# Loading Intel Compiler Suite
module unload intel
module load intel/16.1.150
module load intel/18.0.5.274

module load netcdf/4.3.0
module load netcdf/4.7.0

# Loding nceplibs modules
module use -a $MOD_PATH
module load ip/v2.0.0
module load sp/v2.0.2
module load w3emc/v2.2.0
module load w3nco/v2.0.6
module load bacio/v2.0.2
module load ip/3.0.1
module load sp/2.0.2
module load w3emc/2.3.0
module load w3nco/2.0.6
module load bacio/2.0.2
89 changes: 0 additions & 89 deletions modulefiles/module-setup.csh.inc

This file was deleted.

4 changes: 2 additions & 2 deletions modulefiles/module-setup.sh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ if [[ -d /lfs3 ]] ; then
source /apps/lmod/lmod/init/$__ms_shell
fi
module purge
elif [[ -d /scratch3 ]] ; then
# We are on NOAA Theia
elif [[ -d /scratch1 ]] ; then
# We are on NOAA Hera
if ( ! eval module help > /dev/null 2>&1 ) ; then
source /apps/lmod/lmod/init/$__ms_shell
fi
Expand Down
11 changes: 11 additions & 0 deletions modulefiles/module_base.hera
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#%Module######################################################################
##
## FV3GFS prerequisites
##

module load intel/18.0.5.274
module load impi/2018.0.4
module load hpss/hpss
module load netcdf/4.7.0
module load nco/4.7.0
module load hdf5/1.10.5
19 changes: 0 additions & 19 deletions modulefiles/module_base.theia

This file was deleted.

Loading

0 comments on commit 70a44e7

Please sign in to comment.