help([[
Load environment to build prepobs on Gaea C6
]])

prepend_path("MODULEPATH", os.getenv("spack_stack_mod_path"))

stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0"
stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.29"
cmake_ver=os.getenv("cmake_ver") or "3.23.1"

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("stack-cray-mpich", stack_cray_mpich_ver))
load(pathJoin("cmake", cmake_ver))

-- Load common modules for this package
load("prepobs_common")

unload("cray-libsci")

whatis("Description: prepobs build environment")
