Skip to content

Commit 27c9f62

Browse files
authored
Merge pull request #207 from KhiopsML/dev
Release 10.2.2.1
2 parents c9b0c0e + db36ba7 commit 27c9f62

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/pip.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ jobs:
7171
- name: Run tests
7272
env:
7373
KHIOPS_SAMPLES_DIR: ${{ github.workspace }}/khiops-samples
74-
# This is needed so that OpenMPI's mpiexec can be run as root
75-
OMPI_ALLOW_RUN_AS_ROOT: 1
76-
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
7774
# Force > 2 CPU cores to launch mpiexec
7875
KHIOPS_PROC_NUMBER: 4
7976
# Oversubscribe for MPI 4.x

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ jobs:
9191
KHIOPS_DOCKER_RUNNER_URL: https://localhost:11000
9292
KHIOPS_DOCKER_RUNNER_SHARED_DIR: /tmp/sandbox
9393
KHIOPS_RUNNER_SERVICE_PATH: /scripts/run_service.sh
94-
# This is needed so that OpenMPI's mpiexec can be run as root
95-
OMPI_ALLOW_RUN_AS_ROOT: 1
96-
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
9794
# Force > 2 CPU cores to launch mpiexec
9895
KHIOPS_PROC_NUMBER: 4
9996
# Oversubscribe for MPI 4.x

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
- Example: 10.2.1.4 is the 5th version that supports khiops 10.2.1.
77
- Internals: Changes in *Internals* sections are unlikely to be of interest for data scientists.
88

9+
## 10.2.2.1 - 2024-07-05
10+
11+
### Changed
12+
- *Internals*:
13+
- The OpenMPI backend now executes with the `--allow-run-as-root` option.
14+
915
## 10.2.2.0 - 2024-07-03
1016

1117
### Added

khiops/core/internals/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ def _set_mpi_command_args_with_mpiexec(self, mpiexec_path, installation_method):
12691269
elif platform.system() == "Linux":
12701270
# For Linux native installations we use OpenMPI
12711271
if installation_method == "binary+pip":
1272-
self.mpi_command_args.append("--quiet")
1272+
self.mpi_command_args += ["--allow-run-as-root", "--quiet"]
12731273
self.mpi_command_args += [
12741274
"-n",
12751275
str(self.max_cores),

0 commit comments

Comments
 (0)