mpirun failured for step-17 on WSL

29 views
Skip to first unread message

Peiliang Bian

unread,
Dec 3, 2024, 3:25:30 AM12/3/24
to deal.II User Group
Hello,

I am now trying to run the step-17 on WSL by 
```
mpirun -np 4 ./step-17
```
which gives me the following messege
```
--------------------------------------------------------------------------
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:        DesktopName
  Working dir:       /home/MyName
  Application name:  ./step-17
  Error:             Permission denied
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun was unable to start the specified application as it encountered an
error:

Error code: 1
Error name: (null)
Node:  DesktopName

when attempting to start process rank 0.
--------------------------------------------------------------------------
4 total processes failed to start
[ DesktopName:30751] 3 more processes have sent help message help-orte-odls-default.txt / execve error
[ DesktopName:30751] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
```

The deal.ii is installed directly by 
```
sudo apt-get install libdeal.ii-dev
```
The step-17 without mpirun is OK.  So I am wondering if there is some problems with the mpi and WSL.

Many thanks,
I
Pei-Liang 

Bruno Turcksin

unread,
Dec 3, 2024, 8:28:51 AM12/3/24
to deal.II User Group
Hello Pei-Liang,

Do you have the same problem if you use a simple hello_world code that doesn't use deal.II? This will tell us if the problem is with deal.II or with mpi.

Best,

Bruno
Reply all
Reply to author
Forward
0 new messages