CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   [Solution] Fluent hangs on exit in a 2 nodes cluster (https://www.cfd-online.com/Forums/fluent/144109-solution-fluent-hangs-exit-2-nodes-cluster.html)

ghost82 November 9, 2014 09:11

[Solution] Fluent hangs on exit in a 2 nodes cluster
 
Hi all,
I noticed that fluent always hangs when I tipe exit in the command window, or if I exit from the menu.
I'm running fluent in a 2 nodes cluster with sles (machine hostnames are Workstation and Workstation2).
The cluster is offline, so I decided to use rsh instead off ssh.

By looking at the cleanup script created by fluent you can see something like this:

Code:

/usr/ansys_inc/v150/fluent/bin/fluent-cleanup.pl Workstation 49271 CLEANUP_EXITING

LOCALHOST='hostname'
if [ $LOCALHOST = Workstation2 ]; then kill -9 7639; else ssh Workstation2 kill -9 7639; fi

...and so on for each process on Workstation2....

if [ $LOCALHOST = Workstation ]; then kill -9 15559; else ssh Workstation kill -9 15559; fi


...and so on for each process on Workstation....

rm -f /home/daniele/Desktop/Fluent/cleanup-fluent-Workstation-14667.sh

If I type "hostname" in a linux shell the reply is Workstation.
So this means that Workstation kills the local processes and tries to ssh Workstation2 to kill the other processes: however Workstation2 requests a password to login, and that's where I think fluent hangs.
But I'm using passwordless rsh with openmpi...why fluent creates this script with ssh commands???

My solution was to set up passwordless ssh login and now fluent can exit without problems.


All times are GMT -4. The time now is 06:29.