Skip to content

Commit

Permalink
Run MODL in parallel in run-standard-tests (fix) (#400)
Browse files Browse the repository at this point in the history
KhiopsMPIProcessNumber is deprecated in kht_test.
We use the new API "-p 4" to run the tests in parallel.
  • Loading branch information
bruno-at-orange authored Oct 11, 2024
1 parent 77b091e commit c5ccade
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-standard-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,16 @@ jobs:
shell: bash
run: |
if [[ "${{ matrix.running-mode }}" == "parallel" ]] ; then
export KhiopsMPIProcessNumber=4
export PARALLEL_ARG="-p 4"
fi
if [[ "${{ matrix.config }}" == "release" ]] ; then
python $TEST_PY test/LearningTest/TestKhiops/Standard ${BIN_PATH}
python $TEST_PY test/LearningTest/TestKhiops/Standard ${BIN_PATH} ${PARALLEL_ARG}
if [[ "${{ matrix.running-mode }}" != "parallel" ]] ; then
python $TEST_PY test/LearningTest/TestCoclustering/Standard ${BIN_PATH}
python $TEST_PY test/LearningTest/TestKNI/Standard ${BIN_PATH}
fi
else
python $TEST_PY test/LearningTest/TestKhiops/Standard/IrisLight ${BIN_PATH}
python $TEST_PY test/LearningTest/TestKhiops/Standard/IrisLight ${BIN_PATH} ${PARALLEL_ARG}
if [[ "${{ matrix.running-mode }}" != "parallel" ]] ; then
python $TEST_PY test/LearningTest/TestCoclustering/Standard/Iris ${BIN_PATH}
python $TEST_PY test/LearningTest/TestKNI/Standard/Iris ${BIN_PATH}
Expand Down

0 comments on commit c5ccade

Please sign in to comment.