[Swift-user] Question: Setting environment variables

wilde at mcs.anl.gov wilde at mcs.anl.gov
Fri May 28 11:15:55 CDT 2010


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




More information about the Swift-user mailing list