CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   How can i run OF14 rshssh passwordless (http://www.cfd-online.com/Forums/openfoam-installation/57357-how-can-i-run-of14-rshssh-passwordless.html)

waynezw0618 July 10, 2008 06:01

Hi everyone. i have install t
 
Hi everyone.
i have install the OF 1.4 in a cluster.but when i run foamInstalltest rsh is not accessed

Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes

but i can run rsh of /usr/bin in the shell to connect to the machine which i want to use.but this need i add the /usr/bin to the .bashrc of $HOME.if not the rsh is run in the /usr/kerberos/bin.and there will error message:

connect to address 10.128.0.98: Connection refused
Trying krb4 rlogin...
connect to address 10.128.0.98: Connection refused
trying normal rlogin (/usr/bin/rlogin)

Last login: Thu Jul 10 15:40:11 from cn176
Executing: /home/yjs10023k/OpenFOAM/OpenFOAM-1.4.1/.bashrc
Executing: /home/yjs10023k/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/ensightFoam/bashrc
Executing: /home/yjs10023k/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/paraview/bashrc
[yjs10023k@cn98 yjs10023k]$

and then connect to the machine.

but if i run the OF in the parallel way it looks like OF use the ssh insteady of rsh.and ask for password.but when i enter the password there still error messages:

ssh_exchange_identification: Connection closed by remote host
[cn176:11671] [0,0,0] ORTE_ERROR_LOG: Timeout in file base/pls_base_orted_cmds.c at line 275
[cn176:11671] [0,0,0] ORTE_ERROR_LOG: Timeout in file pls_rsh_module.c at line 1164
[cn176:11671] [0,0,0] ORTE_ERROR_LOG: Timeout in file errmgr_hnp.c at line 90
[cn176:11671] ERROR: A daemon on node cn98 failed to start as expected.
[cn176:11671] ERROR: There may be more information available from
[cn176:11671] ERROR: the remote shell (see above).
[cn176:11671] ERROR: The daemon exited unexpectedly with status 255.
[cn176:11671] [0,0,0] ORTE_ERROR_LOG: Timeout in file base/pls_base_orted_cmds.c at line 188
[cn176:11671] [0,0,0] ORTE_ERROR_LOG: Timeout in file pls_rsh_module.c at line 1196
--------------------------------------------------------------------------
mpirun was unable to cleanly terminate the daemons for this job. Returned value Timeout instead of ORTE_SUCCESS.

--------------------------------------------------------------------------



how can i resolve it?

thanks!!

wayne

waynezw0618 July 11, 2008 04:52

btw how can i run in paralle
 
btw
how can i run in parallel way use mpi of my system instead of openmpi?
when do there is error message :
[yjs10023k@cn176 tutorials]$ mpirun -machinefile interFoam/damBreak/system/machi
nes `which interFoam` interFoam/ damBreak
/home/yjs10023k/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/interFoam : error while loading shared libraries: libPstream.so: cannot open shared object file: No such file or directory


and what will i do?

thanks

yours wayne

waynezw0618 July 11, 2008 06:41

and if i cp a libPstream.so to
 
and if i cp a libPstream.so to $FOAM_LIBBIN/mpi-1.2.5 there still have error:

[yjs10023k@cn176 tutorials]$ mpirun -machinefile interFoam/damBreak/system/machines
`which interFoam` interFoam/ damBreak
/home/yjs10023k/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/interFoam : error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory


i can not find limpi.so.0

how can i do??

thannks

wayne


All times are GMT -4. The time now is 09:50.