Re: [OMPI users] Building Open MPI and default hostfile change does not go through

2018-05-13 Thread Gilles Gouaillardet
Konstantinos, You need to double check that, your OS might have done it out of the box for you already. Once logged, you can which mpirun If it resolves to /usr/local/bin/mpirun, then there is no need to update $PATH, and then ldd /usr/local/bin/mpirun If it correctly resolves to /usr/

Re: [OMPI users] Building Open MPI and default hostfile change does not go through

2018-05-13 Thread Konstantinos Konstantinidis
Thank you Gilles, One more question. Do I need to add the following lines to the .bashrc file after installing Open MPI? export PATH="$PATH:/usr/local/bin" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" On Sun, May 13, 2018 at 8:48 PM, Gilles Gouaillardet wrote: > Konstantinos, > >

Re: [OMPI users] Building Open MPI and default hostfile change does not go through

2018-05-13 Thread Gilles Gouaillardet
Konstantinos, Since you ran configure --prefix=/usr/local the system-wide config file should be in /usr/local/etc/openmpi-default-hostfile Note /usr/local is the default prefix, so you do not even need the --prefix=/usr/local option Cheers, Gilles On 5/12/2018 6:58 AM, Konstantinos

Re: [OMPI users] Building Open MPI and default hostfile change does not go through

2018-05-11 Thread Konstantinos Konstantinidis
Yeap, exactly the hostfile I have is of the form node1 slots=1 node2 slots=1 node3 slots=1 where the above hostnames are resolved in ~/.ssh/config file which has entries of the form Host node1 HostName 192.168.0.100 User ubuntu IdentityFile ~/.ssh/mykey.pem and so on. So the mpirun cannot p

Re: [OMPI users] Building Open MPI and default hostfile change does not go through

2018-05-11 Thread Jeff Squyres (jsquyres)
Can you provide some more detail? I'm not able to get this to fail (i.e., it seems to be working as expected for me). For example, what's the contents of your /etc/openmpi/openmpi-default-hostfile -- did you list some hostnames in there? > On May 11, 2018, at 4:43 AM, Konstantinos Konstantini