cellrank icon indicating copy to clipboard operation
cellrank copied to clipboard

New openmpi conda-forge version does not install libmpi.so.40

Open leahrosen opened this issue 2 years ago • 7 comments

Hi, I've solved the issue, but thought it was worth flagging the bug:

I just installed cellrank using:

conda create -n cellrank python=3.9
conda activate cellrank
conda install -c conda-forge -c bioconda cellrank-krylov
conda install jupyter

When I run g.compute_schur(n_components=20) I get the following error: ImportError: libmpi.so.40: cannot open shared object file: No such file or directory. When I checked /software/conda_envs/cellrank/lib I could not find libmpi.so.40

I noticed that openmpi=4.1.3 was only uploaded in the last week, so downgraded to openmpi=4.1.2. Now I do have the libmpi.so.40 file, and g.compute_schur works :)

So in case anyone else has this issue: conda install -c conda-forge openmpi=4.1.2 does the trick!

leahrosen avatar Apr 24 '22 13:04 leahrosen

Thanks for pointing this out! Will adjust the conda yaml file for the next release.

michalk8 avatar Apr 26 '22 08:04 michalk8

Thanks also from my side @leahrosen!

Marius1311 avatar Apr 27 '22 09:04 Marius1311

lt seems that the openmpi=4.14 still does not install libmpi.so.40

(xxx) dell@dell:~$ python -c "from mpi4py import MPI"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: libmpi.so.40: cannot open shared object file: No such file or directory
(xxx) dell@dell:~$ conda list openmpi
# packages in environment at /home/dell/anaconda3/envs/etLUmpi:
#
# Name                    Version                   Build  Channel
openmpi                   4.1.4                external_0    conda-forge

HowHuang avatar Jun 17 '22 07:06 HowHuang

What's your opinion on this @michalk8 ?

Marius1311 avatar Jun 21 '22 12:06 Marius1311

Since I found your issue while trying to solve a very similar issue (https://github.com/pyiron/pyiron_atomistics/issues/681) - I just wanted to let you know that install -c conda-forge openmpi=4.1.4=ha1ae619_100 (on linux64) solved the issue on our end.

niklassiemer avatar Jul 14 '22 10:07 niklassiemer

Great, thanks @niklassiemer

Marius1311 avatar Jul 20 '22 16:07 Marius1311

Since I found your issue while trying to solve a very similar issue (pyiron/pyiron_atomistics#681) - I just wanted to let you know that install -c conda-forge openmpi=4.1.4=ha1ae619_100 (on linux64) solved the issue on our end.

@niklassiemer it works well, thanks for your response!

HowHuang avatar Jul 25 '22 03:07 HowHuang

I suppose this can be closed, looks solved.

Marius1311 avatar Oct 10 '22 08:10 Marius1311