Skip to content

Commit

Permalink
Fix openmp threads test to comply with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Feb 13, 2024
1 parent 6b1adfd commit a0d7249
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/scripts/binary-3.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

# Test that the openmp thread setting works.
export OMP_NUM_THREADS=4
export OMP_NUM_THREADS=2

${GAPPA} examine info \
--jplace-path "data/jplace/sample_0_0.jplace.gz"

GAPPA_THREADS=`egrep -- "--threads + 4" ${LOGDIR}/${TESTNAME}.log`
GAPPA_THREADS=`egrep -- "--threads + 2" ${LOGDIR}/${TESTNAME}.log`

# On macos, we currently do not use OpenMP, so this fails.
# Hence, for now, we do not run this test on macos...
Expand Down

0 comments on commit a0d7249

Please sign in to comment.