Skip to content

Commit

Permalink
Merge pull request #207 from KhiopsML/dev
Browse files Browse the repository at this point in the history
Release 10.2.2.1
  • Loading branch information
popescu-v authored Jul 5, 2024
2 parents c9b0c0e + db36ba7 commit 27c9f62
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ jobs:
- name: Run tests
env:
KHIOPS_SAMPLES_DIR: ${{ github.workspace }}/khiops-samples
# This is needed so that OpenMPI's mpiexec can be run as root
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
# Force > 2 CPU cores to launch mpiexec
KHIOPS_PROC_NUMBER: 4
# Oversubscribe for MPI 4.x
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ jobs:
KHIOPS_DOCKER_RUNNER_URL: https://localhost:11000
KHIOPS_DOCKER_RUNNER_SHARED_DIR: /tmp/sandbox
KHIOPS_RUNNER_SERVICE_PATH: /scripts/run_service.sh
# This is needed so that OpenMPI's mpiexec can be run as root
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
# Force > 2 CPU cores to launch mpiexec
KHIOPS_PROC_NUMBER: 4
# Oversubscribe for MPI 4.x
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
- Example: 10.2.1.4 is the 5th version that supports khiops 10.2.1.
- Internals: Changes in *Internals* sections are unlikely to be of interest for data scientists.

## 10.2.2.1 - 2024-07-05

### Changed
- *Internals*:
- The OpenMPI backend now executes with the `--allow-run-as-root` option.

## 10.2.2.0 - 2024-07-03

### Added
Expand Down
2 changes: 1 addition & 1 deletion khiops/core/internals/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ def _set_mpi_command_args_with_mpiexec(self, mpiexec_path, installation_method):
elif platform.system() == "Linux":
# For Linux native installations we use OpenMPI
if installation_method == "binary+pip":
self.mpi_command_args.append("--quiet")
self.mpi_command_args += ["--allow-run-as-root", "--quiet"]
self.mpi_command_args += [
"-n",
str(self.max_cores),
Expand Down

0 comments on commit 27c9f62

Please sign in to comment.