Skip to content
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

GPU compilation error and Possible solution: Applications/Poisson/MuiltipleEquations/pdeapp.jl #9

Open
edk261 opened this issue Mar 6, 2021 · 2 comments

Comments

@edk261
Copy link

edk261 commented Mar 6, 2021

Error:
In file included from gpuApp.cu:4:
gpuFlux.cu:1:10: fatal error: gpuFlux1.cpp: No such file or directory
 #include "gpuFlux1.cpp"
          ^~~~~~~~~~~~~~
compilation terminated.
ERROR: LoadError: failed process: Process(`nvcc -D_FORCE_INLINES -O3 -c --compiler-options "'-fPIC'" gpuApp.cu`, ProcessExited(1)) [1]

Suggested Solution @exapde
After the line

strgpu = replace(stropu, "opu" => "gpu");

I included the following line by replacing cpp by cu for proper compilation
strgpu = replace(strgpu, "cpp" => "cu");

And it worked. But not sure how it affects the other examples.
Any other examples for multiple equation models?

@edk261 edk261 changed the title GPU compilation error: Applications/Poisson/MuiltipleEquations/pdeapp.jl GPU compilation error and Possible solution: Applications/Poisson/MuiltipleEquations/pdeapp.jl Mar 6, 2021
@exapde
Copy link
Owner

exapde commented Mar 15, 2021

Thank you very much for catching the errors and providing the fixes.

@exapde
Copy link
Owner

exapde commented Mar 20, 2021

At this point, there is only one example with multiple equation models. At some time later, we will add new examples with multiple equation models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants