[Swift-devel] error in Swift

Mihael Hategan hategan at mcs.anl.gov
Thu Jun 23 13:29:47 CDT 2011


This was present when using provider staging. Fixed in r4667.

On Tue, 2011-06-21 at 15:34 -0500, Jonathan Monette wrote:
> Hello,
>    I found an error when Swift creates the command line script it uses to execute.  Here is the script:
> 
> #!/bin/bash
> "/home/jonmon/Library/Montage/bin/mProject" "[-X, raw_dir/raw_image_4.fits, proj_dir/proj_raw_image_4.fits, header.hdr]" 1>"stdout.txt" 2>"stderr.txt"
> 
> 
> That script was generated by Swift.  The "[", "]", and "," are not supposed to be there.  
> 
> Here is the config file and sites file:
> execution.retries=0
> sitedir.keep=true
> status.mode=provider
> wrapper.log.always.transfer=true
> foreach.maxthreads=1024
> wrapper.parameter.mode=files
> use.provider.staging=true
> provider.staging.pin.swiftfiles=false
> 
> <config>
> <pool handle="localhost">
>    <execution provider="local" />
>    <filesystem provider="local" />
>    <workdirectory>/gpfs/pads/swift/jonmon/Swift/work/localhost</workdirectory>
>  
>    <profile namespace="karajan" key="jobThrottle">.05</profile>
>  
>    <profile namespace="env" key="SWIFT_GEN_SCRIPTS">KEEP</profile>
>  </pool>
>  <pool handle="pads">
>      <execution provider="coaster" jobmanager="ssh:pbs" url="login.pads.ci.uchicago.edu" />
>      <filesystem provider="local" />
>      <profile namespace="globus" key="project">CI-CCR000013</profile>
>      <workdirectory>/gpfs/pads/swift/jonmon/Swift/work/pads</workdirectory>
>  
>      <profile namespace="globus" key="maxtime">3600</profile>
>      <profile namespace="globus" key="jobsPerNode">1</profile>
>      <profile namespace="globus" key="slots">500</profile>
>      <profile namespace="globus" key="nodeGranularity">1</profile>
>      <profile namespace="globus" key="maxNodes">1</profile>
>      <profile namespace="globus" key="queue">fast</profile>
>  
>      <profile namespace="karajan" key="jobThrottle">5</profile>
>      <profile namespace="karajan" key="initialScore">10000</profile>
>  
>      <profile namespace="env" key="SWIFT_GEN_SCRIPTS">KEEP</profile>
>  </pool>
> </config>
> 
> attached is the log file.  The error that was reported came from the app call.  It said the wrong usage because the command line had those extra symbols in them.  I have a feeling it has something to do with the last two lines in the config file but I am basing that completely on the fact that if I remove those two line the scripts run to completion.
> 
> 





More information about the Swift-devel mailing list