Open popescu-v opened 2 weeks ago
It suffices to add a --environment
option that gives the path to the desired khiops_env
.
Alternative simple: réutiliser le paramètre existant binaries
pour y cherche le khiops_env
en priorité, et si non trouvé se rabattre sur la recherche des binaires comme actuellement
Description
Currently,
kht_test.py
inLearningTestTool/py
does not use the settings inkhiops_env
. This entails that, in order to make sure thatLearningTestTool
tests Khiops in (real) user-like conditions,LearningTestTool
needs to replicatekhiops_env
settings.For example, to match the
export MPICH__INTERFACE_HOSTNAME=localhost
command inkhiops_env
on MacOS,kht_test.py
needs to detect the "Darwin" platform and replicatekhiops_env
behavior by adding the-host localhost
options tompiexec
, which achieve the same effect (related issue on this point: #401).The goal of this issue is to make
LearningTestTool
launchable in two modes:khiops_env --env
to read the MPI command (and other settings); usable:Context
khiops -o scenario._kh
): Anykhiops -s
): All supported