initial commit
This commit is contained in:
17
load-env.sh
Normal file
17
load-env.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#! /bin/bash
|
||||
|
||||
host=`hostname`
|
||||
|
||||
if [[ "$NERSC_HOST" == cori ]]; then
|
||||
echo \$NERSC_HOST matched cori
|
||||
module load cray-python/3.8.5.0
|
||||
|
||||
which python
|
||||
elif [[ "$NERSC_HOST" == perlmutter ]]; then
|
||||
echo \$NERSC_HOST matched perlmutter
|
||||
|
||||
module load cray-python/3.9.4.1
|
||||
|
||||
which python
|
||||
fi
|
||||
|
Reference in New Issue
Block a user