File tree Expand file tree Collapse file tree 2 files changed +63
-1
lines changed Expand file tree Collapse file tree 2 files changed +63
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module load ncl/6.6.2
1313
1414# clone the ncat virtualenv first with helper script ncar_pylib
1515# use "ncar_pylib --help" to see all options
16- ncar_pylib -c 20190326 ${pp_dir} /cesm-env2
16+ ncar_pylib -c 20190718 ${pp_dir} /cesm-env2
1717
1818export PYTHONPATH=${pp_dir} /cesm-env2/lib/python2.7/site-packages
1919
Original file line number Diff line number Diff line change 1+ #! /bin/bash -l
2+
3+ # SBATCH -n 16
4+ # SBATCH -N 4
5+ # SBATCH --ntasks-per-node=4
6+ # SBATCH -t 00:05:00
7+ # SBATCH -p dav
8+ # SBATCH -J atm_averages_dav
9+ # SBATCH -A P93300606
10+ # SBATCH --mem 10G
11+ # SBATCH -e atm_averages_dav.err.%J
12+ # SBATCH -o atm_averages_dav.out.%J
13+ # SBATCH -m block
14+
15+
16+ if [ ! -e /gpfs/fs1/work/aliceb/sandboxes/dev/postprocessing_dav/cesm-env2/bin ]; then
17+ echo " *************************************************************************************"
18+ echo " CESM atm_averages_dav exiting due to non-existant python virtual environment in"
19+ echo " /gpfs/fs1/work/aliceb/sandboxes/dev/postprocessing_dav/cesm-env2/bin"
20+ echo " You must first run:"
21+ echo " $POSTPROCESS_PATH /create_python_env -machine [machine]"
22+ echo " *************************************************************************************"
23+ exit
24+ fi
25+
26+
27+ module purge
28+
29+
30+
31+
32+ # # activate the virtualenv that contains all the non-bootstrapped dependencies
33+
34+ cd /gpfs/fs1/work/aliceb/sandboxes/dev/postprocessing_dav/cesm-env2/bin
35+ echo " Running from virtualenv directory:"
36+ pwd
37+ . activate
38+
39+ # # load the boot-strap modules
40+
41+
42+ module load python/2.7.14
43+
44+ module load intel/17.0.1
45+
46+ module load ncarenv
47+
48+ module load ncarcompilers
49+
50+ module load impi
51+
52+ module load netcdf/4.6.1
53+
54+ module load nco/4.7.4
55+
56+ module load ncl/6.4.0
57+
58+ export POSTPROCESS_PATH=/gpfs/fs1/work/aliceb/sandboxes/dev/postprocessing_dav
59+
60+ srun /gpfs/fs1/work/aliceb/sandboxes/dev/postprocessing_dav/averager/pp_tests/test_atm_series.py
61+
62+
You can’t perform that action at this time.
0 commit comments