-
Notifications
You must be signed in to change notification settings - Fork 46
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 #167 from bertinia/master
major upgrades
- Loading branch information
Showing
49 changed files
with
1,859 additions
and
1,207 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 |
---|---|---|
@@ -1,29 +1,21 @@ | ||
#!/bin/sh -x | ||
#!/bin/bash -l | ||
|
||
echo "Python boot-strap modules for machine cheyenne" | ||
. /glade/u/apps/ch/opt/lmod/7.2.1/lmod/lmod/init/bash | ||
|
||
## Order is important! | ||
##module restore system | ||
module purge | ||
module load ncarenv/1.2 | ||
module load python/2.7.14 | ||
module load intel/17.0.1 | ||
module load ncarcompilers/0.4.1 | ||
module load ncarenv | ||
module load ncarcompilers | ||
module load mpt/2.15f | ||
module load python/2.7.13 | ||
module load numpy/1.12.0 | ||
module load scipy/0.18.1 | ||
module load mpi4py/2.0.0-mpt | ||
module load netcdf/4.4.1.1 | ||
module load pynio/1.4.1 | ||
module load matplotlib/2.0.0 | ||
module load nco/4.6.2 | ||
module load netcdf/4.6.1 | ||
module load nco/4.7.4 | ||
module load ncl/6.4.0 | ||
module load netcdf4-python/1.2.7 | ||
module load cf_units/1.1.3 | ||
module load pyngl/1.5.0b | ||
|
||
# prepend the virtualenv into the PATH | ||
PATH=/glade/u/apps/ch/opt/python/2.7.13/gnu/6.2.0/bin:${PATH} | ||
export PATH | ||
# clone the ncat virtualenv first with helper script ncar_pylib | ||
# use "ncar_pylib --help" to see all options | ||
ncar_pylib -c 20180705 ${pp_dir}/cesm-env2 | ||
|
||
export PYTHONPATH=${pp_dir}/cesm-env2/lib/python2.7/site-packages | ||
|
||
module list | ||
|
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,21 @@ | ||
#!/bin/bash -l | ||
|
||
echo "Python boot-strap modules for NCAR DAV" | ||
|
||
module load python/2.7.14 | ||
module load intel/17.0.1 | ||
module load ncarenv | ||
module load ncarcompilers | ||
module load impi | ||
module load netcdf/4.6.1 | ||
module load nco/4.7.4 | ||
module load ncl/6.4.0 | ||
|
||
# clone the ncat virtualenv first with helper script ncar_pylib | ||
# use "ncar_pylib --help" to see all options | ||
ncar_pylib -c 20180510 ${pp_dir}/cesm-env2 | ||
|
||
export PYTHONPATH=${pp_dir}/cesm-env2/lib/python2.7/site-packages | ||
|
||
module list | ||
|
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 |
---|---|---|
@@ -1,32 +1,21 @@ | ||
#!/bin/sh | ||
#!/bin/bash -l | ||
|
||
echo "Python boot-strap modules for machine geyser" | ||
. /glade/apps/opt/lmod/lmod/init/bash | ||
|
||
module load python/2.7.7 | ||
module load intel/16.0.3 | ||
module load python/2.7.14 | ||
module load intel/17.0.1 | ||
module load ncarenv | ||
module load ncarbinlibs | ||
module load ncarcompilers | ||
module load slurm/17 | ||
module load impi/5.1.1.109 | ||
module load numpy/1.11.0 | ||
module load scipy/0.18.1 | ||
module load mpi4py/2.0.0-impi | ||
module load pynio/1.4.1 | ||
module load pyside/1.1.2 | ||
module load matplotlib/1.5.1 | ||
module load netcdf/4.3.0 | ||
module load nco/4.4.4 | ||
module load impi | ||
module load netcdf/4.6.1 | ||
module load nco/4.7.4 | ||
module load ncl/6.4.0 | ||
module load netcdf4python/1.2.4 | ||
module load pyngl/1.4.0 | ||
|
||
# prepend the virtualenv into the PATH | ||
PATH=/glade/apps/contrib/virtualenv/12.0.7:${PATH} | ||
export PATH | ||
# clone the geyser virtualenv first with helper script ncar_pylib | ||
# use "ncar_pylib --help" to see all options | ||
ncar_pylib -c 20180510 ${pp_dir}/cesm-env2 | ||
|
||
# may need basemap for ocn ecosys | ||
export PYTHONPATH=${pp_dir}/cesm-env2/lib/python2.7/site-packages | ||
|
||
module list | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#!/bin/bash | ||
|
||
#PBS -N {{ processName }} | ||
#PBS -q {{ queue }} | ||
#PBS -l select={{ nodes }}:ncpus={{ ppn }}:mpiprocs={{ ppn }} | ||
#PBS -l walltime={{ wallclock }} | ||
#PBS -A {{ project }} | ||
|
||
. /glade/u/apps/ch/opt/lmod/7.2.1/lmod/lmod/init/bash | ||
source /etc/profile.d/modules.sh | ||
|
||
export I_MPI_DEVICE=rdma | ||
export MPI_UNBUFFERED_STDIO=true | ||
export TMPDIR=$TMPDIR | ||
|
||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/glade/u/apps/ch/opt/pythonpkgs/2.7/cf_units/1.1.3/gnu/6.2.0/lib |
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,13 @@ | ||
#! /bin/bash -l | ||
|
||
#SBATCH -n {{ pes }} | ||
#SBATCH -N {{ nodes }} | ||
#SBATCH --ntasks-per-node={{ ppn }} | ||
#SBATCH -t {{ wallclock }} | ||
#SBATCH -p dav | ||
#SBATCH -J {{ processName }} | ||
#SBATCH -A {{ project }} | ||
#SBATCH --mem {{ memory }} | ||
#SBATCH -e {{ processName }}.err.%J | ||
#SBATCH -o {{ processName }}.out.%J | ||
#SBATCH -m block |
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
#! /bin/bash -l | ||
|
||
#SBATCH -n {{ pes }} | ||
#SBATCH -N {{ nodes }} | ||
#SBATCH --ntasks-per-node={{ ppn }} | ||
#SBATCH -t {{ wallclock }} | ||
#SBATCH -p dav | ||
#SBATCH -J {{ processName }} | ||
#SBATCH -A {{ project }} | ||
#SBATCH -C {{ queue }} | ||
#SBATCH --mem {{ memory }} | ||
#SBATCH -e {{ processName }}.err.%J | ||
#SBATCH -o {{ processName }}.out.%J | ||
|
||
source /glade/u/apps/opt/slurm_init/init.sh | ||
|
||
export LD_LIBRARY_PATH=/glade/apps/opt/netcdf/4.3.0/gnu/default/lib:$LD_LIBRARY_PATH | ||
#SBATCH -m block |
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,12 @@ | ||
-n {{ pes }} | ||
-N {{ nodes }} | ||
--ntasks-per-node={{ ppn }} | ||
-t {{ wallclock }} | ||
-p dav | ||
-J {{ processName }} | ||
-A {{ project }} | ||
-C {{ queue }} | ||
-e {{ processName }}.err.%J | ||
-o {{ processName }}.out.%J | ||
--mem {{ memory }} | ||
-m block |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
-e {{ processName }}.err.%J | ||
-o {{ processName }}.out.%J | ||
--mem {{ memory }} | ||
-m block |
Oops, something went wrong.