<?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>6069</bug_id>
          
          <creation_ts>2008-05-08 09:22</creation_ts>
          <short_desc>JDD documentation issues</short_desc>
          <delta_ts>2012-09-05 13:44:48</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>GRAM</product>
          <component>Doc</component>
          <version>4.0.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <bug_file_loc>http://www.globus.org/toolkit/docs/4.0/execution/wsgram/schemas/gram_job_description.html</bug_file_loc>
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Steve White">swhite@aip.de</reporter>
          <assigned_to name="Martin Feller">feller@mcs.anl.gov</assigned_to>
          <cc>cristina@isi.edu</cc>
    
    <cc>feller@mcs.anl.gov</cc>
    
    <cc>smartin@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="Steve White">swhite@aip.de</who>
            <bug_when>2008-05-08 09:22:35</bug_when>
            <thetext>Hi,

While much of your documentation is quite helpful, I noticed that the entries for several of the JDD Elements are incomplete or misleading.

I am aware that you meant to move to JSDL, but you should check that the corresponding entries for JSDL are clear as well.

argument
========
&quot;A command line argument for the executable. Each argument is a separate element within the job description. Spaces and quotes within an argument will preserved literally.&quot;

This only tells part of the story.

It needs to be stressed that one argument section per executable argument token must be.  

An example is in order.  To execute a shell script, one needs
	&lt;executable&gt;/bin/sh&lt;/executable&gt;
	&lt;argument&gt;-c&lt;/argument&gt;
	&lt;argument&gt;echo &quot;Ran script!&quot;&lt;/argument&gt;

minMemory
=========
&quot;Explicitly set the minimum amount of memory for a single execution of the executable. The units is in Megabytes. The value will go through an atoi() conversion in order to get an integer. If the GRAM scheduler cannot set minMemory, then an error will be returned.&quot;

The phrase &quot;for a single execution of the executable&quot; perhaps would be better said as &quot;per executable process&quot;.

The last statement appears to be false.  I never saw it fail, after setting minMemory to various values.  Maybe it should say &quot;might return an error, then again, maybe not&quot;

Obvious question:  when submitting to a non-shared-memory host with multiple compute cores per node, will this setting alter the number of processes per node to obtain the requested memory? (evidently not)


maxMemory
=========
&quot;Explicitly set the maximum amount of memory for a single execution of the executable. The units is in Megabytes. The value will go through an atoi() conversion in order to get an integer. If the GRAM scheduler cannot set maxMemory, then an error will be returned.&quot;

This wording is bewildering, when compared with that of minMemory.  
	
I think one of them is meant to be a contract with a job management system to aid in efficient allocation (like maxWallTime), and the other was originally meant as a means of adjusting the amount of memory actually allocated to each process.  

But I can&apos;t verify that they are really implemented this way.

Generally, it would be good to make a notation about the function of the elements: which elements constitute such contracts with a job manager, and which actually alter something in the run environment.

maxWalltime
maxTime
===========
distinction bewildering.

The former says &quot;walltime&quot;, while the latter only says &quot;walltime or cputime&quot;, but since cputime is always going to be less than walltime... don&apos;t the do both do the same thing?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Martin Feller">feller@mcs.anl.gov</who>
            <bug_when>2008-05-16 11:33:07</bug_when>
            <thetext>Updated the documentation for the argument element, and replaced
&quot;for a single execution of the executable&quot; by
&quot;per executable process&quot; in 4.0 and 4.2 docs.

The other items seem to need some more care.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Stuart Martin">smartin@mcs.anl.gov</who>
            <bug_when>2012-09-05 13:44:48</bug_when>
            <thetext>Doing some bugzilla cleanup...  Resolving old GRAM3 and GRAM4 issues that are no longer relevant since we&apos;ve moved on to GRAM5.  Also, we&apos;re now tracking issue in jira.  Any new issues should be added here:

http://jira.globus.org/secure/VersionBoard.jspa?selectedProjectId=10363</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>