Open edk261 opened 3 years ago
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 https://github.com/exapde/Exasim/blob/377427ffdf6ebd19d7fe68b0c9bd8df1e41abcb3/Version0.3/Julia/Gencode/gencodeelemface.jl#L111 I included the following line by replacing cpp by cu for proper compilation strgpu = replace(strgpu, "cpp" => "cu");
strgpu = replace(strgpu, "cpp" => "cu");
And it worked. But not sure how it affects the other examples. Any other examples for multiple equation models?
Thank you very much for catching the errors and providing the fixes.
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.
Suggested Solution @exapde After the line https://github.com/exapde/Exasim/blob/377427ffdf6ebd19d7fe68b0c9bd8df1e41abcb3/Version0.3/Julia/Gencode/gencodeelemface.jl#L111 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?