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 on jenkins #2648
Comments
These tests pass when I run them locally. I'm using CUDA 10.2, compared to 10.1 on jenkins, but that shouldn't matter. |
I'm able to reproduce these errors with gcc 7.3.0, but not with 5.4.0. CUDA 10.0.130 is used in both cases. |
When compiling a CUDA kernel with For example on Windows:
This includes the templated |
Hey OpenMM Devs - I experience a similar issue using CUDA 10.1. I did not compile it myself but I can get that info if it's helpful. The simulation runs fine with OpenCL.
My python script:
|
Thanks! This was actually fixed by #2694, so I'll go ahead and close it. |
Hey Peastman - I looked at the fix in the previous github post. While I'm happy the issue was solved, I'm a little unsure how to apply the fix, which seemed to basically be a permissions issue, to my case. From that description, it seemed to be a machine specific issue, but I'm experiencing it as well. |
Just copy the changes from https://github.com/openmm/openmm/pull/2694/files. It's just minor changes to a few lines. |
Thank you for your help, and for your patience with my ignorance. I'm having some trouble finding these files; it may be because I installed OpenMM via anaconda. As far as I can tell, via |
If you want to make this change yourself you need to compile from source. Otherwise, they'll be in the next release. |
Hi, is this in the latest release? I have and still get
|
(Also, probably not in a release yet, I was confused by the fact that the issue was open in April, not solved in April:/) |
Not yet. The fix was just merged on May 29. It seems to depend on what compiler you're using, but not on the CUDA version: #2648 (comment) |
Thanks! Would switching the cuda compiler help? I guess the only other options is compiling from source? |
Downgrading to 7.4.0 at least lets me run the cuda mode. |
Jenkins recently started reporting these errors on CUDA (see for example #2615):
It thinks
fmin()
is a host function. But the CUDA documentation claims it's defined as a device function: https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH__DOUBLE.html#group__CUDA__MATH__DOUBLE_1gc970b9542e2d3e8e5d1e3ebb6a705dde.The text was updated successfully, but these errors were encountered: