Skip to content

Commit

Permalink
Merge pull request #25 from pneerincx/for_LoR_clusters
Browse files Browse the repository at this point in the history
Bugfixes and updated EasyBuild
  • Loading branch information
Gerbenvandervries authored Jul 16, 2019
2 parents 9e4b35e + dbfd249 commit 567a475
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion group_vars/fender-cluster/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
lua_version: '5.1.4.9'
lmod_version: '7.8.8'
easybuild_version: '3.7.1'
easybuild_version: '3.9.3'
extra_easyconfigs_version: '2.8.31'
#
# Group folder structures to construct on shared storage systems.
Expand Down
2 changes: 1 addition & 1 deletion group_vars/gearshift-cluster/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
lua_version: '5.1.4.9'
lmod_version: '7.8.8'
easybuild_version: '3.7.1'
easybuild_version: '3.9.3'
extra_easyconfigs_version: '2.8.31'
#
# Group folder structures to construct on shared storage systems.
Expand Down
2 changes: 1 addition & 1 deletion group_vars/hyperchicken-cluster/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
lua_version: '5.1.4.9'
lmod_version: '7.8.8'
easybuild_version: '3.7.1'
easybuild_version: '3.9.3'
extra_easyconfigs_version: '2.8.31'
#
# Group folder structures to construct on shared storage systems.
Expand Down
9 changes: 3 additions & 6 deletions roles/install-easybuild/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,14 @@
#
- name: Install_Lua
listen: Install_Lua
include_tasks:
file: tasks/install_lua.yml
include_tasks: tasks/install_lua.yml
#static: no
- name: Install_Lmod
listen: Install_Lmod
include_tasks:
file: tasks/install_lmod.yml
include_tasks: tasks/install_lmod.yml
#static: no
- name: Install_EasyBuild
listen: Install_EasyBuild
include_tasks:
file: tasks/install_easybuild.yml
include_tasks: tasks/install_easybuild.yml
#static: no
...
12 changes: 6 additions & 6 deletions roles/install-easybuild/templates/modules.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
# but in the first case there are no SLURM related environment variables defined.
#
# NOTE: when using the --get-user-env=L option for SLURM's sbatch command,
# the ${SLURM_JOBID} variable is not yet available when the environment is
# configured and hence when this file is sourced. The only way to make
# --get-user-env=L work reliably without causing problems with other 'dumb'
# shells is to make sure the SLURM slurmd daemon is started using a regular
# (pseudo) terminal, so ${TERM} won't be 'dumb'.
# various SLURM_* environment variables are not yet available
# when the environment is configured and hence when this file is sourced.
# The only way to make --get-user-env=L work reliably without causing problems with other 'dumb'
# shells is to check the BASH_EXECUTION_STRING variable which contains the slurm command
# used to parse the environment variables from a simulated login.
#
if [ ${TERM} == 'dumb' ] && [ -z ${SLURM_JOBID} ] && [ -z ${SOURCE_HPC_ENV} ]; then
if [[ "${TERM}" == 'dumb' ]] && [[ ! "${BASH_EXECUTION_STRING}" =~ 'slurm' ]] && [[ -z "${SOURCE_HPC_ENV}" ]]; then
return
fi

Expand Down

0 comments on commit 567a475

Please sign in to comment.