'openmpi-devel' needed to use 'mpirun'

Hello,

I ran into some problems when using the ‘openmpi’ package from ‘devel:libraries:c_c++’ on openSUSE 11.4 x86_64.

I recently started to use the OBS to compile/ package some CFD/ visualization software (see my repo [1]). Since I wanted to use a rather recent ‘openmpi’ version and preferable the same on 11.4 and 12.1 I use the ‘openmpi’ package from ‘devel:libraries:c_c++’ (meaning I aggregated the ‘openmpi’ package in my repository).

Now the problem: When I use the software, i.e. run some mpi-job with ‘mpirun’ than I get some errors (see end of the mail) and it crashes. The problem disappeared when I installed the ‘openmpi-devel’ package.
Now my question: Do I
a) make a mistake when compiling the software
b) have to always install the ‘openmpi-devel’ package to use openmpi
c) is there some bug in the ‘openmpi’ package?

I hope somebody can help me with that.

Armin

[1] https://build.opensuse.org/project/show?project=home%3Adkxls%3Acfd

#################################

Case 1: ParaView (i.e. pvserver)

#################################
[kolmogorov:11597] [INVALID],INVALID] ORTE_ERROR_LOG: Not found in file runtime/orte_init.c at line 125

It looks like orte_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here’s some additional information (which may only be relevant to an
Open MPI developer):

orte_ess_base_select failed
→ Returned value Not found (-13) instead of ORTE_SUCCESS


It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems. This failure appears to be an internal failure; here’s some
additional information (which may only be relevant to an Open MPI
developer):

ompi_mpi_init: orte_init failed
→ Returned “Not found” (-13) instead of “Success” (0)

*** The MPI_Init() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[kolmogorov:11597] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!

########################

Case 2: OpenFOAM

########################
[kolmogorov:09951] [INVALID],INVALID] ORTE_ERROR_LOG: Not found in file runtime/orte_init.c at line 125

It looks like orte_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here’s some additional information (which may only be relevant to an
Open MPI developer):

orte_ess_base_select failed
→ Returned value Not found (-13) instead of ORTE_SUCCESS

[kolmogorov:09951] [INVALID],INVALID] ORTE_ERROR_LOG: Not found in file orterun.c at line 543

Hi
If your jobs are calling any of the header files in /usr/include then
yes, you need to install the devel package.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 2 days 1:43, 4 users, load average: 0.19, 0.17, 0.10
GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09

That’s odd. But OK, I have no problem putting the -devel package to the dependencies, I just think something is wrong there.

Anyways thanks for the answer.

-Armin

Hi
Nothing wrong, the current packaging policy says any header (.h) files
go into a devel package…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 8 days 0:08, 4 users, load average: 0.03, 0.03, 0.06
GPU GeForce 8600 GTS Silent - Driver Version: 285.05.09