This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
archive:computer_resources:campusrocks [2010/04/19 19:53] jstjohn |
archive:computer_resources:campusrocks [2010/05/16 01:53] jstjohn |
||
---|---|---|---|
Line 36: | Line 36: | ||
===== Setting Environmental Variables ===== | ===== Setting Environmental Variables ===== | ||
+ | |||
+ | If you would like to change your shell to bash, make a file called .profile which you will put all of your environmental settings into, and add this to the beginning: | ||
+ | | ||
+ | if [ "$SHELL" = "/bin/sh" ] | ||
+ | then | ||
+ | SHELL=/bin/bash | ||
+ | export SHELL | ||
+ | fi | ||
Line 77: | Line 85: | ||
#$ -V\\ | #$ -V\\ | ||
Your jobs use **your** environment variables. | Your jobs use **your** environment variables. | ||
+ | |||
+ | #$ -l mem_free=15g\\ | ||
+ | Your job goes to a node with at least 15g of free memory. There is probably something like '-l mem_avail' that works if you would like to schedule your job on a node with a certain amount of max memory available, even if some of it is currently in use. | ||
+ | |||