<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>3967</bug_id>
          
          <creation_ts>2005-12-01 18:58</creation_ts>
          <short_desc>CAMPAIGN: WS-GRAM TeraGrid SoftEnv Extensions</short_desc>
          <delta_ts>2007-08-22 15:29:07</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>GRAM</product>
          <component>wsrf scheduler interface</component>
          <version>development</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.2</target_milestone>
          
          <blocked>4048</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Lane">lane@mcs.anl.gov</reporter>
          <assigned_to name="Peter Lane">lane@mcs.anl.gov</assigned_to>
          <cc>bester@mcs.anl.gov</cc>
    
    <cc>lane@mcs.anl.gov</cc>
    
    <cc>smartin@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="Peter Lane">lane@mcs.anl.gov</who>
            <bug_when>2005-12-01 18:58:17</bug_when>
            <thetext>Title: WS-GRAM TeraGrid SoftEnv Extensions

Projects: TeraGrid

	
Technologies:	Globus Resource Allocation Manager (GRAM)


Definition:

TeraGrid has specifically asked for support in GRAM for specifying SoftEnv
commands that configure the software environment for the job process. TeraGrid
has requested that this be done by early December, and as such a more general
framework for specifying software environment requriemnts is not the intention
of this campaign. The request specifies that some mechanism should be employed
to invoke SoftEnv commands before the job process is started with the intent of
setting up the job process&apos;s software environment. An extension to the job
description as well as LSF, PBS, and Fork Perl resource manager adapter support
for such extensions is proposed. TeraGrid also uses Condor, but the method for
transmitting SoftEnv commands to Condor jobs has not be defined in TeraGrid&apos;s
requirements and will be the subject of a future campaign.

Since LSF and PBS use an extended shell script format for their job description
documents, this can be accomplished by simply adding commands before the
executable. For Fork, though, a wrapper script will be needed. This feature is
designed for distribution only to TeraGrid, and as such will not be part of the
main CVS branches. Any future endeavor to create a general framework for
specifying software environemnt requirements will deprecate this campaign.

The schema for the extension element for software selection shall be as follows:

&lt;element name=&quot;softenv&quot; type=&quot;xsd:string&quot;&gt;

For example, to add the SoftEnv commands &quot;@teragrid-basic&quot;, &quot;+intel-compilers&quot;,
&quot;+mpich-gm-1.2.5..14b-intel-r1&quot;, &quot;+atlas&quot;, and &quot;+tgcp&quot; to the job process&apos;s
environent, the user would specify the following &quot;extensions&quot; element in the job
description:

&lt;extensions&gt;
  &lt;softenv&gt;@teragrid-basic&lt;/softenv&gt;
  &lt;softenv&gt;+intel-compilers&lt;/softenv&gt;
  &lt;softenv&gt;+mpich-gm-1.2.5..14b-intel-r1&lt;/softenv&gt;
  &lt;softenv&gt;+atlas&lt;/softenv&gt;
  &lt;softenv&gt;+tgcp&lt;/softenv&gt;
&lt;/extensions&gt;


Deliverables:

1) LSF, PBS, and Fork update packages for 4.0.1 containing support for the
&quot;softenv&quot; extension element.
2) Documentation for 4.0.1 indicating how to install and use the update packages
(not published with main doc).

Tasks:

1) Add support to the PBS adapter perl module to append appropriate SoftEnv
commands to the job script.
2) Add support to the LSF adapter perl module to append appropriate SoftEnv
commands to the job script.
3) Add support to the Fork adapter perl module to create a job process wrapper
script and append appropriate SoftEnv commands to that script.
4) Generate a new globus_gram_job_manager_setup_pbs update package
5) Generate a new globus_gram_job_manager_setup_fork update package
6) Create 4.0.1 documentation describing how to install and use the update packages.

Time Estimate:

7 days</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Peter Lane">lane@mcs.anl.gov</who>
            <bug_when>2005-12-01 19:00:09</bug_when>
            <thetext>Completed support for SoftEnv in the PBS adapter. I created a branch off of the
trunk name &quot;gram_softenv_branch&quot; where this code will reside.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Peter Lane">lane@mcs.anl.gov</who>
            <bug_when>2005-12-02 16:51:06</bug_when>
            <thetext>PBS, LSF, and Fork update packages are available here:

http://www-unix.mcs.anl.gov/~lane/Globus/TeraGrid.html

This completes all tasks but #6.

A task for the LSF update package was accidentally left out of the campaign
description. That would-be task is also completed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Peter Lane">lane@mcs.anl.gov</who>
            <bug_when>2005-12-07 12:45:21</bug_when>
            <thetext>I documentation blurb was added to the TeraGrid.html document mentioned in
comment #2 yesterday, so the campaign should have been closed. Closing now...</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>