--- On Mon, 19/10/09, [email protected] wrote:
> I am trying to find out if, and if so how, I can access the
> SGE_TASK_ID environment variable when running on linux? The
> page http://www.stata.com/support/faqs/unix/environ.html
> does not include this variable, so am I correct to conclude
> that by omission SGE_TASK_ID cannot be accessed?
>
> I am using Stata on a high performance cluster, which is
> running the Sun Grid Engine. I would like to able to load
> the SGE_TASK_ID environment variable at the top of my do
> file and use it to set the random number seed. Previously I
> have been using R, and have been able to load this variable
> using Sys.getenv("SGE_TASK_ID").
This seems more a question for Stata's Tech support:
http://www.stata.com/support/tech-support/tech2.html
There is nothing against posting questions like this on
statalist, you are just more likely to find someone at Tech
support who knows the answer. (Besides that, you or your
institution had to pay for Stata, so why not enjoy the
benefits?)
-- Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
Send instant messages to your online friends http://uk.messenger.yahoo.com
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/