Skip to content

Commit

Permalink
feature/orion_port This commit references NOAA-EMC#6
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoorthi-emc committed May 29, 2020
1 parent e6e57fa commit 89133ad
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 11 deletions.
8 changes: 4 additions & 4 deletions modulefiles/gdas2gldas.orion
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#%Module#####################################################
## Build module for orion
#############################################################

### Build module for orion
##############################################################
module load intel/2020
module load impi/2020

module use -a /apps/contrib/NCEPLIBS/orion/modulefiles
module use -a $MOD_PATH
module load w3nco/2.1.0
module load nemsio/2.3.0
module load bacio/2.2.0
Expand Down
8 changes: 4 additions & 4 deletions modulefiles/gldas2gdas.orion
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#%Module#####################################################
## Build module for orion
#############################################################

### Build module for orion
##############################################################
module load intel/2020
module load impi/2020

module use -a /apps/contrib/NCEPLIBS/orion/modulefiles
module use -a $MOD_PATH
module load w3nco/2.1.0
module load nemsio/2.3.0
module load bacio/2.2.0
Expand Down
12 changes: 12 additions & 0 deletions modulefiles/gldas_forcing.orion
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#%Module#####################################################
## Build module for orion
#############################################################

module load intel/2020

module use -a $MOD_PATH
module load w3nco/2.1.0
module load bacio/2.2.0

export FC=ifort
export FOPTS="-O0 -FR"
12 changes: 12 additions & 0 deletions modulefiles/gldas_model.orion
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#%Module#####################################################
## Build module for orion
#############################################################

module load intel/2020
module load impi/2020

module use -a $MOD_PATH
module load w3nco/2.1.0
module load bacio/2.2.0
module load sp/2.0.3
module load ip/3.0.2
13 changes: 13 additions & 0 deletions modulefiles/gldas_post.orion
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#%Module#####################################################
## Build module for orion
#############################################################

module load intel/2020

module use -a $MOD_PATH
module load w3nco/2.1.0
module load bacio/2.2.0
module load nemsio/2.3.0

export FC=ifort
export FOPTS='-O -FR -I$(NEMSIO_INC) -convert big_endian'
13 changes: 13 additions & 0 deletions modulefiles/gldas_rst.orion
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#%Module#####################################################
## Build module for orion
#############################################################

module load intel/2020

module use -a $MOD_PATH
module load w3nco/2.1.0
module load bacio/2.2.0
module load nemsio/2.3.0

export FC=ifort
export FOPTS='-O -FR -I$(NEMSIO_INC) -convert big_endian'
12 changes: 9 additions & 3 deletions sorc/machine-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ elif [[ -d /scratch1 ]] ; then
target=hera
module purge
MOD_PATH=/scratch2/NCEPDEV/nwprod/NCEPLIBS/modulefiles
elif [[ -d /work ]] ; then
# We are on Orion
if ( ! eval module help > /dev/null 2>&1 ) ; then
echo load the module command 1>&2
source /apps/lmod/lmod/init/$__ms_shell
fi
target=orion
module purge
MOD_PATH=/apps/contrib/NCEPLIBS/orion/modulefiles
elif [[ -d /gpfs/hps && -e /etc/SuSE-release ]] ; then
# We are on NOAA Luna or Surge
if ( ! eval module help > /dev/null 2>&1 ) ; then
Expand Down Expand Up @@ -109,9 +118,6 @@ elif [[ -d /lustre && -d /ncrc ]] ; then
fi
target=gaea
module purge
elif [[ "$(hostname)" =~ "Orion" ]]; then
target="orion"
module purge
else
echo WARNING: UNKNOWN PLATFORM 1>&2
fi
Expand Down

0 comments on commit 89133ad

Please sign in to comment.