OneAPI modules compatibility for jlse
Good Evening, I am looking to port our library to early access systems. This work includes integration with ECP applications. I have few problems that need fixing to report: 1. When loading oneapi modules, the modules don't export PKG_CONFIG_PATH to the libze_loader.pc. This prevents the libze_loader detection when building our library. 2. Available libze_loader.pc files in "/soft/libraries/intel-level-zero/" do not match oneapi modules version which leads to 3. when manually exporting PKG_CONFIG_PATH with the .pc file and a oneapi module loaded. 3. When running with one of these, there is version mismatch. I attached a minimal test for detection of the library and version check. To reproduce issues, unpack the archive, then in the unpacked directory do: ``` module load oneapi ./configure ``` Configure fails if libze_loader was not detected due to PKG_CONFIG_PATH not pointing to a directory containing libze_loader.pc file. ``` export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/soft/libraries/intel-level-zero/api_+_loader/0d30b1f-Release-2021.03.29/lib64/pkgconfig ./configure make ./version ``` ./version will fail if the library and header version do not match. Thank you ahead for taking a look. Nicolas Denoyelle
participants (1)
-
Denoyelle, Nicolas