[OMPI users] Is there a workaround available to get around fork() where I don't have access to the program's source code?

2020-10-21 Thread Ewen Chan via users
To Whom It May Concern:

I have a program that I am running that has the MPI call fork() and when I run 
the program, I get the following warning:

--
An MPI process has executed an operation involving a call to the
"fork()" system call to create a child process.  Open MPI is currently
operating in a condition that could result in memory corruption or
other system errors; your MPI job may hang, crash, or produce silent
data corruption.  The use of fork() (or system() or other calls that
create child processes) is strongly discouraged.

The process that invoked fork was:

  Local host:  aes0 (PID 16225)
  MPI_COMM_WORLD rank: 0

If you are *absolutely sure* that your application will successfully
and correctly survive a call to fork(), you may disable this warning
by setting the mpi_warn_on_fork MCA parameter to 0.
--

I don't have access to the source code for this program and when I run it, I do 
get a segmentation fault.

Is there a way for me to work/get around this if I don't have access to the 
source code?

Thank you.

Sincerely,
Ewen


Re: [OMPI users] Question about OpenMPI paths

2019-07-25 Thread Ewen Chan via users
All:

Whoops.

My apologies to everybody. Accidentally pressed the wrong combination of 
buttons on the keyboard and sent this email out prematurely.

Please disregard.

Thank you.

Sincerely,
Ewen


From: users  on behalf of Ewen Chan via users 

Sent: July 25, 2019 10:19 AM
To: users@lists.open-mpi.org 
Cc: Ewen Chan 
Subject: [OMPI users] Question about OpenMPI paths

To Whom It May Concern:

I am trying to run Converge CFD by Converge Science using OpenMPI in CentOS 
7.6.1810 x86_64 and I am getting the error:

bash: orted: command not found

I've already read the FAQ: 
https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path

Here's my system setup, environment variables, etc.

OpenMPI version 1.10.7

Path to mpirun: /usr/lib64/openmpi/bin
Path to openmpi libs: /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

$ cat /home/user/cluster/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
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

[OMPI users] bash: orted: command not found -- ran through the FAQ already

2019-07-25 Thread Ewen Chan via users
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

[OMPI users] Question about OpenMPI paths

2019-07-25 Thread Ewen Chan via users
To Whom It May Concern:

I am trying to run Converge CFD by Converge Science using OpenMPI in CentOS 
7.6.1810 x86_64 and I am getting the error:

bash: orted: command not found

I've already read the FAQ: 
https://www.open-mpi.org/faq/?category=running#adding-ompi-to-path

Here's my system setup, environment variables, etc.

OpenMPI version 1.10.7

Path to mpirun: /usr/lib64/openmpi/bin
Path to openmpi libs: /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

$ cat /home/user/cluster/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
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users