| 1 |
#%Module3.1.1################################################################### |
| 2 |
# module info: http://homepages.nesc.ac.uk/~gcw/NGS/UI.html#modulefiles |
| 3 |
# |
| 4 |
# AMBER |
| 5 |
################################################################################ |
| 6 |
|
| 7 |
proc ModulesHelp { } { |
| 8 |
global AMBERHOME |
| 9 |
puts stderr "The TACC Amber installation only includes the parallel Sander/pmemd modules." |
| 10 |
puts stderr "The Amber modulefile defines the following environment variables:" |
| 11 |
puts stderr "TACC_AMBER_DIR, TACC_AMBER_DOC, TACC_AMBER_BIN for the location of" |
| 12 |
puts stderr "the Amber distribution, documentation, and binaries, respectively.\n" |
| 13 |
puts stderr "Also, AMBERHOME is set to the Amber Home Directory (TACC_AMBER_DIR),\n" |
| 14 |
puts stderr "and \$AMBERHOME/exe is included in the PATH variable.\n" |
| 15 |
puts stderr "Here is an example command for executing the Sander module:" |
| 16 |
puts stderr "sander.LES -i tes.in -o tes.out -p tes.prmtop.save -c tes.x -r tes.rst" |
| 17 |
puts stderr "\nVersion 9" |
| 18 |
} |
| 19 |
|
| 20 |
module-whatis "Name: AMBER" |
| 21 |
module-whatis "Version: 9.0" |
| 22 |
module-whatis "Version-notes: MKL 9.0, FFTW 3.1; only login has full directories: doc, examples" |
| 23 |
module-whatis "Category: Application, Chemistry" |
| 24 |
module-whatis "URL: http://amber.scripps.edu/" |
| 25 |
module-whatis "Description: Molecular Modeling Package" |
| 26 |
|
| 27 |
|
| 28 |
# |
| 29 |
# Create environment variables. |
| 30 |
# |
| 31 |
set2 amber_dir /unknown/apps/amber/amber-9 |
| 32 |
set amber_doc /unknown/apps/amber/amber-9/doc |
| 33 |
set amber_bin /unknown/apps/amber/amber-9/exe |
| 34 |
|
| 35 |
setenv TACC_AMBER_DIR $amber_dir |
| 36 |
setenv TACC_AMBER_DOC $amber_doc |
| 37 |
setenv TACC_AMBER_BIN $amber_bin |
| 38 |
|
| 39 |
# |
| 40 |
# Append path |
| 41 |
# |
| 42 |
|
| 43 |
setenv AMBERHOME $amber_dir |
| 44 |
append-path PATH $amber_bin |