Please send your e-mails to the list and not directly to me.
Die you try one of the things mentioned in the thread?

1. Does your cluster use rsh or ssh to get jobs/data to nodes?

2. How did you configure GRAM? See
http://www.globus.org/toolkit/docs/4.0/admin/docbook/ch11.html#s-wsgram-admin-configuringscheduleradapters
or
http://www.globus.org/toolkit/docs/4.0/admin/docbook/quickstart.html#q-cluster-gram
for the command to switch from ssh to rsh if needed.
Try to switch and see what happens.

3. What if you submit the job without the streaming option (-s)?

Martin


> Martin
>
> My error say
>
> Host key verification failed.
> /var/spool/torque/mom_priv/jobs/67.debian.SC: line 55: [: too many
> arguments
>
> The files  my_pbs_submit_script and  my_pbs_job are..
>
> ----- my_pbs_submit_script ----------
>
> #! /bin/sh
> # PBS batch job script built by Globus job manager
> #
> #PBS -S /bin/sh
> #PBS -m n
> #PBS -o /home/grupo2/369f30e4-3881-11dc-9508-876236c0a316.0.stdout
> #PBS -e /home/grupo2/369f30e4-3881-11dc-9508-876236c0a316.0.stderr
> #PBS -l nodes=1
> GLOBUS_LOCATION="/usr/local/globus4";
> export GLOBUS_LOCATION;
> X509_CERT_DIR="/etc/grid-security/certificates";
> export X509_CERT_DIR;
> X509_USER_PROXY="";
> export X509_USER_PROXY;
> X509_USER_CERT="";
> export X509_USER_CERT;
> X509_USER_KEY="";
> export X509_USER_KEY;
> HOME="/home/grupo2";
> export HOME;
> LOGNAME="grupo2";
> export LOGNAME;
> SCRATCH_DIRECTORY="/home/grupo2/.globus/scratch";
> export SCRATCH_DIRECTORY;
> JAVA_HOME="/usr/local/jdk1.5.0_12/jre";
> export JAVA_HOME;
> GLOBUS_GRAM_JOB_HANDLE="https://XXXXXXXXXXXX:8443/wsrf/services/ManagedExecutableJobService?3726ab50-3881-11dc-855f-bd27219d02f2";;
> export GLOBUS_GRAM_JOB_HANDLE;
> LD_LIBRARY_PATH=;
> export LD_LIBRARY_PATH;
>
> #Change to directory requested by user
> cd /home/grupo2
>
> hosts=`cat $PBS_NODEFILE`;
> counter=0
> while test $counter -lt 1; do
>     for host in $hosts; do
>         if test $counter -lt 1; then
>             /usr/bin/rsh $host "/bin/sh
> /home/grupo2/.globus/3726ab50-3881-11dc-855f-bd27219d02f2/scheduler_pbs_cmd_script;
> echo \$? >
> /home/grupo2/.globus/3726ab50-3881-11dc-855f-bd27219d02f2/exit.$counter" <
> /dev/null &
>             counter=`expr $counter + 1`
>         else
>             break
>         fi
>     done
> done
> wait
>
> counter=0
> exit_code=0
> while test $counter -lt 1; do
>     /bin/touch
> /home/grupo2/.globus/3726ab50-3881-11dc-855f-bd27219d02f2/exit.$counter;
>
>     read tmp_exit_code <
> /home/grupo2/.globus/3726ab50-3881-11dc-855f-bd27219d02f2/exit.$counter
>     if [ $exit_code = 0 -a $tmp_exit_code != 0 ]; then
>         exit_code=$tmp_exit_code
>     fi
>     counter=`expr $counter + 1`
> done
>
> exit $exit_code
>
> ----- my_pbs_job ------
>
>
> #!/bin/sh
> cd /home/grupo2
> GLOBUS_LOCATION="/usr/local/globus4";
> export GLOBUS_LOCATION;
> X509_CERT_DIR="/etc/grid-security/certificates";
> export X509_CERT_DIR;
> X509_USER_PROXY="";
> export X509_USER_PROXY;
> X509_USER_CERT="";
> export X509_USER_CERT;
> X509_USER_KEY="";
> export X509_USER_KEY;
> HOME="/home/grupo2";
> export HOME;
> LOGNAME="grupo2";
> export LOGNAME;
> SCRATCH_DIRECTORY="/home/grupo2/.globus/scratch";
> export SCRATCH_DIRECTORY;
> JAVA_HOME="/usr/local/jdk1.5.0_12/jre";
> export JAVA_HOME;
> GLOBUS_GRAM_JOB_HANDLE="https://157.253.42.124:8443/wsrf/services/ManagedExecutableJobService?3726ab50-3881-11dc-855f-bd27219d02f2";;
> export GLOBUS_GRAM_JOB_HANDLE;
> LD_LIBRARY_PATH=;
> export LD_LIBRARY_PATH;
>
> /bin/date
>
>
> Where is the error?
>
> Thanks,
>
> Ricardo Herrera
>
>
>
>
>
>
>
>
> ----- Mensaje original -----
> De: Martin Feller <[EMAIL PROTECTED]>
> Fecha: Domingo, Julio 22, 2007 1:50 pm
> Asunto: Re: [gt-user] PBS job error
> A: gt-user <[email protected]>
>
>> Charles probably wants to say the following:
>> $GLOBUS_LOCATION/lib/perl/Globus/GRAM/JobManager/pbs.pm is the perl
>> module that's responsible for sending jobs to a pbs-controlled
>> cluster. If you want to check how that submit script and the job
>> that gets submitted exactly look like you can insert some Perl code
>> to copy the generated scripts before they get removed.
>> You can have a look at it then.
>>
>> You could do this by adding
>>     system("cp $pbs_job_script_name
>> /tmp/my_pbs_submit_script");after
>>     close(JOB);
>> and
>>     system("cp $cmd_script_name /tmp/my_pbs_job");
>> after
>>     close(CMD);
>>
>> The first one is the submit script, the second one is your
>> job script
>>
>> Martin
>>
>> >
>> > This is the solution... but I dont Understand this part from
>> Charles.>
>> > ""Ahead of that line you can put in a command to save the
>> script that's
>> > about to go to qsub so you can inspect it at your leisure.""
>> >
>> > Please, help me....
>> >
>> > Thanks
>> >
>> > Ricardo Herrera
>> >
>> >
>> > ----- Mensaje original -----
>> > De: [EMAIL PROTECTED]
>> > Fecha: Sábado, Julio 21, 2007 11:53 pm
>> > Asunto: Re: [gt-user] PBS job error
>> > A: Ricardo Enrique Herrera Hernandez
>> <[EMAIL PROTECTED]>> CC: gt-user <[email protected]>
>> >
>> >  > Ricardo,
>> >  > Does
>> >  >
>> http://www.globus.org/mail_archive/discuss/2007/07/msg00006.html>  > and
>> especially what Charles mentioned helps you with this?
>> >  > Martin
>> >  >
>> >  > > Hi
>> >  > >
>> >  > > I run the next job with globus - Torque PBS
>> >  > >
>> >  > > globusrun-ws -submit -factory-type PBS -s -job-
>> command /bin/hostname
>> >  > >
>> >  > > But I had the next error in stderr
>> >  > >
>> >  > > Host key verification failed.
>> >  > > /var/spool/torque/mom_priv/jobs/61.debian.SC: line
>> 55: [: too many
>> >  > > arguments
>> >  > >
>> >  > > Any idea?
>> >  > >
>> >  > > Thanks
>> >  > >
>> >  > > Ricardo Herrera
>> >  > >
>> >  > >
>> >  >
>> >  >
>> >  >
>>
>>
>


Reply via email to