modules: Add gpaw-setups module

This commit is contained in:
2020-02-14 17:03:18 +01:00
parent f41b947fc5
commit 73c948b25c
3 changed files with 7 additions and 1 deletions

View File

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