Skip to content

Commit

Permalink
Merge pull request #338 from LSSTDESC/install_mamba
Browse files Browse the repository at this point in the history
conda to mamba to prevent time out of github actions
separated pip install of dependencies to fix mac install error
  • Loading branch information
elvinpoole authored Mar 8, 2024
2 parents a366851 + 2aa49d7 commit 553b2a6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 30 deletions.
3 changes: 2 additions & 1 deletion bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ chmod +x Mambaforge3.sh
source ./conda/bin/activate

# conda-installable stuff
conda env update --file environment.yml
mamba env update --file environment-nopip.yml
mamba env update --file environment-piponly.yml


if [[ "$CHIPSET" = "arm64" || "$CHIPSET" = "aarch64" ]]
Expand Down
30 changes: 30 additions & 0 deletions environment-nopip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
channels:
- conda-forge
dependencies:
- astropy=5.2.*
- camb=1.4.*
- cosmosis=2.4.1
- dask=2023.4.1
- dm-tree=0.1.7
- firecrown=1.4.0
- fitsio=1.1.8
- h5py=3.8.*=mpi_mpich_*
- healpy=1.16.*
- healsparse=1.6.*
- jax=0.4.14
- jaxlib=0.4.14
- jupyter=1.0.*
- matplotlib=3.7.*
- mpi4py=3.1.*
- mpich=4.1.*
- numpy=1.24.*
- pandas=1.5.*
- psutil=5.9.*
- pyccl=2.6.*
- python=3.10.*
- scikit-learn=1.2.*
- scipy=1.10.*
- tables-io-full=0.8.*
- threadpoolctl=3.1.*
- treecorr=4.3.*
- pip
29 changes: 0 additions & 29 deletions environment.yml → environment-piponly.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,4 @@
channels:
- conda-forge
dependencies:
- astropy=5.2.*
- camb=1.4.*
- cosmosis=2.4.1
- dask=2023.4.1
- dm-tree=0.1.7
- firecrown=1.4.0
- fitsio=1.1.8
- h5py=3.8.*=mpi_mpich_*
- healpy=1.16.*
- healsparse=1.6.*
- jax=0.4.14
- jaxlib=0.4.14
- jupyter=1.0.*
- matplotlib=3.7.*
- mpi4py=3.1.*
- mpich=4.1.*
- numpy=1.24.*
- pandas=1.5.*
- psutil=5.9.*
- pyccl=2.6.*
- python=3.10.*
- scikit-learn=1.2.*
- scipy=1.10.*
- tables-io-full=0.8.*
- threadpoolctl=3.1.*
- treecorr=4.3.*
- pip
- pip:
- ceci==1.14
- git+https://github.com/jlvdb/hyperbolic@b88b107a291fa16c2006cf971ce610248d58e94c
Expand Down

0 comments on commit 553b2a6

Please sign in to comment.