From c6056abf2c207d1c7d8543218a97a0718299f42e Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Thu, 22 Aug 2024 17:17:11 +0200 Subject: [PATCH] Cleanup of code that is no longer needed --- test_suite.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test_suite.sh b/test_suite.sh index 6a30a4318e..de1c64d977 100755 --- a/test_suite.sh +++ b/test_suite.sh @@ -203,14 +203,10 @@ echo "Detected available memory: ${cgroup_mem_mib} MiB" # echo "Replacing detected system information in template ReFrame config file..." cp ${RFM_CONFIG_FILE_TEMPLATE} ${RFM_CONFIG_FILES} -# sed -i "s/__NUM_CPUS__/${cpu_count}/g" $RFM_CONFIG_FILES -# sed -i "s/__NUM_SOCKETS__/${socket_count}/g" $RFM_CONFIG_FILES -# sed -i "s/__NUM_CPUS_PER_CORE__/${threads_per_core}/g" $RFM_CONFIG_FILES -# sed -i "s/__NUM_CPUS_PER_SOCKET__/${cores_per_socket}/g" $RFM_CONFIG_FILES +echo "Replacing memory limit in the ReFrame config file with the detected CGROUP memory limit: ${cgroup_mem_mib} MiB" sed -i "s/__MEM_PER_NODE__/${cgroup_mem_mib}/g" $RFM_CONFIG_FILES -echo "Replacing partition name in the template ReFrame config file, to trigger CPU autodetection for this job" -# cp ${RFM_CONFIG_FILE_TEMPLATE} ${RFM_CONFIG_FILES} RFM_PARTITION="${SLURM_JOB_PARTITION}" +echo "Replacing partition name in the template ReFrame config file: ${RFM_PARTITION}" sed -i "s/__RFM_PARTITION__/${RFM_PARTITION}/g" $RFM_CONFIG_FILES # Make debugging easier by printing the final config file: