Cannot run ff-mpirun on ubuntu 20.04

Hello,

ff-mpirun is aborted whenever I try to run a script with “ff-mpirun -np 4 script.edp” and I get the below message.

freefem++ and mpicc work without a problem in my machine.

The same ff-mpirun scripts are working when using another machines.

Does anyone have any idea about the problem?

Thank you for the help,

Abdelhak.

command error message:

/usr/bin/mpiexec’ --oversubscribe -np 2 /usr/local/bin/FreeFem+±mpi -nw ‘elas.edp’

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: ompi_rte_init failed
→ Returned “(null)” (-43) instead of “Success” (0)

*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
*** and potentially your MPI job)
[abdel:577414] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!

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: ompi_rte_init failed
→ Returned “(null)” (-43) instead of “Success” (0)

*** An error occurred in MPI_Init_thread
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
*** and potentially your MPI job)
[abdel:577415] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!

Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.


mpiexec detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[54695,1],0]
Exit code: 1

First the sequential version run or not.
just
FreeFem++

yes it runs without any problem.