
Dne čtvrtek 27. května 2021 17:39:02 CEST, Alin Marin Elena napsal(a):
I suggest you for mpi to move more to to hpc modules for opensuse. have a look in here https://build.opensuse.org/package/show/home:ccp5:stable/dl-poly
It's interesting, but it doesn't explain why openmpi-macros-devel recommended by Dominique doesn't work... I like its usage as it's simple and straightforward, keeping spec file short. I'm not sure if I understand dl-poly.spec correctly - it defines combinations of various GCC and MPI, but I don't fully get how it's then used. And I have basically no idea how to replicate it for my packages...
On Thu, 27 May 2021 at 16:34, Vojtěch Zeisek wrote:
Hello, I have package https://build.opensuse.org/package/show/home:vojtaeus/PhyML-mpi containing
BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: openmpi-macros-devel ... %build %{setup_openmpi} ./autogen.sh %configure --enable-mpi %make_build ... %check %{setup_openmpi}
When I install it (up-to-date TW), it pulls openmpi3, openmpi3-config, openmpi3-libs and few other libs, but when I run it, I get error
$ phyml-mpi phyml-mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
Interestingly, manual installation of openmpi4-libs and running "mpi-selector --set openmpi4" doesn't help. Anyway, it seems that openmpi-macros-devel is somehow unsure if it wishes openmpi 3 or 4. How to fix it? -- Vojtěch Zeisek https://trapa.cz/
Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux https://www.opensuse.org/