In
https://github.com/lattice/quda/blame/914b462d802e515eb20b7313f2cd9d0b1264b8f4/lib/targets/hip/target_hip.cmake#L135
the path
target_include_directories(quda PUBLIC ${ROCM_PATH}/hipfft/include)
is added to the include directories.
While QUDA builds fine, configuring another code linking against QUDA using CMake will fail like so:
CMake Error in src/lib/CMakeLists.txt:
Imported target "QUDA::quda" includes non-existent path
"/opt/rocm-6.3.4/hipfft/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
This may be a ROCm version issue (6.3.4 and 6.4.4 are the latest we can use on LUMI-G) but at least for those two versions, the correct path is ${ROCM_PATH}/include/hipfft
In
https://github.com/lattice/quda/blame/914b462d802e515eb20b7313f2cd9d0b1264b8f4/lib/targets/hip/target_hip.cmake#L135
the path
is added to the include directories.
While QUDA builds fine, configuring another code linking against QUDA using CMake will fail like so:
This may be a ROCm version issue (6.3.4 and 6.4.4 are the latest we can use on LUMI-G) but at least for those two versions, the correct path is
${ROCM_PATH}/include/hipfft