add unused.py, refactor common code a bit

This commit is contained in:
Carl Pearson
2021-12-01 08:28:45 -08:00
parent 84bdee85ce
commit 4a09bc2d33
7 changed files with 83 additions and 48 deletions

View File

@@ -4,14 +4,18 @@ host=`hostname`
if [[ "$NERSC_HOST" == cori ]]; then
echo \$NERSC_HOST matched cori
module load cray-python/3.8.5.0
module load cray-python/3.8.5.0
which python
export SS_DIR="$CFS"/m3918/pearson
echo "\$SS_DIR = $SS_DIR"
elif [[ "$NERSC_HOST" == perlmutter ]]; then
echo \$NERSC_HOST matched perlmutter
module load cray-python/3.9.4.1
which python
export SS_DIR="$CFS"/m3918/pearson
echo "\$SS_DIR = $SS_DIR"
fi