| 1 |
#%Module##################################################################### |
| 2 |
# TACC local environment module file $Date$ |
| 3 |
# |
| 4 |
# This module file appends the relevant paths in /usr/local to the end |
| 5 |
# of $PATH and $MANPATH. If you want the local software suite to be searched |
| 6 |
# before the Cray-supplied paths, unload the `TACC' module and load the |
| 7 |
# `local' module in your .login_user file. |
| 8 |
# |
| 9 |
# Do not edit this file directly as it is under RCS control. |
| 10 |
# |
| 11 |
############################################################################# |
| 12 |
proc ModulesHelp { } { |
| 13 |
puts stderr "The TACC modulefile defines the default paths and environment" |
| 14 |
puts stderr "variables needed to use the local software and utilities" |
| 15 |
puts stderr "on lonestar." |
| 16 |
} |
| 17 |
|
| 18 |
###if { [ expr [is-loaded cluster] && ![module-info mode remove] ] } { |
| 19 |
### break |
| 20 |
###} |
| 21 |
|
| 22 |
set sys [uname sysname] |
| 23 |
set os [uname release] |
| 24 |
set mach [uname machine] |
| 25 |
set node [uname node] |
| 26 |
|
| 27 |
# |
| 28 |
# Load default environment |
| 29 |
# |
| 30 |
|
| 31 |
# |
| 32 |
# CA common and manpage. |
| 33 |
# |
| 34 |
append-path PATH /unknown/apps/pki_apps |
| 35 |
append-path MANPATH /unknown/apps/pki_apps/man |
| 36 |
|
| 37 |
# |
| 38 |
# NPCI symbols |
| 39 |
# |
| 40 |
setenv APPS /unknown/apps |
| 41 |
setenv PURGE 168 |
| 42 |
|
| 43 |
prepend-path MANPATH /usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/ganglia/man:/opt/rocks/man:/usr/kerberos/man:/usr/man |
| 44 |
|
| 45 |
# Ranger has a separate /scratch file system for each user. |
| 46 |
# Amended on 2/2/08 (ks) |
| 47 |
|
| 48 |
#setenv SCRATCH /tmp |
| 49 |
#if { [file exists /scratch] } { |
| 50 |
# setenv SCRATCH /scratch |
| 51 |
#} |
| 52 |
|
| 53 |
# |
| 54 |
# Load Desired Modules |
| 55 |
# |
| 56 |
|
| 57 |
if { [ expr [module-info mode load] || [module-info mode display] ] } { |
| 58 |
module load pgi |
| 59 |
module load mvapich2 |
| 60 |
module load binutils-amd |
| 61 |
module load CTSSV4 |
| 62 |
} |
| 63 |
|
| 64 |
if [ module-info mode remove ] { |
| 65 |
module del mvapich2 |
| 66 |
module del pgi |
| 67 |
module del binutils-amd |
| 68 |
module del CTSSV4 |
| 69 |
} |
| 70 |
|
| 71 |
############################################################################# |
| 72 |
# $Log$ |
| 73 |
|