Skip to content
Snippets Groups Projects
Commit abc99f2c authored by Milan Jaros's avatar Milan Jaros
Browse files

add SLURM_EXPORT_ENV

parent 1ae1e62c
No related branches found
Tags v2.0.0-beta.4
No related merge requests found
# Export the module function if it exists
[[ $(type -t module) == "function" ]] && export -f module
# reset SLURM_EXPORT_ENV so that things like srun & sbatch work out of the box
export SLURM_EXPORT_ENV=ALL
# Find available port to run server on
export port=$(find_port ${host})
......@@ -10,4 +13,4 @@ export host="${host}"
# Generate SHA1 encrypted password (requires OpenSSL installed)
export password="$(create_passwd 16)"
export code_server_version="<%= context.version %>"
export code_server_version="<%= context.version %>"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment