WSL icon indicating copy to clipboard operation
WSL copied to clipboard

OpenMPI: mpirun does not work

Open ultimanet opened this issue 10 years ago • 2 comments

OpenMPI install without problem via:

apt-get install openmpi-bin

But mpirun is not working:

root@localhost:/home# mpirun -n 1 echo 'test'
[localhost:18861] [[39202,0],0] unable to open debugger attach fifo
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it encountered an error:

Error: pipe function call failed when setting up I/O forwarding subsystem
Node: localhost

while attempting to start process rank 0.
--------------------------------------------------------------------------

Maybe related to #2?

ultimanet avatar Apr 07 '16 19:04 ultimanet

Installing OpenMPI using the --disable-pty-support flag does not help.

wget https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.2.tar.gz
tar xzfv openmpi-1.10.2.tar.gz
cd open*
./configure --disable-pty-support
make all
make install

ultimanet avatar Apr 07 '16 20:04 ultimanet

Thanks for reporting the issue. There were number of pipe and fifo related changes recently and this seems to be working now in internal builds:

root@STEHUF-TEST:/mnt/c/Windows/system32# mpirun -n 1 echo 'test' test

The fix should be out to insider builds soon.

stehufntdev avatar May 17 '16 17:05 stehufntdev