[Swift-devel] Re: Provenance use case
    Ben Clifford 
    benc at hawaga.org.uk
       
    Fri Mar 27 16:16:28 CDT 2009
    
    
  
On Thu, 26 Mar 2009, Ben Clifford wrote:
> Another way is to gather the information during each run, by allowing 
> users to specify something like "run this command at the start of each 
> job, and store its text output somewhere".
Swift r2748 adds a SWIFT_EXTRA_INFO environment setting, that you can use 
like this:
  <pool handle="localhost">
    <gridftp  url="local://localhost" />
    <execution provider="local" />
    <workdirectory >/var/tmp</workdirectory>
    <profile namespace="karajan" key="jobThrottle">0</profile>
<profile namespace="env" key="SWIFT_EXTRA_INFO">echo monkey foo</profile>
  </pool>
to get a line like this in your wrapper log:
EXTRAINFO=monkey foo
See if you can get the version information you want passed back through 
that mechanism.
-- 
    
    
More information about the Swift-devel
mailing list