-
Notifications
You must be signed in to change notification settings - Fork 4
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
cuda 10 #5
Comments
@benvanwerkhoven Do you have time to look at this issue? Bests, |
Hi Hamidreza, It would help me a lot to have access to the HPC servers to be able to reproduce the problem. I finally have a TUDelft guest account, but it seems Ronald still needs to add me to the hpc servers. Did you check my suggestion that it may be the case that you are still using the old mexfile from matlab? Given this error, I would expect that the build system sends the compiled mexfile to a location that is different from where matlab is looking for it. Best, |
Hi @ronligt Would it be possible for you to give access to Ben for the HPC servers? @benvanwerkhoven Yes, I did that. On the same machine, I load CUDA 8.0 and it works fine on a fresh copy of the codes and it also works fine but I get this error at runtime. Bests, |
@hrheydarian , the account for @benvanwerkhoven is created and he should be able to login into the hpc24, hpc29 and hpc30 |
Hi Hamidreza, I'm currently failing to reproduce the error that you are receiving. I've built everything on the hpc18 machine under cuda80 (typing And I get the output:
I did have to add the shared libraries generated by |
Hi @benvanwerkhoven , Thanks for checking that. I did the same procedure as you did and there is no problem with that. However, the problem is when you also compile the code with cuda/10.1. In this situation, the code is compiling again without error but when you run the script the error that I mentioned occurs. Bests, |
Hi @hrheydarian, I noticed that when I ran CMake for the first time on the hpc29 (with module cuda/10.1 loaded) that CMake still finds and uses the CUDA 8 installation instead of the CUDA 10 installation. You can force CMake to use a specific version by specifying the path to the cuda root dir: If you build the code like that, and make sure that only the newly build shared libraries can be loaded using LD_LIBRARY_PATH, do you still run into the error? Because for me it runs on hpc29 if I build like this with CUDA 10. Best, |
Dear @benvanwerkhoven,
Recently, we got new GPU card and an update for the CUDA drivers. We now have CUDA 10.1.
Fortunately, running MakeFile for 3D code works fine without any error (only some warning about gcc version). However, when I run our matlab script I get the following error:
invalid MEX-file '/home/.../MATLAB/all2all/mex_expdist.mexa64':
lib//expdist.so: undefined symbol: cudaSetupArgument.
Could you please tell me if we need to change something in the MakeFile to adapt it to CUDA10?
Thanks
The text was updated successfully, but these errors were encountered: