| 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 |
set sys [uname sysname] |
| 19 |
set os [uname release] |
| 20 |
set mach [uname machine] |
| 21 |
set node [uname node] |
| 22 |
|
| 23 |
# |
| 24 |
# Load default enviroment |
| 25 |
# |
| 26 |
|
| 27 |
|
| 28 |
# |
| 29 |
# Load Desired Modules |
| 30 |
# |
| 31 |
|
| 32 |
if { [ expr [module-info mode load] || [module-info mode display] ] } { |
| 33 |
module load pgi |
| 34 |
module load mvapich1 |
| 35 |
module load globus |
| 36 |
module load cluster-paths |
| 37 |
} |
| 38 |
|
| 39 |
if [ module-info mode remove ] { |
| 40 |
module del mvapich1 |
| 41 |
module del pgi |
| 42 |
module del cluster-paths |
| 43 |
module del globus |
| 44 |
} |
| 45 |
|
| 46 |
############################################################################# |
| 47 |
# $Log$ |
| 48 |
|
| 49 |
|
| 50 |
# ;;; Local Variables: *** |
| 51 |
# ;;; mode:tcl *** |
| 52 |
# ;;; End: *** |