Closed thickAsABrick closed 2 years ago
If you pass -DCMAKE_PREFIX_PATH="${NVHPC_PATH}/math_libs"
to CMake, this seems to do the trick.
Updating to newer CMake (e.g. 3.23) seems to resolve the issue.
I am afraid the problem of not being able to build with AMGX persists even with cmake-3.23.2. It may not be a CMake issue. Perhaps it has more to do with FindCUDAToolKit being unable to find all the CUDA relevant header files in version cudatoolkit-11.6. I do not have access to more than one platform that runs cudatoolkit-11.6. So, for now, this matter remains resolved.
This issue has been resolved.
This is an AMGx not a nekRS issue. Feel free to open an issue here: https://github.com/NVIDIA/AMGX/issues
I am pasting below the CMake error I see when I run nrsconfig:
The required libraries are in the LD_LIBRARY_PATH:
And, I am using CMake version > 3.18
I'd appreciate help figuring out why CMake is throwing an error.