[OMPI users] Firewall settings for MPI communication

2016-06-01 Thread Ping Wang
I'm using Open MPI 1.6.5 to run OpenFOAM in parallel on several VMs on a cloud. mpirun hangs without any error messages. I think this is a firewall issue. Because when I open all the TCP ports(1-65535) in the security group of VMs, mpirun works well. However I was suggested to open as less ports

Re: [OMPI users] Firewall settings for MPI communication

2016-06-01 Thread Gilles Gouaillardet
which network are your VMs using for communications ? if this is tcp, then you also have to specify a restricted set of allowed ports for the tcp btl that would be something like mpirun --mca btl_tcp_dynamic_ports 49990-50010 ... please double check the Open MPI 1.6.5 parameter and syntax with om

Re: [OMPI users] users Digest, Vol 3514, Issue 1

2016-06-01 Thread Megdich Islem
Hi! Thank you Jeff for you suggestion. But, I am still not able to understand what do you mean by using absolute path names to for mpicc/mpifort-mpirun/mpiexec ? This is how my .bashrc looks like source /opt/openfoam30/etc/bashrc export PATH=/home/Desktop/mpich/bin:$PATHexport LD_LIBRARY_PATH="/h

Re: [OMPI users] Firewall settings for MPI communication

2016-06-01 Thread Jeff Squyres (jsquyres)
In addition, you might want to consider upgrading to Open MPI v1.10.x (v1.6.x is fairly ancient). > On Jun 1, 2016, at 7:46 AM, Gilles Gouaillardet > wrote: > > which network are your VMs using for communications ? > if this is tcp, then you also have to specify a restricted set of allowed >

Re: [OMPI users] users Digest, Vol 3514, Issue 1

2016-06-01 Thread Jeff Squyres (jsquyres)
The example you list below has all MPICH paths -- I don't see any Open MPI setups in there. What I was suggesting was that if you absolutely need to have both Open MPI and MPICH installed and in your PATH / LD_LIBRARY_PATH / MANPATH, then you can use the full, absolute path name to each of the

Re: [OMPI users] users Digest, Vol 3518, Issue 2

2016-06-01 Thread Megdich Islem
Hi! Thank you Jeff. I was able to run a case of OF  by setting the absolute path name  for mpiexec. But, when I wanted to run a coupled case in which  OF is coupled with dummyCSM through EMPIRE using these three command lines: mpiexec -np 1 Emperor emperorInput.xml mpiexec -np 1 dummyCSM dummyCSM

Re: [OMPI users] users Digest, Vol 3518, Issue 2

2016-06-01 Thread Jeff Squyres (jsquyres)
I'm afraid I don't know much about OpenFoam. You'll likely need to ask assistance from the OpenFoam community. > On Jun 1, 2016, at 6:13 PM, Megdich Islem wrote: > > Hi! > > Thank you Jeff. I was able to run a case of OF by setting the absolute path > name for mpiexec. But, when I wanted