From 8fea4cb1ac001188a648f6799083fb36b71e1923 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Wed, 24 Apr 2024 22:43:12 +0200 Subject: [PATCH] roll back limit parallel --- EESSI-install-software.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/EESSI-install-software.sh b/EESSI-install-software.sh index 533ee87e63..f996fd626d 100755 --- a/EESSI-install-software.sh +++ b/EESSI-install-software.sh @@ -212,15 +212,6 @@ fi # if not, an error is produced, and the bot flags the whole build as failed (even when not installing GPU software) # ${EESSI_PREFIX}/scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh -# determine num cores allocated to job -# - get job id -# - run some squeue ... command that just spits out the number of cores allocated -slurm_jobid=$(ls slurm-*.out | sed -e 's/slurm-//' | sed -e 's/\.out//') -command -V squeue -numcpus=$(squeue -j $slurm_jobid -O numcpus || true) -if [[ numcpus -lt 1 ]]; - numcpus=1 -fi # use PR patch file to determine in which easystack files stuff was added changed_easystacks=$(cat ${pr_diff} | grep '^+++' | cut -f2 -d' ' | sed 's@^[a-z]/@@g' | grep '^easystacks/.*yml$' | egrep -v 'known-issues|missing') if [ -z "${changed_easystacks}" ]; then @@ -248,7 +239,7 @@ else if [ -f ${easystack_file} ]; then echo_green "Feeding easystack file ${easystack_file} to EasyBuild..." - ${EB} --parallel ${numcpus} --easystack ${TOPDIR}/${easystack_file} --robot + ${EB} --easystack ${TOPDIR}/${easystack_file} --robot ec=$? # copy EasyBuild log file if EasyBuild exited with an error