User Tools

Site Tools


exercises:2016_uzh_cmest:login

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
exercises:2016_uzh_cmest:login [2016/09/22 08:54] tmuellerexercises:2016_uzh_cmest:login [2016/09/22 09:06] tmueller
Line 149: Line 149:
  
  
 +===== Part III: Advanced account configuration =====
 +
 +==== Make module loading persistent ====
 +
 +Upon login, the shell (''bash'' in our case) executes a number of files if they exist. One of them is the ''.bashrc'. To prepare it for management through the the ''module'' command, simply execute the following **once**:
 +
 +<code>
 +$ echo 'module load ' >> ~/.bashrc
 +</code>
 +
 +after that you can add and remove modules to be loaded at startup using ''module initadd'' or ''module initrm''. For example:
 +
 +<code>
 +$ module initadd vmd
 +$ module initadd cp2k/r17408_2016_09_19
 +</code>
 +
 +to remove ''vmd'' from the list of modules to load at login:
 +
 +<code>
 +$ module initrm vmd
 +</code>
exercises/2016_uzh_cmest/login.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1