Skip to content

Commit 12d1c68

Browse files
authored
Merge branch 'main' into fix-submit-docs
2 parents 9128013 + 1f34de1 commit 12d1c68

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

docs/installation.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ We have a `yaml` file on our repo for easily installing BABS and its dependencie
3434
wget https://raw.githubusercontent.com/PennLINC/babs/refs/heads/main/environment_hpc.yml
3535

3636
# Install into a new environment called babs:
37-
mamba create -f environment_hpc.yml
37+
mamba env create -f environment_hpc.yml
3838

3939
# Activate the environment:
4040
mamba activate babs
@@ -43,6 +43,12 @@ We have a `yaml` file on our repo for easily installing BABS and its dependencie
4343
If you are using ``conda`` or ``micromamba`` instead of ``mamba``, simply replace ``mamba``
4444
with either ``conda`` or ``micromamba`` in the commands above.
4545

46+
.. note::
47+
On older HPC systems, compiled scientific dependencies (for example ``scipy`` via ``niworkflows``)
48+
should be installed from conda-forge rather than built by ``pip`` from source.
49+
If environment creation fails while building wheels, re-run using the
50+
``environment_hpc.yml`` from this repository and prefer ``mamba/micromamba env create``.
51+
4652
Before proceeding, make sure your ``Git`` identity has been configured.
4753
You can check whether this has already been done via::
4854

environment_hpc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ dependencies:
99
- pip
1010
# Core packages from conda-forge when available
1111
- numpy
12+
- scipy
1213
- pandas
1314
- pyyaml>=6.0
1415
- jinja2
1516
- nibabel
17+
- niworkflows
1618
- tqdm
1719
- regex
1820
# Testing packages
@@ -26,7 +28,6 @@ dependencies:
2628
- datalad-osf
2729
- filelock>=3.8.0
2830
- backoff
29-
- niworkflows
3031
- qstat>=0.0.5
3132
- pytest-cov>=5.0.0
3233
- pytest-env>=1.1.0

0 commit comments

Comments
 (0)