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
Compile error: "no suitable user-defined conversion from "cufftComplex" to "Scalar2" exists" #3
Comments
Based on the error log, it seems like the plugin installation is unable to access the cufft header file, where the variable type cufftComplex is define. What commands did you use to compile HOOMD? Specifically, did you specify for CUDA to be enabled and for headers to be copied? If you could share the commands you used for the HOOMD installation that would be helpful. Also, which HOOMD and CUDA versions are you using? |
I came across the same issue and figured it out. That's because cufftComplex type was switched from
to
So, go to the lines with errors and change anything like
to
Then, it will work. FYI, I used CUDA 9.1 for my compilation. |
Thank you for the information @sottcap I don't have time at the moment, but if you don't have it I'll look into it later. |
The commands I used to compile HOOMD are in the original report. As you can see there, CUDA was enabled. I don't remember the exact versions but I used the latest github version of HOOMD. |
Thank you for making the source code to this plugin available!
I'm trying to compile the plugin. I've compiled hoomd using the following command:
Followed by a
make -j4
. Then, I try to compile the PSE plugin with the following:This works as expected. However, when I try to run
make -j4
, I get the following output:Do you have any idea what I'm doing wrong?
The text was updated successfully, but these errors were encountered: