Skip to content

Commit

Permalink
ricarod's mods for using either mpt or intel based on where you build…
Browse files Browse the repository at this point in the history
…. Just capturing this for now
  • Loading branch information
bena-nasa committed Oct 6, 2020
1 parent e2fd694 commit 181a3b9
Showing 1 changed file with 49 additions and 20 deletions.
69 changes: 49 additions & 20 deletions g5_modules
Original file line number Diff line number Diff line change
Expand Up @@ -127,37 +127,65 @@ set usemodules = 0
#========#
if ( $site == NCCS ) then

set mod1 = other/comp/gcc-6.3
set mod2 = comp/intel-18.0.3.222
set node_count = `facter processorcount`
if ( -e /etc/os-release ) then # setting for SLES12
set mod1 = GEOSenv

set mod2 = comp/gcc/6.5.0
set mod3 = comp/intel/18.0.5.274

if ( $node_count == 40 ) then
# setting for skylake
set basedir = /discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-5.1.8-SLES12/x86_64-unknown-linux-gnu/ifort_18.0.5.274-intelmpi_18.0.5.274
set mod4 = mpi/impi/18.0.5.274
else
# setting for haswell
set basedir = /discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-5.1.8-SLES12/x86_64-unknown-linux-gnu/ifort_18.0.5.274-mpt_2.17
set mod4 = mpi/sgi-mpt/2.17
endif

set mod3 = mpi/sgi-mpt-2.17
set mod5 = python/GEOSpyD/Ana2019.03_py2.7
set mod6 = #other/ImageMagick/latest
set mod6 = #other/git
set mod7 = #other/cmake
set momdir = #/home/yvikhlia/nobackup/mom5
set usemod1 = /discover/swdev/gmao_SIteam/modulefiles-SLES12

set mod4 = lib/mkl-18.0.3.222
set mod5 = other/SIVO-PyD/spd_1.25.1_gcc-6.3_mkl-17.0.4.196
else # settings for SLES11

set basedir = /discover/nobackup/projects/gmao/share/gmao_ops/Baselibs/v5.1.7_build1/x86_64-unknown-linux-gnu/ifort_18.0.3.222-mpt_2.17
set mod1 = other/comp/gcc-6.3
set mod2 = comp/intel-18.0.3.222

set mod6 = GEOSenv
set basedir = /discover/swdev/mathomp4/Baselibs/ESMA-Baselibs-5.1.7/x86_64-unknown-linux-gnu/ifort_18.0.3.222-mpt_2.17
set mod3 = mpi/sgi-mpt-2.17

set mods = ( $mod1 $mod2 $mod3 $mod4 $mod5 $mod6 )
set modinit = /usr/share/modules/init/csh
set loadmodules = 0
set mod4 = lib/mkl-18.0.3.222
set mod5 = other/SIVO-PyD/spd_1.25.1_gcc-6.3_mkl-17.0.4.196

set mod6 = other/git
set mod7 = other/cmake

set usemod1 = /discover/swdev/gmao_SIteam/modulefiles-SLES11
set momdir = /home/yvikhlia/nobackup/mom5
set usemod1 = /home/mathomp4/modulefiles
endif

set mods = ( $mod1 $mod2 $mod3 $mod4 $mod5 $mod6 $mod7 )
set modinit = /usr/share/modules/init/csh
set usemods = ( $usemod1 )
set loadmodules = 0
set usemodules = 1

#=======#
# NAS #
#=======#
else if ( $site == NAS ) then

set basedir = /nobackup/gmao_SIteam/Baselibs/ESMA-Baselibs-5.1.7/x86_64-unknown-linux-gnu/ifort_2018.3.222-mpt_2.17r13-gcc_6.3.0
set basedir = /nobackup/gmao_SIteam/Baselibs/ESMA-Baselibs-5.1.8/x86_64-unknown-linux-gnu/ifort_2018.5.274-mpt_2.17r13-gcc_6.3.0

set mod1 = GEOSenv

set mod2 = comp-gcc/6.3.0
set mod3 = comp-intel/2018.3.222
set mod3 = 2018.5.274.modulefile
set mod4 = mpi-hpe/mpt.2.17r13
set mod5 = math-mkl/2018.3.222
set mod6 = python/GEOSpyD/Ana2019.03_py2.7
Expand All @@ -168,14 +196,15 @@ else if ( $site == NAS ) then

set usemod1 = /u/scicon/tools/modulefiles
set usemod2 = /nobackup/gmao_SIteam/modulefiles
set usemods = ( $usemod1 $usemod2 )
set usemod3 = /nasa/intel/Compiler/2018.5.274
set usemods = ( $usemod1 $usemod2 $usemod3 )
set usemodules = 1

#=========#
# JANUS #
#=========#
else if ( $site == GMAO.janus ) then
set basedir=/ford1/share/gmao_SIteam/Baselibs/ESMA-Baselibs-5.1.7/x86_64-unknown-linux-gnu/pgfortran_17.10-openmpi_3.0.0-gcc_6.3.0
set basedir=/ford1/share/gmao_SIteam/Baselibs/ESMA-Baselibs-5.1.8/x86_64-unknown-linux-gnu/pgfortran_17.10-openmpi_3.0.0-gcc_6.3.0
set mod1 = comp/gcc/6.3.0
set mod2 = comp/pgi/17.10-gcc_6.3.0
set mod3 = mpi/openmpi/3.0.0/pgi-17.10_gcc-6.3.0
Expand Down Expand Up @@ -229,15 +258,15 @@ else if ( $site == GMAO.niteroi ) then
#=================#
else if ( $site == GMAO.desktop ) then

set basedir=/ford1/share/gmao_SIteam/Baselibs/ESMA-Baselibs-5.1.7/x86_64-unknown-linux-gnu/ifort_18.0.3.222-openmpi_3.1.0-gcc_6.3.0
set basedir=/ford1/share/gmao_SIteam/Baselibs/ESMA-Baselibs-5.1.8/x86_64-unknown-linux-gnu/ifort_18.0.5.274-openmpi_4.0.0-gcc_6.3.0

set mod1 = GEOSenv

set mod2 = comp/gcc/6.3.0
set mod3 = comp/intel/18.0.3.222
set mod4 = mpi/openmpi/3.1.0/intel-18.0.3.222_gcc-6.3.0
set mod5 = lib/mkl/18.0.3.222
set mod6 = other/python/GEOSpyD/Ana2018.12_py2.7
set mod3 = comp/intel/18.0.5.274
set mod4 = mpi/openmpi/4.0.0/intel-18.0.5.274_gcc-6.3.0
set mod5 = lib/mkl/18.0.5.274
set mod6 = other/python/GEOSpyD/Ana2019.03_py2.7

set mods = ( $mod1 $mod2 $mod3 $mod4 $mod5 $mod6 )
set modinit = /usr/share/Modules/init/tcsh
Expand Down

0 comments on commit 181a3b9

Please sign in to comment.