How to install openmpi in tumbleweed?

I installed openmpi using zypper in openmpi openmpi-devel. It installed 30 packages. Normally it should provide mpirun or mpicc, but these commands are not found. I tried to mpi-selector --set openmpi5 without success.

Any help would be appreciated!

You need to use the full path:

/usr/lib64/mpi/gcc/openmpi5/bin/mpirun

As i’m not an openmpi user, i don’t know how to use it properly, but by using the full path i get at least a program output.

OK, thank you!
However, normally commands should be in the bin/ path…

I do not know the reasons for it. But i found a thread from 9 years ago where it was the same.
Maybe another opnempi5 user can shed some light.

Yes, I also found this post… The problem is that impact the installation of other software; I can perhaps add it to my PATH.

That would be one solution. Creating an alias is another.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.