Re: [OMPI users] Problem with 'orted: command not found'

2016-05-03 Thread Maciek Lewiński
Thank you! I have set up my env paths at the end of the script and thanks to you I just noticed that at the beginning of the bashrc script there's a simple IF that returns when it's opened as non-interactive. I moved my exports above it and it finally works. Again, thank you very much. 2016-05-03

Re: [OMPI users] Problem with 'orted: command not found'

2016-05-02 Thread Gilles Gouaillardet
If OpenMPI is installed at the same path on every node, the easiest optin is to re-configure with --enable-mpirun-prefix-by-default an other option is to use `which mpirun` instead of mpirun and yet an other option is to mpirun --prefix=$USER/.openmpi Cheers, Gilles On Tuesday, May 3, 2016,

Re: [OMPI users] Problem with 'orted: command not found'

2016-05-02 Thread Jeff Squyres (jsquyres)
Make sure you check that these paths are set for *non-interactive* logins. > On May 2, 2016, at 6:14 PM, Maciek Lewiński wrote: > > I already had correct paths in .bashrc: > > export >

Re: [OMPI users] Problem with 'orted: command not found'

2016-05-02 Thread Maciek Lewiński
I already had correct paths in .bashrc: export PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/bin:/usr/local/bin:/home/$USER/.openmpi/bin export LD_LIBRARY_PATH=:/usr/local/lib:/usr/local/lib:/home/$USER/.openmpi/lib I can run

Re: [OMPI users] Problem with 'orted: command not found'

2016-05-02 Thread Jeff Squyres (jsquyres)
The key is this error: bash: orted: command not found Meaning: you need to set your PATH and LD_LIBRARY_PATH properly for non-interactive logins. See https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path. > On May 2, 2016, at 5:36 PM, Maciek Lewiński