Here are some tips for running large stata jobs in linux/Unix
- Turn off the GUI and run the command on the command line
- Run one command after another
- Delay the start of the command
hit CTRL-F1 login sudo /etc/init.d/gdm stop // this stops the GUI stata -b do mydofile.do
stata -b do firstfile.do ; stata -b do secondfile.do ; stata -b do third.do
sleep 14400 ; stata -b do myfile.do #NOTE: sleep takes seconds as argument, so that is 4 hours. Adjust to your needs.
Don’t forget top to check on your processes. Don’t allocate so much memory that you start paging to disk.
Your hints/advice are welcome!
Advertisement