Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: remote Stata under Mac OSX


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: remote Stata under Mac OSX
Date   Tue, 9 Nov 2004 12:25:01 -0500

Chinh posted a solution to 'how do you run a batch job on a remote OS X machine' on 23 Oct 2004. I was having trouble with that, and he determined that the issue is definition of Unix environment variable $REMOTEHOST. If you ssh to a Mac OS X machine, and are running /bin/bash (the default shell), this symbol is not defined, and Stata will crash. If you do

/bin/csh

(change to the C shell--or probably the Korn shell; untested) $REMOTEHOST will be defined (as the IP address or domain name of your local machine), and Chinh's solution to running remote Stata in batch mode works just fine.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index