module.tmpl 553 Bytes
Newer Older
Vincent Chabannes's avatar
Vincent Chabannes committed
1 2
#%Module1.0#####################################################################
### 
Vincent Chabannes's avatar
Vincent Chabannes committed
3
### {{ LIB_NAME }} {{ LIB_VERSION }} module
Vincent Chabannes's avatar
Vincent Chabannes committed
4 5 6 7
### 
proc ModulesHelp { } {
    global version prefix

Vincent Chabannes's avatar
Vincent Chabannes committed
8
    puts stderr "\tlibs//{{ LIB_NAME }}/{{ LIB_VERSION }} - loads {{ LIB_NAME }} {{ LIB_VERSION }}"
Vincent Chabannes's avatar
Vincent Chabannes committed
9 10
}

Vincent Chabannes's avatar
Vincent Chabannes committed
11
module-whatis   "Loads {{ LIB_NAME }} {{ LIB_VERSION }}"
Vincent Chabannes's avatar
Vincent Chabannes committed
12 13

# for Tcl script use only
Vincent Chabannes's avatar
Vincent Chabannes committed
14
set prefix      {{ INSTALL_DIR }}
Vincent Chabannes's avatar
Vincent Chabannes committed
15 16 17 18 19 20

# prepend-path CMAKE_PREFIX_PATH $prefix
prepend-path LD_LIBRARY_PATH $prefix/lib
prepend-path LIBRARY_PATH $prefix/lib
setenv PETSC_DIR $prefix