Open MPI logo

Open MPI User's Mailing List Archives

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

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


Yes! Thank you for your help. Doing

$./configure --disable-pty-support --prefix=/usr/local/openmpi
$make all
$sudo make install

fixed the issue

$ mpirun -np 2 /bin/pwd
/home/ian
/home/ian

Thanks a bunch,

Ian

On Tue, Sep 3, 2013 at 6:26 AM, Reuti <reuti_at_[hidden]> wrote:

> Am 03.09.2013 um 06:48 schrieb Ian Czekala:
>
> > 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:
> >
> > 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
> > /home/ian
> > /home/ian
> >
> > After doing some searching on the web (and coming across this thread),
>
> There is another one:
>
> http://www.open-mpi.org/community/lists/users/2010/03/12291.php
>
> -- Reuti
>
>
> > 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
> --parsable
> > [1,0]<stdout>:package:Open MPI ian_at_leo Distribution
> > [1,0]<stdout>:ompi:version:full:1.6.5
> > [1,0]<stdout>:ompi:version:svn:r28673
> > [1,0]<stdout>:ompi:version:release_date:Jun 26, 2013
> > [1,0]<stdout>:orte:version:full:1.6.5
> > [1,0]<stdout>:orte:version:svn:r28673
> > [1,0]<stdout>:orte:version:release_date:Jun 26, 2013
> > [1,0]<stdout>:opal:version:full:1.6.5
> > [1,0]<stdout>:opal:version:svn:r28673
> > [1,0]<stdout>:opal:version:release_date:Jun 26, 2013
> > [1,0]<stdout>:mpi-api:version:full:2.1
> > [1,0]<stdout>:ident:1.6.5
> >
> > Thank you for any help or guidance you may be able to offer! Sincerely,
> >
> > Ian Czekala
> >
> > <config.log.bz2>_______________________________________________
> > users mailing list
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>