CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   How to force hp-mpi a certain IP (https://www.cfd-online.com/Forums/cfx/73364-how-force-hp-mpi-certain-ip.html)

grandmasterm March 5, 2010 11:47

How to force hp-mpi a certain IP
 
Hello everbody

Sometimes my connection gets lost and hp-mpi sets the ip to 127.0.0.1 and looses remote lic server. Is there a possibility to force with the cfxsolve command to connect to an solid IP? i know the rule with mpirun -netaddr but i dont get it with CFXSOLVE. Anyone has the same problem and can help?

Greetz,
GrandM

ghorrocks March 6, 2010 04:47

Easy - rather than referring to the machine by its machine name give it the IP address. It should work fine.

grandmasterm March 6, 2010 05:53

can you give me an example with 4 partitions?

like

cfxsolve -def bla.def- startmethod "mpichloc....parallel" - part 4 -netaddresorsso?!?


i tried many commands but all do not seem to work. I simply dont know where to the ip. And i dont know neither if i can put it somewhere in the cfx pre GUI.

ghorrocks March 6, 2010 06:09

No, you will have to define the machines as IP addresses in the hosts.ccl file in <CFX ROOT>/config directory. (I think that's right, I am doing this from memory)

grandmasterm March 11, 2010 10:17

hello! I think you mean the hostinfo.ccl ?

SIMULATION CONTROL:
EXECUTION CONTROL:
PARALLEL HOST LIBRARY:
HOST DEFINITION: ********
Remote Host Name = +++++++++
Installation Root = C:\Program Files\ANSYS Inc\v%v\CFX
Host Architecture String = winnt
END # HOST DEFINITION ******
END # PARALLEL HOST LIBRARY
END # EXECUTION CONTROL
END # SIMULATION CONTROL


when i change host definition or remote host name to an ip instead of hostname its still not using the defined ip.

or do i have to change it somewhere else?

the mpirun option is -netaddr , so maybe i can add this line somewhere in the cfxsolve routine?

this cannot be so hard, to point the hp-mpi to a certain ip, can it?
greetz


All times are GMT -4. The time now is 19:45.