File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ gcc-macro:
1212 - export OPDI_DIR=$(pwd)/include
1313 - cd tests
1414 - export CXX=g++
15+ - export OMP_NUM_THREADS=$(expr $(nproc --all) / 2)
1516 - make all
1617
1718clang-macro :
@@ -26,6 +27,7 @@ clang-macro:
2627 - export OPDI_DIR=$(pwd)/include
2728 - cd tests
2829 - export CXX=clang++
30+ - export OMP_NUM_THREADS=$(expr $(nproc --all) / 2)
2931 - make all
3032
3133clang-ompt :
@@ -42,6 +44,7 @@ clang-ompt:
4244 - export CXX=clang++
4345 - export CXXFLAGS="$FLAGS"
4446 - export BACKEND=OMPT
47+ - export OMP_NUM_THREADS=$(expr $(nproc --all) / 2)
4548 - make all
4649
4750output :
@@ -55,6 +58,7 @@ output:
5558 - export CXX=g++
5659 - export OUTPUT_INSTRUMENT=yes
5760 - export STDERR_OUTPUT_IS_ERROR=no
61+ - export OMP_NUM_THREADS=$(expr $(nproc --all) / 2)
5862 - make all
5963
6064syntax :
You can’t perform that action at this time.
0 commit comments