Skip to content

Commit

Permalink
do not try to load python 2.7 at nersc.
Browse files Browse the repository at this point in the history
  • Loading branch information
rainwoodman committed Sep 27, 2016
1 parent eaaed32 commit ef65c13
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion nersc/activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ NBKITROOT=`dirname ${_SCRIPT_LOCATION}`
NBKITROOT=`readlink -f $NBKITROOT`

# load default python
module load python/2.7-anaconda
case "$LOADEDMODULES" in
*python* )
# python is loaded
;;

* )
module load python/3.5-anaconda
;;
esac;

# activate python-mpi-bcast
source /usr/common/contrib/bccp/python-mpi-bcast/nersc/activate.sh
Expand Down

0 comments on commit ef65c13

Please sign in to comment.