Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Able to run mpirun as root, but not as a user.
From: Ian Czekala (iancze_at_[hidden])
Date: 2013-09-03 00:48:41

Dear openmpi users,

My basic problem is that I am able to run mpirun as root, but not at a user
level. I have tried installing openmpi via several methods, but all seem to
yield the same problem. I fear that I am missing something very basic and
zero-order, but I can't seem to resolve my problem with the information in
the FAQ.

Originally, I installed the openmpi through arch linux's package manager,
pacman. After a successful install, I tried (on my laptop)

$mpirun -np 2 /bin/pwd
and I get the following output:
mpirun was unable to launch the specified application as it encountered an

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

while attempting to start process rank 0.
2 total processes failed to start

however when I run as root, I am sucessful
$ sudo mpirun -np 2 /bin/pwd

After doing some searching on the web (and coming across
I suspected that the issue might be with some PATH setup or user
permissions that weren't being set correctly by the arch linux package
manager, and so I uninstalled and resorted to installing by source.

When trying the normal install method
$ ./configure --prefix=/usr/local/openmpi
$ make all
$ sudo make install
and then changed my .zshrc to include the correct PATH and LD_LIBRARY_PATH,
I get the same behavior as before.

To investigate further the possibility of a permissions issue, I
uninstalled and reinstalled into my own home directory
$ ./configure --prefix=/home/ian/.builds/openmpi
$ make all
$ make install
and updated PATH and LD_LIBRARY_PATH correspondingly.

However, the behavior is *exactly* as before: mpirun will run as root, but
not at a user level. Am I missing something extremely basic here? Online
examples to me imply that I should be able to run as a user without any
additional configuration.

Here is some of the info asked for by the "Getting Help" section (all from
the local home directory install):

[ian_at_leo:~]$ sudo mpirun --bynode --tag-output ompi_info -v ompi full
[1,0]<stdout>:package:Open MPI ian_at_leo Distribution
[1,0]<stdout>:ompi:version:release_date:Jun 26, 2013
[1,0]<stdout>:orte:version:release_date:Jun 26, 2013
[1,0]<stdout>:opal:version:release_date:Jun 26, 2013

Thank you for any help or guidance you may be able to offer! Sincerely,

Ian Czekala