-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodulefile
More file actions
27 lines (22 loc) · 857 Bytes
/
Copy pathmodulefile
File metadata and controls
27 lines (22 loc) · 857 Bytes
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
#%Module1.0
set whatis "MY_WHATIS"
set software "$whatis"
set description "$whatis"
set version "$whatis"
conflict "$software"
set prefix "MY_PREFIX_PATH"
prepend-path PATH "$prefix/bin"
prepend-path MANPATH "$prefix/share/man"
prepend-path INFOPATH "$prefix/share/info"
prepend-path LIBRARY_PATH "$prefix/lib"
prepend-path LIBRARY_PATH "$prefix/lib64"
prepend-path LIBRARY_PATH "$prefix/lib/x86_64-unknown-linux-gnu/"
prepend-path LD_LIBRARY_PATH "$prefix/lib"
prepend-path LD_LIBRARY_PATH "$prefix/lib/x86_64-unknown-linux-gnu/"
prepend-path LD_LIBRARY_PATH "$prefix/lib64"
prepend-path CMAKE_PREFIX_PATH "$prefix/lib/cmake/XKRT"
prepend-path CMAKE_LIBRARY_PATH "$prefix/lib"
prepend-path CMAKE_INCLUDE_PATH "$prefix/include"
prepend-path C_INCLUDE_PATH "$prefix/include"
prepend-path CPATH "$prefix/include"
setenv MY_MODULE_HOME "$prefix"