Use auto modules instead

This commit is contained in:
2021-09-13 10:22:33 +02:00
parent bc0ff2b3ea
commit 22617db376
4 changed files with 1 additions and 17 deletions

View File

@@ -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

View File

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

View File

@@ -1 +0,0 @@
jfojt.lua

View File

@@ -1 +0,0 @@
jfojt.lua