WSL
WSL copied to clipboard
OpenMPI: mpirun does not work
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?
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
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.