File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616# Set up environment if running at NERSC
1717if [ " $NERSC_HOST " ]
1818then
19- if [ " $NERSC_HOST " == " cori" ]
20- then
21- module unload python
22- module swap PrgEnv-intel PrgEnv-gnu
23- module unload cray-libsci
24- module unload cray-mpich
25- module load cray-mpich-abi/7.7.19
26- export LD_LIBRARY_PATH=$CRAY_MPICH_BASEDIR /mpich-gnu-abi/8.2/lib:$LD_LIBRARY_PATH
27- else
28- module unload cray-libsci
29- module load cray-mpich-abi/8.1.15
30- fi
19+ module unload cray-libsci
20+ module load cray-mpich-abi/8.1.28
3121 module list
3222fi
3323
3424
3525unset PYTHONPATH
3626
37- # curl -LO https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh
38- # bash ./Miniconda3-py38_4.9.2-Linux-x86_64.sh -b -p $1
39-
4027# Try Mambaforge latest
4128url=" https://github.com/conda-forge/miniforge/releases/latest/download"
4229url=" $url /Mambaforge-Linux-x86_64.sh"
4330curl -LO " $url "
4431
4532bash ./Mambaforge-Linux-x86_64.sh -b -p $1
4633which python
47- source $1 /etc/profile.d/conda.sh
48- conda activate base
34+ source $1 /bin/activate
4935# conda install -c conda-forge -y mamba
50- mamba install -c conda-forge -y mpich=3.4. * =external_*
36+ mamba install -c conda-forge -y mpich=4.0.3 =external_*
5137which python
5238which conda
5339
You can’t perform that action at this time.
0 commit comments