modules: Add jfojt and trossi gpaw modules

Add gpaw-setups module
This commit is contained in:
2020-02-17 14:08:17 +01:00
parent 73c948b25c
commit 129748fd8c
5 changed files with 36 additions and 25 deletions

View File

@@ -0,0 +1,14 @@
local name = myModuleName()
local version = myModuleVersion()
local platform = "linux-x86_64-ubuntu-3.6"
local home = os.getenv("HOME")
local gpaw_root = pathJoin(home, "git", version .. "-gpaw")
load("gpaw-setups/0.9.20000")
setenv("OMP_NUM_THREADS", 1)
prepend_path("PYTHONPATH", gpaw_root)
prepend_path("PYTHONPATH", pathJoin(gpaw_root, "build/lib." .. platform))
prepend_path("PATH", pathJoin(gpaw_root, "tools"))
prepend_path("PATH", pathJoin(gpaw_root, "build/bin." .. platform))
execute {cmd='complete -o default -C "/usr/bin/python3 ' .. gpaw_root .. '/gpaw/cli/complete.py" gpaw', modeA={"load"}}