Use auto modules instead
This commit is contained in:
@@ -97,5 +97,6 @@ case $(hostname) in
|
|||||||
* )
|
* )
|
||||||
if [ -e /usr/share/lmod/lmod/init/profile ]; then
|
if [ -e /usr/share/lmod/lmod/init/profile ]; then
|
||||||
module use "$HOME/.modules.kuba/"
|
module use "$HOME/.modules.kuba/"
|
||||||
|
module use "$HOME/git/auto-venv-setup/lmod-modules/"
|
||||||
fi
|
fi
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
local name, version = splitFileName(myModuleFullName())
|
|
||||||
local platform = "linux-x86_64-ubuntu-3.8"
|
|
||||||
local platform = capture("python -c \"import distutils.util; import sys; print(distutils.util.get_platform() + '-' + sys.version[0:3],end='')\"");
|
|
||||||
local home = os.getenv("HOME")
|
|
||||||
local gpaw_root = pathJoin(home, "git/gpaw", version)
|
|
||||||
|
|
||||||
load("gpaw-setups/0.9.20000")
|
|
||||||
|
|
||||||
setenv("OMP_NUM_THREADS", 1)
|
|
||||||
prepend_path("PYTHONPATH", ".")
|
|
||||||
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"}}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
jfojt.lua
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
jfojt.lua
|
|
||||||
Reference in New Issue
Block a user