-
Notifications
You must be signed in to change notification settings - Fork 5
/
lmodrc.lua
40 lines (40 loc) · 1.79 KB
/
lmodrc.lua
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
37
38
39
40
# -*- lua -*-
propT = {
state = {
validT = { experimental = 1, testing = 1, obsolete = 1 },
displayT = {
experimental = { short = "(E)", long = "(E)", color = "blue", doc = "Experimental", },
testing = { short = "(T)", long = "(T)", color = "green", doc = "Testing", },
obsolete = { short = "(O)", long = "(O)", color = "red", doc = "Obsolete", },
},
},
lmod = {
validT = { sticky = 1 },
displayT = {
sticky = { short = "(S)", long = "(S)", color = "red", doc = "Module is Sticky, requires --force to unload or purge", },
},
},
arch = {
validT = { mic = 1, offload = 1, gpu = 1, },
displayT = {
["mic:offload"] = { short = "(*)", long = "(m,o)", color = "blue", doc = "built for host, native MIC and offload to the MIC", },
["mic"] = { short = "(m)", long = "(m)", color = "blue", doc = "built for host and native MIC", },
["offload"] = { short = "(o)", long = "(o)", color = "blue", doc = "built for offload to the MIC only",},
["gpu"] = { short = "(g)", long = "(g)", color = "red" , doc = "built for GPU",},
["gpu:mic"] = { short = "(gm)", long = "(g,m)", color = "red" , doc = "built natively for MIC and GPU",},
["gpu:mic:offload"] = { short = "(@)", long = "(g,m,o)", color = "red" , doc = "built natively for MIC and GPU and offload to the MIC",},
},
},
status = {
validT = { active = 1, },
displayT = {
active = { short = "(L)", long = "(L)", color = "yellow", doc = "Module is loaded", },
},
},
}
scDescriptT = {
{
["dir"] = "/dev/shm/lmod/cacheDir",
["timestamp"] = "/dev/shm/lmod/system.txt",
},
}