<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
we don't want to do that ("carry the project
information on a per job basis, and charge it to a (potentially)
different project each job")<br>
<br>
Ioan Raicu wrote:
<blockquote cite="mid:464358D0.1060402@cs.uchicago.edu" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
So I made the modifications to the code that generates the GRAM RSL to
take a command line arguement -project ..., which then is simply passed
to the RSL file as <project> ... </project>.  At the
moment, this is something that needs to be set in Falkon at startup,
and all resources provisioned by Falkon will use the same project.  
For now I think we have a solution that works at the various TG sites,
and it is not tightly integrated with Swift.  <br>
  <br>
The issue is much more complex if you want Swift to carry the project
information on a per job basis, and charge it to a (potentially)
different project each job.  <br>
  <br>
Ioan<br>
  <br>
Ben Clifford wrote:
  <blockquote
 cite="mid:Pine.LNX.4.64.0705101018570.20212@dildano.hawaga.org.uk"
 type="cite">
    <pre wrap="">not sure whether you're looking to make this code more closely integrated 
with swift and/or a product rather than a research project, but you might 
make the below submission use profile information from the site catalog 
(and transformation catalog?) - it doesn't look like you're doing anything 
fancy in the submission.

On Wed, 9 May 2007, Ioan Raicu wrote:

  </pre>
    <blockquote type="cite">
      <pre wrap="">Hmmm... I don't know.  If you know what modifications we need to make to the
GRAM4 RSL to include the specific project, we can simply modify the RSL by
changing the create function to add the extra info into the RSL... its a minor
change, but we'd have to recompile the DRP stuff again.  If we can't add it to
the RSL, then I don't know any other place to put this.  Anyone have any
ideas?  I am using the GRAM4 Java API directly in the DRP code.

Ioan

PS: Here is a sample RSL...

<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:iraicu@tg-viz-login1:%7E/java/Falkon_v0.8/worker">iraicu@tg-viz-login1:~/java/Falkon_v0.8/worker</a>> cat
RSL.0.0.ia32-compute.1.120.14898358.xml
<job>
   <executable>/home/iraicu/java/Falkon_v0.8/worker/run.worker.sh</executable>
   <directory>/home/iraicu/java/Falkon_v0.8/worker</directory>
   <argument>6900000</argument>
   <argument>1500000</argument>
   <maxWallTime>120</maxWallTime>
   <extensions>
        <resourceAllocationGroup>
           <hostType>ia32-compute</hostType>
           <hostCount>1</hostCount>
           <cpuCount>1</cpuCount>
           <processCount>1</processCount>
        </resourceAllocationGroup>
    </extensions>
</job>

My guess is that we could add something like
<project> ... </project>
but I am not sure...

If no one knows how to do this off the top of their heads, I'll look it up!

Veronika Nefedova wrote:
    </pre>
      <blockquote type="cite">
        <pre wrap="">Hi, Ioan:

How do I add my project info into Falcon? (I can't submit anything to PBS
queue unless I specify the project)

Nika

On May 9, 2007, at 12:16 PM, Ben Clifford wrote:

      </pre>
        <blockquote type="cite">
          <pre wrap="">Do this:

edit your site catalog to add an entry <profile namespace="globus"
key="project">TG-STA040020N</profile> for the purdue site, add an entry
<profile namespace="globus"
key="project">TG-WHATEVERYOURGRANTNUMBERIS</profile>

-- 

        </pre>
        </blockquote>
        <pre wrap="">      </pre>
      </blockquote>
      <pre wrap="">    </pre>
    </blockquote>
    <pre wrap=""><!---->
  </pre>
  </blockquote>
  <br>
  <pre class="moz-signature" cols="72">-- 
============================================
Ioan Raicu
Ph.D. Student
============================================
Distributed Systems Laboratory
Computer Science Department
University of Chicago
1100 E. 58th Street, Ryerson Hall
Chicago, IL 60637
============================================
Email: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:iraicu@cs.uchicago.edu">iraicu@cs.uchicago.edu</a>
Web:   <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.cs.uchicago.edu/%7Eiraicu">http://www.cs.uchicago.edu/~iraicu</a>
       <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://dsl.cs.uchicago.edu/">http://dsl.cs.uchicago.edu/</a>
============================================
============================================
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Swift-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a>
<a class="moz-txt-link-freetext" href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

   Ian Foster, Director, Computation Institute
Argonne National Laboratory & University of Chicago
Argonne: MCS/221, 9700 S. Cass Ave, Argonne, IL 60439
Chicago: Rm 405, 5640 S. Ellis Ave, Chicago, IL 60637
Tel: +1 630 252 4619.  Web: <a class="moz-txt-link-abbreviated" href="http://www.ci.uchicago.edu">www.ci.uchicago.edu</a>.
      Globus Alliance: <a class="moz-txt-link-abbreviated" href="http://www.globus.org">www.globus.org</a>.
</pre>
</body>
</html>