[Swift-devel] modftdock - all 3 stages
Justin M Wozniak
wozniak at mcs.anl.gov
Thu Dec 1 17:48:15 CST 2011
On Thu, 1 Dec 2011, Ketan Maheshwari wrote:
> On Thu, Dec 1, 2011 at 10:17 AM, Emalayan Vairavanathan <
> svemalayan at yahoo.com> wrote:
>
>> I am curious to know whether is it possible to run swift programs with the
>> multiple Mosa installations ? ( may be is there a way to specify multiple
>> working directories in swift ? / May be can I dynamically change the swift
>> working directory ?)
>
> Having one working directory should not be an issue with what you want to
> achieve, as long as that workdir is accessible to and from the mosastore
> instaces you mentioned above. All you need to do is to change the mappings
> in the Swift source to the places you want swift to access/write data. So,
> for instance, for one part you can use one instance of mosastore while for
> the other part you can use another mosastore instance.
Another way to do this without modifying the Swift script would be to use
CDM DIRECT to rename the directory in which the file is found. However,
this relies on the ability of _swiftwrap to soft link to files in the
Mosa file system.
--
Justin M Wozniak
More information about the Swift-devel
mailing list