-
Notifications
You must be signed in to change notification settings - Fork 28
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
T9-GPU does not compile #199
Comments
Hi Grzegorz! Here are my observations:
|
Zhi Wang, [ 94%] Building CXX object test/CMakeFiles/__t9_all_tests_o.dir/async.cpp.o Do you want me to investigate the issue? % cd ext/interface/CMakeFiles/tinkerObjF.dir/__/source The cmake I use is 3.23.2 (debian sid). Thank you very much! |
I've never seen this problem. This error says that the c++ compiler cannot find member sleep_for in the standard namespace std::this_thread, which should be inside the standard c++ header My hypothesis is that your system has a different set of c++ header files than the one in Ubuntu. In the file Thanks! |
Hi,
I'm kind of stuck now. I can't afford breaking the package update mechanism by installing separate CUDA (and the nvidia driver) on all my machines, and then maintaining the resulting mess. The only way I see is to overcome the compilation problems with debian CUDA (which I use with a bunch of software already). |
Update: |
Hi Zhi Wang, |
Cool! I was going to ask you how cmake was configured. I'm glad you figured it out. Would you please share with us the details of your toolchains, including the versions of your OS and C++, Fortran compilers, so I can better document Tinker9? Thanks! |
The testing machine is: Tinker9 1.0.0 GIT And now ... back to undefined references with debian cuda :) |
Hi Zhi Wang, |
Hi we found that for the current features used in CMake, the minimum version is 3.15. We tested the code with CUDA 9.1. I would naively assume 9.0 would also work and we don't plan to support CUDA 8 or older. |
OK, I will work on it. |
Hello, |
Hello,
I tried to compile Tinker9 with GPU support today, with both Intel (included in oneapi compiler 2022.1) and GNU compilers (Debian 10.3.0-15, Debian 11.3.0-3), Nvidia hpc_sdk 22.5. The build was failing in 2 places, depending on the configuration options.
Issued exemplary cmake commands:
cmake .. -DCMAKE_Fortran_COMPILER_ID=GNU -DCUDA_DIR=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda -DCMAKE_CUDA_ARCHITECTURES="60;70" -DCMAKE_VERBOSE_MAKEFILE=ON
cmake .. -DCMAKE_Fortran_COMPILER_ID=Intel -DCUDA_DIR=/opt/nvidia/hpc_sdk/Linux_x86_64/22.5/cuda -DCMAKE_CUDA_ARCHITECTURES="60;70" -DCMAKE_VERBOSE_MAKEFILE=ON
Both Intel and Nvidia stuff installed and checked.
Attached please find the last stage of build, which failed during the linking. I don't know how to properly submit such cases, I apologize for the inconvenience, and humbly ask for advise.
Best Regards,
Grzegorz
intel_fail.txt.gz
The text was updated successfully, but these errors were encountered: