[Swift-user] Argument list to long

Mihael Hategan hategan at mcs.anl.gov
Sun Oct 10 22:24:44 CDT 2010


I can't reproduce this.

Can you paste the parameter file and info files (if you have those) from
this invocation?

Also, has the swift script changed since you last mentioned it?

On Sun, 2010-10-10 at 20:08 -0500, Jonathan Monette wrote:
> Ok.  Thanks.  That got it for me.
> 
> #!/bin/bash
> "/home/jonmon/Library/Montage/bin/mProject" "-X 
> raw_dir/2mass-atlas-000315s-j0330245.fits 
> proj_dir/proj_2mass-atlas-000315s-j0330245.fits|header.hdr" 
> 1>"stdout.txt" 2>"stderr.txt"
> 
> Why is there at "|" right before the parameter header?  If I were to run 
> this by hand in a shell, the command would be
> /home/jonmon/Library/Montage/bin/mProject -X 
> raw_dir/2mass-atlas-000315s-j0330245.fits 
> proj_dir/proj_2mass-atlas-000315s-j0330245.fits header.hdr
> 
> Is this how it is supposed to be? I thought | in bash meant pipe output 
> from left into whats on the right?
> 
> On 10/10/10 7:55 PM, Mihael Hategan wrote:
> > On Sun, 2010-10-10 at 19:51 -0500, Jonathan Monette wrote:
> >> This environment variable can be set to anything? As long as it is not
> >> null? For instance in my login shell I can execute the command:
> >> export SWIFT_GEN_SCRIPTS=1
> >> and it will generate these run.sh?
> > Not unless the jobs magically inherit your login environment.
> >
> > I.e., set it in sites.xml for each site you want this to work on.
> >
> >
> 





More information about the Swift-user mailing list