From c8f550241627a875c983c792090e0ac3741661cf Mon Sep 17 00:00:00 2001 From: Christopher Harrop <35781497+christopherwharrop-noaa@users.noreply.github.com> Date: Tue, 8 Dec 2020 10:20:56 -0700 Subject: [PATCH] Add OpenMP settings to build.sh script. (#10) --- ref/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ref/build.sh b/ref/build.sh index 84da14f..4587d76 100755 --- a/ref/build.sh +++ b/ref/build.sh @@ -58,5 +58,7 @@ cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} .. make -j4 VERBOSE=1 # Run the test suite +export OMP_PLACES=cores +export OMP_PROC_BIND=close export OMP_NUM_THREADS=4 ctest