[Swift-devel] Fwd: [Swift-user] Question: Setting environment variables
wilde at mcs.anl.gov
wilde at mcs.anl.gov
Fri May 28 11:23:23 CDT 2010
David, this user question is a good example of a "app note" that we should add to the user guide and the tutorial.
As you see questions on the list, can you update the docs as appropriate so that the next user with the same question is more likely to find the answer? Or, keep a list of such updates? (Thats in a sense what the SwiftCookBook page on the SWFT wiki is):
http://www.ci.uchicago.edu/wiki/bin/view/SWFT/SwiftCookBook
- Mike
----- Forwarded Message -----
From: wilde at mcs.anl.gov
To: "Taleena R Sines" <trsines0 at frostburg.edu>
Cc: swift-user at ci.uchicago.edu
Sent: Friday, May 28, 2010 11:15:55 AM GMT -06:00 US/Canada Central
Subject: Re: [Swift-user] Question: Setting environment variables
Taleena,
You set env vars for a given app in the tc.data file using an "Env profile":
http://www.ci.uchicago.edu/swift/guides/userguide.php#profile.env
For example:
localhost myapp /usr/bin/env none none ENV::myenvvar="something";
Thats not real clear in the User Guide - we will fix that.
- Mike
----- "Taleena R Sines" <trsines0 at frostburg.edu> wrote:
> Hello,
> In swift, how would I set an environment variable?
> For example, in a c-script:
> setenv WKDIR /user/bin
>
> would translate to swift how?
> Thank you
>
> T. R. Sines
>
>
>
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
--
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory
_______________________________________________
Swift-user mailing list
Swift-user at ci.uchicago.edu
http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
--
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory
More information about the Swift-devel
mailing list