Closed popescu-v closed 2 weeks ago
After discussion, the first solution would be chosen in the short run. The third solution could be investigated for later, as we need to make sure it also works on Windows, as well as on Conda-like environments in all OSes.
We also need to update the khiopspydev
Docker images to install and use OpenMPI instead of MPICH.
Detailed implementation plan:
khiopspydev
Dockers.wget
from the pre-releases (KHIOPS_REVISION
must be a Git tag)khiops-python
repo clone)khiops-core
(on KHIOPS_REVISION
) + khiops-python
repo cloneunit-tests.yml
:
khiops-core
installed.
Description
Currently, the
KhiopsLocalRunner
assumes the usage of MPICH / MSMPI with its specific command arguments. However, Khiops (the binaries) recently added OpenMPI support for non-Conda environments (see https://github.com/KhiopsML/khiops/pull/252). Thus,khiops-python
should enable switching between MPICH and OpenMPI, according to the MPI library the MODL* binaries have been compiled with / for.Questions/Ideas
khiops-env
files would provide the reference MPI command syntaxes for the 3 supported OS families.khiops-env
directly for Linux, non-Conda environments.khiops-env
directly for all environments, provided that appropriatekhiops-env
scripts are shipped for all Khiops (binary) packages, including for thekhiops-core
Conda package.