package openmpi-bin

Bug #1879332 reported by viot
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openmpi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In Ubuntu 20.04,
mpicc does not find the library libmpi
For a simple program basic.c

/usr/bin/mpicc.openmpi basic.c
/usr/bin/ld : ne peut trouver -lmpi
collect2: error: ld returned 1 exit status

The packages libopenmpi-dev and libopenmpi3 are installed but the linkage fails
Thank you

Revision history for this message
Alexandre Poyé (alexandre7345) wrote :

I got the very same.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openmpi (Ubuntu):
status: New → Confirmed
Revision history for this message
viot (viot) wrote :

Same problem. Please, it is urgent to correct this regression, because I will use mpicc next week for a lecture on OPENMPI
(If the code is compiled on Fedora, the executable is running on Ubuntu, which confirms that the libraries are present on the computer.
The problem is likely associated with mpicc (or mpic++ where similar behavior is observed)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.