[Swift-devel] Re: passing types and variables in swift
andrewj at uchicago.edu
andrewj at uchicago.edu
Thu Oct 4 09:48:28 CDT 2007
Mike,
Your question does make sense. I am looking for the most
general model and configurable model which would allow us to
not have to mess with the swift script as much as possible,
but rather simply be able to dump a set of parameter setting
files som,ewhere and swift pick them up and arrange things
based on this.
And yes, this is due in part to the concern of very long
lists. But maybe I am over thinking things for right now.
Maybe it will work out just as efficiently to have mulitple
swift WF codes with the different param settings.
I think however for the time being I will create the work flow
to just use the parameter settings in the Swift code itself.
Thanks,
Andrew
---- Original message ----
>Date: Thu, 04 Oct 2007 09:24:51 -0500
>From: Michael Wilde <wilde at mcs.anl.gov>
>Subject: Re: passing types and variables in swift
>To: andrewj at uchicago.edu
>Cc: Ben Clifford <benc at hawaga.org.uk>, Mihael Hategan
<hategan at mcs.anl.gov>, swift-devel at ci.uchicago.edu
>
>I'll try to push forward with this as Ben is focusing on SC
tutorials today.
>
>Andrew, lets try to make a simple model of your workflow that
we can
>actually run in local mode, using mock apps.
>
>I need to go backwards, but basically this is a parameter
sweep, where
>the parameter sets have a nested loop structure. Im noty sure
f Im
>asking this right (as Im in a meeting and cant read right
now) but do
>you want to express the parameters in files (because the
lists are long)
>or right in the source code of the workflow? Does that
question make sense?
>
>- Mike
>
>
>On 10/4/07 9:16 AM, andrewj at uchicago.edu wrote:
>> All right, thanks.
>>
>> I am just trying to figure out the best way to setup parameter
>> sweeps. Ideally, I would like to have some file of directory
>> of files containing experiments to be run on the Grid
>> environment and Swift picks them up and automatically sets up
>> the appropriate WF based on the parameter information in the
>> files.
>>
>>
>>> On Wed, 3 Oct 2007, andrewj at uchicago.edu wrote:
>>>
>>>> could I do something like this:
>>>>
>>>> RGIparams RGIinput[] <csv_mapper;file="rgi_runs.txt">;
>>>>
>>>> where rgi_runs would contain say
>>>>
>>>> 1,2,true
>>>> 3,4,false
>>>> 18,20,true
>>>>
>>>> and so on..so that the parameters are passed into the
workflow?
>>> no.
>>>
>>> mappers only map filenames (or URIs now); they don't map
>> variable values.
>>> --
>>
>>
More information about the Swift-devel
mailing list