[Swift-devel] Swift command not recognizing options

Jonathan Monette jonmon at mcs.anl.gov
Tue Oct 11 17:47:35 CDT 2011


Ok.  It looks like the log and swift is recognizing the site correctly.  Not sure why it is printing out the "/home/jonmon/Library/Swift/bin/../etc/sites.xml" business or why the Swift version reports that this is 0.93 when this is trunk.  I changed all the swift.properties that I know of that Swift could default too so that it is now "wrapper.log.always.transfer" and not "wrapperlog.always.transfer".  And I am still getting this error saying that I have it set.  Is anyone else experiencing issues in trunk similar to this problem?

On Oct 11, 2011, at 5:23 PM, Jonathan Monette wrote:

> Hello,
>   I do not believe Swift is honoring any options passed to it in trunk.  Here is my command line:
> 	swift -sites.file sites.xml -tc.file tc.data -config swift.properties montage.swift
> 
> But the execution goes like this:
> [jonmon at communicado: ~/PADS/Swift/SwiftMontage/m101_tutorial/run.0030]$ swift -sites.file sites.xml -tc.file tc.data -config swift.properties montage.swift 
> Swift version: 0.93
> /home/jonmon/Library/Swift/bin/../etc/sites.xml
> Swift svn swift-r5219 cog-r3296
> 
> RunID: 20111011-1719-std6z8pa
> (input): found 10 files
> Progress:  time: Tue, 11 Oct 2011 17:19:25 -0500
> Progress:  time: Tue, 11 Oct 2011 17:19:28 -0500  Selecting site:8  Stage in:1  Submitting:1
> Progress:  time: Tue, 11 Oct 2011 17:19:31 -0500  Selecting site:8  Active:1  Checking status:1
> EXCEPTION Exception in mProjectPP_wrap:
> Arguments: [-X, raw_dir/raw_image_3.fits, proj_dir/proj_raw_image_3.fits, header.hdr]
> Host: localhost
> Directory: montage-20111011-1719-std6z8pa/jobs/d/mProjectPP_wrap-dc0bd6hk
> stderr.txt: 
> 
> stdout.txt: 
> 
> ----
> 
> Caused by: Swift config property "wrapperlog.always.transfer" not found in Swift configuration [swift.properties]
> 
> Execution failed:
> 	EXCEPTION Exception in mProjectPP_wrap:
> Arguments: [-X, raw_dir/raw_image_7.fits, proj_dir/proj_raw_image_7.fits, header.hdr]
> Host: localhost
> Directory: montage-20111011-1719-std6z8pa/jobs/c/mProjectPP_wrap-cc0bd6hk
> stderr.txt: 
> 
> stdout.txt: 
> 
> ----
> 
> Caused by: Swift config property "wrapperlog.always.transfer" not found in Swift configuration [swift.properties]
> 
> Swift config property "wrapperlog.always.transfer" not found in Swift configuration [swift.properties]
> 
> I do not have wrapperlog.always.transfer in my properties file.  I have wrapper.log.always.transfer:
> Swift config property "wrapperlog.always.transfer" not found in Swift configuration [swift.properties]
> [jonmon at communicado: ~/PADS/Swift/SwiftMontage/m101_tutorial/run.0030]$ cat swift.properties
> execution.retries=0
> sitedir.keep=true
> status.mode=provider
> wrapper.log.always.transfer=true
> foreach.maxthreads=1024
> wrapper.parameter.mode=files
> use.provider.staging=false
> provider.staging.pin.swiftfiles=false
> 
> Did something sneak into the trunk version that doesn't honor the command line options?




More information about the Swift-devel mailing list