Clusterappl and GPAW modules on Vera

This commit is contained in:
2020-03-03 10:45:19 +01:00
parent 7087d7c876
commit fb4fe04c12
4 changed files with 55 additions and 0 deletions

View 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"}}