User Tools

Site Tools


guide:dell

Differences

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

Link to this comparison view

Last revision Both sides next revision
guide:dell [2012/03/02 16:51]
kevin created
guide:dell [2012/03/02 17:04]
kevin
Line 19: Line 19:
 These differences lead to methods of code development which are distinct from the rest of //​Tsessebe//​ system as it currently operates. These differences lead to methods of code development which are distinct from the rest of //​Tsessebe//​ system as it currently operates.
 However all the Dell nodes see the same ''/​opt/​gridware''​ NFS and ''​scratch''​ Lustre filesystems as the older nodes. However all the Dell nodes see the same ''/​opt/​gridware''​ NFS and ''​scratch''​ Lustre filesystems as the older nodes.
 +
 +
 +=====Modifications to shell initialization scripts=====
 +
 +The following modifications should be made to the shell initialization scripts of new users; current users will need to make these changes individually. These changes are effective only on the Dell nodes (to be exact, on any node which has a file ''/​etc/​redhat-release''​) and will have no effect on the older nodes.
 +
 +**''​~/​.bashrc''​**
 +
 +
 +<code bash>
 +# Added for new Dell nodes:
 +if [ -f /​etc/​redhat-release ]; then
 + . /etc/bashrc
 +# Initialize CHPC modules:
 +. /​opt/​gridware/​modules-3.2.7/​modules.sh
 +module load dell/​default-environment
 +fi
 +</​code>​
 +
 +
 +**''​~/​.profile''​**
 +
 +<code bash>
 +# Added for new Dell nodes:
 +if [ -f /​etc/​redhat-release ]; then
 + . ~/.bashrc
 +fi
 +</​code>​
 +
 +
 +These changes initialize the environment so that Dell-specific software is loaded into the search paths. ​ The new module, ​
 +''​dell/​default-environment'',​ automatically loads the pre-existing module ''​inteltools''​ (providing Intel compilers 12.0 and Intel MPI 4.0.1) and makes additional environment variable settings. ​
 +
 +**Please note that these changes are essential for proper operation of an account using the Dell compute nodes.**
 +
 +Custom changes to ''​~/​.bashrc''​ or ''​~/​.profile are''​ still possible but care should be taken not to interfere with the initial environment set up above — this means that customisations should respect the following conditions:
 +  * customisations should appear in the files //after// the above sections
 +  * customisations should //not overwrite// settings to ''​PATH''​ or ''​LD_LIBRARY_PATH''​ but should //append or prepend// to them instead.
 +
/var/www/wiki/data/pages/guide/dell.txt · Last modified: 2012/03/02 17:10 by kevin