Ubuntu 26.04 mpirun version issue

Just installed ubuntu 26.04 and openmpi. I tried using mpirun --version and got the following message

mpirun --version

Sorry! You were supposed to get help about:
version
But I couldn’t open the help file:
/usr/lib/x86_64-linux-gnu/pmix2/share/pmix/help-schizo-ompi.txt: No such file or directory
/usr/lib/x86_64-linux-gnu/prrte3/share/prte/help-schizo-ompi.txt: No such file or directory.
Sorry!

However mpirun itself seems to work perfectly for a sample use of
mpirun -n 2 hostname
Can anybody tell me if this issue could be serious at some point? I work in scientific computing, specifically CFD. I test out some open source software at times. Does anyone with experience think the inability to check version could be a problem down the line? Is the cmake likely to check the mpi version before compiling the code, for example? Any help would be appreciated. Thank you

2 Likes

That seems to be a known issue, look here on their site:

3 Likes

Hi, @deepak :handshake:
Welcome to the community!

3 Likes

Welcome to the forums @deepak

Strange, it is indeed the same root cause but that specific issue above shows as closed back in 2022 so what you’re hitting on 26.04 is likely a regression or a packaging issue on Ubuntu.

Probably worth filing a bug report against the Ubuntu openmpi package on Launchpad if nobody’s reported it yet for 26.04.

In th meantime, try:

ompi_info | head

mpicc –showme:version

those will give you the actual version info you need and are also what build scripts usually call. If both of those return cleanly, you’re good to go.

4 Likes

Hello. Thank you very much for the replies.

Yeah, that looks similar to what I am facing right now. Guess it’ll have to be fixed again.

mpicc -showme:version worked
mpicc -showme:version
mpicc: Open MPI 5.0.10 (Language: C)

However, ompi showed another issue
ompi_info | head
ompi_info: /lib/x86_64-linux-gnu/libxml2.so.2: no version information available

libxml2 has been deprecated and its replaced by libxml2-16. So, there is an issue here as well. I will check to see if any bug reports have been posted already. Thank you again for the replies

2 Likes

That should be

mpicc --showme:version
1 Like