To Whom It May Concern:

I'm trying to run Converge CFD by Converge Science using OpenMPI and I am 
getting the error:

bash: orted: command not found

I've already read and executed the FAQ about adding OpenMPI to my PATH and 
LD_LIBRARY_PATH 
(https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path).

Here's my configuration:

OS: CentOS 7.6.1810 x86_64 (it's a fresh install. I installed it last night.)
OpenMPI version: 1.10.7 (that was the version that was available in the CentOS 
install repo)
path to mpirun: /usr/lib64/openmpi/bin
path to lib: /usr/lib64/openmpi/lib

$ cat ~/.bashrc
PATH=$PATH
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

$ cat ~/.bash_profile
PATH=$PATH
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

$ cat ~/.profile
PATH=$PATH
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

$ cat /etc/profile
...
PATH=$PATH:...:/usr/lib64/openmpi/bin
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/openmpi/lib
export LD_LIBRARY_PATH

SI8_premix_PFI_SAGE$ cat node003_16_node004_16.txt
node003
node003
node003
node003
node003
node003
node003
node003
node003
node003
node003
node003
node003
node003
node003
node003
node004
node004
node004
node004
node004
node004
node004
node004
node004
node004
node004
node004
node004
node004
node004
node004

command that I am trying to run that results in the error:

SI8_premix_PFI_SAGE$ time -p mpirun -hostfile node003_16_node004_16.txt 
/opt/converge_2.4.0/l_x86_64/bin/converge...ompi 2>&1 | tee run.log

However, if I run where I explicitly give the absolute path to the mpirun, then 
it works:

SI8_premix_PFI_SAGE$ time -p /usr/lib64/openmpi/bin/mpirun -hostfile 
node003_16_node004_16.txt /opt/converge_2.4.0/l_x86_64/bin/converge...ompi 2>&1 
| tee run.log

I also tried exporting the PATH and LD_LIBRARY_PATH to the slave node and that 
didn't seem to work (results in the same error):

SI8_premix_PFI_SAGE$ time -p mpirun -x PATH -x LD_LIBRARY_PATH -hostfile 
node003_16_node004_16.txt /opt/converge_2.4.0/l_x86_64/bin/converge...ompi 2>&1 
| tee run.log

I think that I'm using bash shell (I think that's the default for CentOS 
users), but to be sure, I created the .profile anyways.

passwordless ssh has been properly configured, so that's not an issue (and I've 
tested that permutatively).

The two nodes can ping each other, back and forth, also permutatively as well.

I'm at a loss as to why I need to specify the absolute path to mpirun despite 
having everything else set up and to me, it looks like that I've set everything 
else up correctly.

Your help is greatly appreciated.

Thank you.

Sincerely,

Ewen Chan
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to