forked from TRIQS/triqs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
triqs.modulefile.in
36 lines (29 loc) · 1.15 KB
/
triqs.modulefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#%Module1.0
#
# To be installed as ${MODULEPATH}/triqs/@TRIQS_VERSION@
set name triqs
set version @TRIQS_VERSION@
set root @CMAKE_INSTALL_PREFIX@
set git_hash @TRIQS_GIT_HASH@
set url "http://triqs.github.io/triqs"
set description "Toolbox for Research on Interacting Quantum Systems"
module-whatis "$description"
proc ModulesHelp { } {
global description url version git_hash
puts stderr "Description: $description"
puts stderr "URL: $url"
puts stderr "Version: $version"
puts stderr "Git hash: $git_hash"
}
# Only one version of triqs can be loaded at a time
conflict $name
setenv TRIQS_ROOT $root
setenv TRIQS_VERSION $version
setenv TRIQS_GIT_HASH $git_hash
prepend-path PATH $root/bin
prepend-path CPLUS_INCLUDE_PATH $root/include
prepend-path LIBRARY_PATH $root/lib
prepend-path LD_LIBRARY_PATH $root/lib
prepend-path PYTHONPATH $root/@PYTHON_LIB_DEST_ROOT@
prepend-path CMAKE_PREFIX_PATH $root/lib/cmake/triqs
prepend-path CMAKE_PREFIX_PATH $root/lib/cmake/cpp2py