[tsscds] View of /trunk/modules/2018
View of /trunk/modules/2018
Parent Directory
| Revision Log
Revision 279 -
( download)
( annotate)
Wed Jun 27 20:30:08 2018 UTC
(5 years, 11 months ago)
by baaden
File size: 1811 byte(s)
move to trunk 1
#%Module1.0#####################################################################
#module dependencies ####################
#Carga de modulos de otras aplicaciones necesarias (por ej mopac)
#module load g09
#module load gnuplot
#module load parallel
#########################################
#Application/version ####################
set curMod [module-info name]
set app [lrange [split $curMod "/"] 0 0]
set version [lrange [split $curMod "/"] 1 1]
#set *** ***
#########################################
set rootdir [string range $ModulesCurrentModulefile 0 [expr {[string first "modules" $ModulesCurrentModulefile]-2}]]
proc ModulesHelp { } {
global app version curMod rootdir ModulesCurrentModulefile
puts stderr "\t${app} \n\tVersion $version\n"
}
module-whatis "Loads $curMod (use help for more info)"
#basedir ################################
set modroot $rootdir
#########################################
#specific variables ####################
## setting variables used in TSSCDS
#export TSSCDS=/home/usc/qf/emn/Programs/TSSCDS1.1
#export PATH=${TSSCDS}/bin:${TSSCDS}/bin/CATscripts:${TSSCDS}/bin/HLscripts:$PATH
prepend-path PATH $modroot/bin:$modroot/bin/CATscripts:$modroot/bin/HLscripts:$modroot/bin/MOPAC_DEV
prepend-path LD_LIBRARY_PATH $modroot/lib:$modroot/bin/MOPAC_DEV
#prepend-path LIBRARY_PATH $modroot/lib
#prepend-path LD_RUN_PATH $modroot/lib
#prepend-path CMAKE_LIBRARY_PATH $modroot/lib
#prepend-path INCLUDE $modroot/include
#prepend-path CPATH $modroot/include
#prepend-path FPATH $modroot/include
#prepend-path CMAKE_INCLUDE_PATH $modroot/include
prepend-path MANPATH $modroot/share/man
prepend-path INFOPATH $modroot/share/info
#prepend-path PKG_CONFIG_PATH $modroot/lib/pkgconfig
#variables específicas
setenv TSSCDS $modroot
#########################################
|