Skip to content

Commit

Permalink
Set proc number to 4 while testing khiops installation
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-at-orange committed Jun 25, 2024
1 parent 9dac14e commit 0b71530
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/actions/test-khiops-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,19 @@ runs:
steps:
- name: Print status for debugging
shell: bash
run: khiops-env --env
# We force the process number to 4 because the runner has only 2 proc.
# With 2 proc khiops-env switch to serial and mpi is not used.
# The env var OMPI_MCA_rmaps_base_oversubscribe is for openmpi it corresponds to
# the flag --oversubscribe (Nodes are allowed to be oversubscribed)
run: |
export OMPI_MCA_rmaps_base_oversubscribe=true
export KHIOPS_PROC_NUMBER=4
khiops-env --env
- name: Check Khiops output
shell: bash
run: |
export OMPI_MCA_rmaps_base_oversubscribe=true
export KHIOPS_PROC_NUMBER=4
khiops -s
khiops -v &> output
LINE_NUMBER=$(wc -l < output)
Expand Down

0 comments on commit 0b71530

Please sign in to comment.