[GE users] PVM tight integration

davide cittaro daweonline at gmail.com
Wed Apr 12 10:03:19 BST 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

I tried to see what the rsh wrapper does, adding some 'echo' to custom files...
Surprisingly, to me, there is no echo to the files and I've checked
over all nodes...
Is it possible that the rsh wrapper is not called at all? Tell me if I'm right:

-I add a -catch_rsh option to the PE
-this causes start_pvm to be launched with -n NODE and -c options
-the -c options is interpreted to start_pvm that does:

 if (catch_rsh)
   {
      rsh_argv[0]="rsh";
      rsh_argv[1]=nodename;
      rsh_argv[2]=argv[optind];
      rsh_argv[3]=argv[optind+1];
      rsh_argv[4]=NULL;

      execvp(rsh_argv[0], &rsh_argv[0]);

This means to me that start_pvm calls 'rsh' in any case... regardless
that a symlink to rsh wrapper has been created in $TMPDIR...

Once the qsub has been launched I have

 5299     1  5299 /opt/n1ge6/bin/lx26-amd64/sge_execd
25862  5299 25862  \_ sge_shepherd-39700 -bg
25863 25862 25863      \_ /bin/sh -f /opt/n1ge6/pvm/startpvm.sh
-catch_rsh /opt/n1ge6/omix/spool/node1/active_jobs/39700.1/pe_hostfile
node1.sge.ifom-ieo-campus.it /usr/share/pvm3
25871 25863 25863          \_ /opt/n1ge6/pvm/bin/lx24-amd64/start_pvm
-h 8 -n node1.sge.ifom-ieo-campus.it -c /usr/share/pvm3/lib/pvmd
/tmp/39700.1.bofh.q/hostfile
25872 25871 25863              \_ rsh node1.sge.ifom-ieo-campus.it
/usr/share/pvm3/lib/pvmd /tmp/39700.1.bofh.q/hostfile
25875 25872 25863                  \_ [rsh] <defunct>

on the head node, indicating no qrsh activity, hence no tight
integration... The output of ps command is slightly different to the
one showed on the howto page...

--
dawe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list