-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation Errors with Standard Math Functions using CUDA 12.2 and NVHPC 23.7 #19
Comments
Hello, |
Ok, I switched to HPC 22.7 and set the cuda-version in the install script to 11.7 as that's the one in my HPC folder also. I also installed GCC 11.2 and set GNURUOOT=/opt/rh/gcc-toolset-11/root/usr/bin/ before executing the install script so my prerequisites are now Unfortunately the compilation still crashes with the following output:
The same happened when I previously tried using GCC 9.2.1 (so HPC-SDK 22.7 + cuda11.7 + GNU-9.2.1) and that's why I installed 11.2.1 in the first place Not sure what else I could try here... Maybe getting HPC 22.2? |
Since the only available CUDA Versions on my system are 11.2, 12.1 and 12.2 I tried to install the GPU version with the newest available versions. If this is already an error or if this is rather a problem with NVIDIA HPC instead of Tinker; ignore the rest and inform me. Otherwise;
Description:
When attempting to compile Tinker-HP with CUDA version 12.2 and NVIDIA HPC SDK version 23.7, compilation errors are encountered related to standard C++ math functions not being recognized within the std namespace.
Environment:
Steps to Reproduce:
Expected Behavior:
The compilation should recognize standard math functions from the C++ standard library and compile without errors.
Actual Behavior:
The following errors are displayed during the compilation process:
(Additional similar errors for other math functions like cosh, atan, atan2, tan, tanh, etc.)
Additional Information:
I also created a file to source with a couple of paths to ensure Tinker-HP uses the right ones during compilations. Maybe someone sees an error here:
Attempted Fixes:
Request:
Assistance is requested to resolve the compilation issues related to the standard C++ library functions in CUDA 12.2 headers when using the NVIDIA HPC SDK. Any known fixes, patches, or suggestions to bypass these errors would be greatly appreciated.
The text was updated successfully, but these errors were encountered: