Skip to content

Commit

Permalink
Add mem per node setting in ReFrame configuration template
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Jun 14, 2024
1 parent 1341964 commit e05c9e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ 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
sed -i "s/__MEM_PER_NODE__/${cgroup_mem_mib}/g" $RFM_CONFIG_FILES

# Workaround for https://github.com/EESSI/software-layer/pull/467#issuecomment-1973341966
export PSM3_DEVICES='self,shm' # this is enough, since we only run single node for now
Expand Down

0 comments on commit e05c9e7

Please sign in to comment.