Mpiexec by linux system

  c++, mpi, openmpi, windows-subsystem-for-linux

Hello I have this error message when running

[email protected]:/mnt/c/MPI/MPI1$ mpiexec explicitpar.c -4 explicitpar

Open MPI tried to fork a new process via the "execve" system call but
failed. Open MPI checks many things before attempting to launch a
child process, but nothing is perfect. This error may be indicative
of another problem on the target host, or even something as silly as
having specified a directory for your application. Your job will now
abort.

Local host: DESKTOP-3EOPC1I
Working dir: /mnt/c/MPI/MPI1
Application name: /mnt/c/MPI/MPI1/explicitpar.c
Error: Exec format error

mpiexec was unable to start the specified application as it encountered an
error:

Error code: 1
Error name: (null)
Node: DESKTOP-3EOPC1I

when attempting to start process rank 0.


2 total processes failed to start
[DESKTOP-3EOPC1I:04039] 1 more process has sent help message help-orte-odls-default.txt / execve error
[DESKTOP-3EOPC1I:04039] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages

  1. List item

How can I try to debug this or provide more information to help debug this?
Source: Windows Questions C++

LEAVE A COMMENT