File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module swap PrgEnv-intel PrgEnv-gnu
55module unload craype-network-aries
66module unload cray-libsci
77module unload craype
8- module load cray-mpich-abi/8.1.25
8+ module load cray-mpich-abi/8.1.28
99
1010export LD_LIBRARY_PATH=$CRAY_MPICH_BASEDIR /mpich-gnu-abi/8.2/lib:$LD_LIBRARY_PATH
1111
@@ -18,6 +18,10 @@ commonWeeklyBuildDir=/global/common/software/lsst/gitlab/desc-python-int
1818commonDevBuildDir=/global/common/software/lsst/gitlab/desc-python-dev
1919commonProdBuildDir=/global/common/software/lsst/gitlab/desc-python-prod
2020
21+ export BUILD_ID_DATE=` echo " $( date " +%F-%M-%S" ) " `
22+ export CI_COMMIT_REF_NAME=prod
23+ export CI_PIPELINE_ID=$BUILD_ID_DATE
24+
2125if [ " $CI_COMMIT_REF_NAME " = " dev" ]; # dev
2226then
2327 curBuildDir=$commonDevBuildDir /$CI_PIPELINE_ID
@@ -66,7 +70,7 @@ pip install --no-cache-dir -r ./pip-pack.txt
6670
6771conda clean -y -a
6872
69- conda config --set env_prompt " (desc-py)" --system
73+ conda config --set env_prompt " (desc-py)" --env
7074
7175conda env export --no-builds > $curBuildDir /desc-python-nersc-$CI_PIPELINE_ID -nobuildinfo.yml
7276conda env export > $curBuildDir /desc-python-nersc-$CI_PIPELINE_ID .yml
Original file line number Diff line number Diff line change 4646numdifftools
4747numpy
4848pandas
49+ parsl
4950pip
5051pot
5152psycopg2
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
Original file line number Diff line number Diff line change 11ceci
22fits2hdf
3- parsl
43https://bitbucket.org/yymao/helpers/get/v0.3.2.tar.gz
54https://github.com/LSSTDESC/descqa/archive/v2.8.0.tar.gz
65https://github.com/yymao/FoFCatalogMatching/archive/v0.1.0.tar.gz
You can’t perform that action at this time.
0 commit comments