When i run a MPI program,it was right when i use fixed IP of VM,but when i run the program with floating IP,there is something wrong as follows.

asked 2015-09-02 07:24:49 -0500

sculiuyun gravatar image

updated 2015-09-03 21:11:36 -0500

Hi Community,

When i run a MPI program with my OpenStack cluster(install with official document), it was right when i use fixed IP of VM,but when i run the program with floating IP,there is something wrong as follows. Is here someone can help me.

When i run program with fixed IP of VM, it runs right,when i run with the floating IP of VM,there is something wrong as follows.

HYDU_sock_connect (./utils/sock/sock.c:203) : unable to connect to "hostname_1" to "hostname_2"(connection refused).

Main(.pm/pmiserv/pmip.c:209) unable to connect to server "hostname_2" at port 39490(check for firewalls!)

I am very confused that the program can run with fixed IP, but can't run with floating IP,is here somthing wrong with my security group rules or other things ? who can help me, thanks!!!

ps:my security group rules. my security group rules

More INFO : My MPI program is runing a Mandelbrot Algorithm, MPI environment is mpich2.

Before I run the program,I have done follows: 1. Define hostnames by editing the file: /etc/hosts 2. Configure ssh for connecting without a password.

my VM is booted from the some image,singal VM is all right(both use floating ip and fixed ip),when i run the program with two or more VM , use fixed IP of VM is all right, but when I use floating IP with VM,the program cause something exception like I described.

edit retag flag offensive close merge delete

Comments

I have no idea what MPI is and what it does. Maybe edit the question to explain more of that and what IP should the two hostnames have: are there two instances? can you ssh into them? edit the question as you keep debugging

smaffulli gravatar imagesmaffulli ( 2015-09-03 11:49:55 -0500 )edit