Clusterappl and GPAW modules on Vera
This commit is contained in:
20
.modules.kuba/clusterappl.lua
Normal file
20
.modules.kuba/clusterappl.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
whatis([==[
|
||||
Creates $USERAPPL environment variable and adds paths
|
||||
]==])
|
||||
|
||||
local home = os.getenv("HOME")
|
||||
local nobackup = pathJoin(home, "nobackup")
|
||||
local userappl = pathJoin(nobackup, "appl")
|
||||
local git = pathJoin(nobackup, "git")
|
||||
|
||||
local pythonp = pathJoin(userappl, "lib/python3.7/site-packages")
|
||||
local binp = pathJoin(userappl, "bin")
|
||||
local libp = pathJoin(userappl, "lib")
|
||||
|
||||
setenv("MYNOBACKUP", nobackup)
|
||||
setenv("USERAPPL", userappl)
|
||||
|
||||
prepend_path("PYTHONPATH", pythonp)
|
||||
prepend_path("PATH", binp)
|
||||
prepend_path("PATH", libp)
|
||||
execute {cmd='`snakemake --bash-completion`', modeA={"load"}}
|
||||
Reference in New Issue
Block a user