Skip to content

Commit 15043d8

Browse files
committed
Pin libfabric
1 parent 2c7574c commit 15043d8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

recipe/meta.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ requirements:
7373

7474
host:
7575
- {{ mpi }} # [mpi != 'nompi']
76+
# pin libfabric to a version that runs with glibc 2.17
77+
# (which is used for the CPU build)
78+
- libfabric1 <2.5.1 # [linux and mpi == 'mpich' and cuda_compiler_version == "None"]
7679
- cuda-version {{ cuda_compiler_version }} # [cuda_compiler_version != "None"]
7780
- cuda-toolkit {{ cuda_compiler_version }} # [cuda_compiler_version != "None"]
7881
- fftw * {{ mpi_prefix }}*
@@ -84,6 +87,8 @@ requirements:
8487
- libtorch
8588
run:
8689
- {{ mpi }} # [mpi != 'nompi']
90+
# see above for the rationale behind pinning libfabric
91+
- libfabric1 <2.5.1 # [linux and mpi == 'mpich' and cuda_compiler_version == "None"]
8792
- plumed-metatomic * {{ mpi_prefix }}*
8893
- libmetatomic-torch >=0.1.7,<0.2.0
8994
- libmetatensor-torch >=0.8.2,<0.9.0

0 commit comments

Comments
 (0)