| 1 |
#%Module##################################################################### |
| 2 |
# TACC local environment module file $Date: 2003/09/24 21:27:11 $ |
| 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 |
global env |
| 13 |
proc ModulesHelp { } { |
| 14 |
puts stderr "The TACC modulefile defines the default paths and environment" |
| 15 |
puts stderr "variables needed to use the local software and utilities" |
| 16 |
puts stderr "available in /usr/local, placing them after the vendor-supplied" |
| 17 |
puts stderr "paths in PATH and MANPATH.:" |
| 18 |
} |
| 19 |
|
| 20 |
|
| 21 |
set sys [uname sysname] |
| 22 |
set node [uname node] |
| 23 |
|
| 24 |
# |
| 25 |
# Let node and sys everide the definition |
| 26 |
# |
| 27 |
#setenv ARCHIVER ranch.tacc.utexas.edu |
| 28 |
|
| 29 |
# SGE Job Wrapper |
| 30 |
|
| 31 |
append-path PATH /share/sge/default/pe_scripts |
| 32 |
|
| 33 |
|
| 34 |
# |
| 35 |
# NPACI stuff |
| 36 |
# |
| 37 |
if { [file exists /usr/local/apps] } { |
| 38 |
setenv APPS /usr/local/apps |
| 39 |
setenv PURGE 96 |
| 40 |
} |
| 41 |
|
| 42 |
# |
| 43 |
# Location of local modules |
| 44 |
# |
| 45 |
set mproot "MODULEPATH_ROOT" |
| 46 |
set modulepath_root $env($mproot) |
| 47 |
set moduleshome "$modulepath_root/TACC" |
| 48 |
|
| 49 |
if { "$sys" == "AIX" } { |
| 50 |
append-path MANPATH /usr/local/virtman/AIX |
| 51 |
} |
| 52 |
|
| 53 |
append-path PATH ~/bin |
| 54 |
append-path PATH . |
| 55 |
|
| 56 |
# 9/4/2006 - Addition for lonestar login nodes - intercept of passwd/chcsh to do |
| 57 |
# the right thing with 411. |
| 58 |
|
| 59 |
prepend-path PATH /usr/local/first |
| 60 |
|
| 61 |
# ;;; Local Variables: *** |
| 62 |
# ;;; mode:tcl *** |
| 63 |
# ;;; End: *** |