Oh - you need to have "-c submit" in the command you're running. It takes three arguments, the manager (-m), the file (-f), and the command (-c).

Charles

On Jul 25, 2007, at 11:08 AM, Masato Asou wrote:

From: Charles Bacon <[EMAIL PROTECTED]>
Subject: Re: [gt-user] globusrun-ws was failed.
Date: Wed, 25 Jul 2007 09:30:02 +0200

On Jul 25, 2007, at 2:40 AM, Masato Asou wrote:

I have tryed globus-job-manager-script.pl command by hand. I got a
following error.

    % $GLOBUS_LOCATION/libexec/globus-job-manager-script.pl -m fork
-f /work/asou/GT/gt4.0.5/tmp/gram_job_mgr26365.tmp
    GRAM_SCRIPT_ERROR:21

Okay.  If you can, could you add some print statements to the perl
code so we can figure out what condition is triggering this error?

It happend at below.

    % cat globus-job-manager-script.pl
    <snip>
        41  if((!defined($manager_name)) ||
        42     (!defined($argument_file)) ||
        43     (!defined($command)))
        44  {
        45      &fail(Globus::GRAM::Error::BAD_SCRIPT_ARG_FILE);
        46  }

                      ASOU Masato [EMAIL PROTECTED]
                 What is Ninf? http://ninf.apgrid.org/


Reply via email to