-
I have installed Cuda 12.1 in Ubuntu Linux to enable GPU to run OpenSpiel training of game agents. Some error appeared when running build_and_run_tests.sh. OpenSpiel was compiled OK before Cuda was installed. The CMake version on my machine is 3.22.1. Can I ask if it may be due to any known compatibility issue with Cuda? Below are part of the results: Building and testing in /home/user/Documents/OpenSpiel folders/open_spiel/build using 'python' (version 3.11.2).
is not able to compile a simple test program. It fails with the following output:
CMake will not be able to correctly generate this project. Below are informations about Cuda version on my machine: { Also for your information: +-----------------------------------------------------------------------------+ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This does not seem unrelated to Cuda, seems like you are missing the standard C++ library:
It should be fixable by just installing a few packages via apt. For more info, take a look at this: Try BTW I noticed you're using Python 3.11. We don't yet support officially Python 3.11 yet, but it's in the works (see #1025) and will be available after Ubuntu 23.04 released. I personally tested it on Linux though and most things seem work already. |
Beta Was this translation helpful? Give feedback.
This does not seem unrelated to Cuda, seems like you are missing the standard C++ library:
It should be fixable by just installing a few packages via apt. For more info, take a look at this:
https://stackoverflow.com/questions/62612405/usr-bin-ld-cannot-find-lc
Try
sudo apt-get install gcc g++
, which should also installlibstdc++
.BTW I noticed you're using Python 3.11. We don't yet support officially Python 3.11 yet, but it's in the works (see #1025) and will be available after Ubuntu 23.04 released. I personally tested it on Linux though and most things seem work already.