Re: [OMPI users] mpirun only work for 1 processor

2020-06-04 Thread Hà Chi Nguyễn Nhật via users
Dear Patrick and all, Finally I solved the problem. I need to mount -t nfs the home directory of host to the node/home And then I can run in the cluster Thank you for your time. Best regards Ha Chi On Thu, 4 Jun 2020 at 17:09, Patrick Bégou < patrick.be...@legi.grenoble-inp.fr> wrote: > Ha Chi,

Re: [OMPI users] mpirun only work for 1 processor

2020-06-04 Thread Patrick Bégou via users
Ha Chi, first running MPI applications as root in not a good idea. You must create users in your rocks cluster without admin rights for all that is not system management. Let me know a little more about how you launch this: 1) Do you run "mpirun" from the rocks frontend or from a node ? 2) Ok

Re: [OMPI users] mpirun only work for 1 processor

2020-06-04 Thread Hà Chi Nguyễn Nhật via users
Dear Patrick, Thanks so much for your reply, Yes, we use ssh to log on the node. From the frontend, we can ssh to the nodes without password. the mpirun --version in all 3 nodes are identical, openmpi 2.1.1, and same place when testing with "whereis mpirun" So is there any problem with mpirun

Re: [OMPI users] mpirun only work for 1 processor

2020-06-04 Thread Patrick Bégou via users
Hi Ha Chi do you use a batch scheduler with Rocks Cluster or do you log on the node with ssh ? If ssh, can you check  that you can ssh from one node to the other without password ? Ping just says the network is alive, not that you can connect. Patrick Le 04/06/2020 à 09:06, Hà Chi Nguyễn Nhật

[OMPI users] mpirun only work for 1 processor

2020-06-04 Thread Hà Chi Nguyễn Nhật via users
Dear Open MPI users, Please help me to find the solution for the problem using mpirun with a ROCK cluster, 3 nodes. I use the command: mpirun -np 12 --machinefile machinefile.txt --allow-run-as-root ./wrf.exe But mpirun was unable to access other nodes (as the below photo). But actually I checked