User Tools

Site Tools


archive:computer_resources:campusrocks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
archive:computer_resources:campusrocks [2010/04/19 19:44]
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 set your startup shell to bash, make a file called .profile in your home directory and add this to the //end// of the file. 
  
 +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"​ ]   if [ "​$SHELL"​ = "/​bin/​sh"​ ]
   then   then
         SHELL=/​bin/​bash         SHELL=/​bin/​bash
         export SHELL         export SHELL
-        bash 
   fi   fi
  
-I also copied the contents of the file .bashrc (already in my home directory) into my .profile file, and then deleted my .bashrc file. This may not be necessary, but if your settings aren't working this is something to try. 
  
 If you would like to add our classes bin directory (or any other directory for that matter) then add this to your .profile: If you would like to add our classes bin directory (or any other directory for that matter) then add this to your .profile:
Line 86: 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.
 +
  
archive/computer_resources/campusrocks.txt · Last modified: 2015/09/02 16:42 by ceisenhart