khiops icon indicating copy to clipboard operation
khiops copied to clipboard

Check the path of the drivers on conda/windows

Open bruno-at-orange opened this issue 1 month ago • 2 comments

Currently, Khiops searches for drivers in KHIOPS_HOME/lib. We should check if it is the right path.

bruno-at-orange avatar Nov 12 '25 17:11 bruno-at-orange

  • Stéphane to modify the path in the drivers It will only work for v11 => to document on the website

lucaurelien avatar Nov 20 '25 09:11 lucaurelien

Currently, on Conda / Windows:

  • KHIOPS_DRIVERS_PATH is set to %_KHIOPS_HOME%\lib;
  • _KHIOPS_HOME is set to the parent directory of the directory of the khiops_env.cmd script (via the %%~fa special CMD variable);
  • the khiops_env.cmd script is installed at the same place as the MODL.exe file, as given by %LIBRARY_BIN%, which, in the context of the conda-forge pipelines, resolves to %PREFIX%\Library\bin.
  • hence, _KHIOPS_HOME is set to %PREFIX%\Library in the Windows / Conda on conda-forge context;
  • hence, KHIOPS_DRIVERS_PATH is set to %PREFIX%\Library\lib as expected for the drivers built and shipped on conda-forge.

Hence, the current status seems OK and there is nothing to do on this issue as far as I understand, except for testing that the Khiops Core + drivers combo indeed works for the conda-forge V11 packages.

popescu-v avatar Nov 24 '25 12:11 popescu-v

On the other hand, although the current drivers path configuration works on Conda / Windows, it is more usual, on Windows, that the DLLs be placed in the Library\bin directory, instead of Library\lib as it currently stands. Hence, it is useful to place these DLLs correctly, and for Khiops to expect them at the right place on Windows.

popescu-v avatar Nov 25 '25 09:11 popescu-v