[Swift-user] external mapper

Mihael Hategan hategan at mcs.anl.gov
Thu Sep 9 12:01:55 CDT 2010


On Thu, 2010-09-09 at 11:50 -0500, Jonathan Monette wrote:
> Hello,
>      How do I pass parameters to the script in the external mapper?  I 
> see there is a -symbol option but how does that work?  What does the 
> syntax look like?

Any mapper parameter will be passed as "-param" "value" to the argv of
the script.

So:

file f <external_mapper;exec="myscript",a="v1",b="v2">;

should result in 
"exec -a v1 -b v2"

Mihael





More information about the Swift-user mailing list