summarylogtreecommitdiffstats
path: root/modulefile
blob: a9ae7246f8b970442db8cd5283b7b3ea5a651ef0 (plain)
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
#%Module1.0
#
# Created by Darjan Krijan <darjan_krijan@gmx.de>
#

set MODULE      "amduprof"
set BASE_DIR    "/opt"
set VERSION     "3.6.449"
set MODULE_ROOT "${BASE_DIR}/${MODULE}"
set MODULE_TEXT "AMD uProf performance analysis tool"

prepend-path PATH         ${MODULE_ROOT}/bin
prepend-path CPATH        ${MODULE_ROOT}/include
prepend-path LIBRARY_PATH ${MODULE_ROOT}/lib/x64
prepend-path MANPATH      ${MODULE_ROOT}/bin/Help
prepend-path PATH         ${MODULE_ROOT}/bin/AMDPerf
prepend-path PYTHONPATH   ${MODULE_ROOT}/bin/AMDPerf

module-whatis "${MODULE_TEXT} version ${VERSION}"

proc ModulesHelp {} {
	global MODULE_TEXT
	puts stderr "This module sets up the environment for ${MODULE_TEXT}"
	puts stderr "by adapting the following environment variables:"
	puts stderr "PATH"
	puts stderr "CPATH"
	puts stderr "LIBRARY_PATH"
	puts stderr "MANPATH"
	puts stderr "PYTHONPATH"
}