[GE globus] Grid Engine and GT4 *and* GT2

Otheus (aka Timothy J. Shelling) otheus at gmail.com
Fri Jun 30 14:46:29 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. ]

The following patch can be applied to the GT4 version of sge.pm so that it
works with BOTH GT4 and GT2 (in the same GLOBUS_LOCATION).  The dependency
is that GLOBUS_GATEKEEPER is set in the environment for GT2 but *not* for
GT4.

/software/globus/gt4.0.2/lib/perl/Globus/GRAM/JobManager$ diff -iw
sge-gt4.pm  sge.pm.orig

74d73
<     my $rsh_env;
78d76
<     my $cache_pgm = "$Globus::Core::Paths::bindir/globus-gass-cache";
82,83d79
<     $despstdout = $description->stdout();
<     # $self->log("$despstdout");
187,192d182
<     if (exists $ENV{"GLOBUS_GATEKEEPER"}) {
<       system("$cache_pgm -add -t $tag -n $script_url file:/dev/null");
<       $sge_job_script_name = `$cache_pgm -query -t $tag $script_url`;
<       chomp($sge_job_script_name);
<     }
<     else {
194,198d183
<     }
<     if($sge_job_script_name eq "")
<     {
<       return Globus::GRAM::Error::TEMP_SCRIPT_FILE_FAILED();
<     }



More information about the gridengine-users mailing list