I tried compiling this repo through your Turing Pattern repo. I ran
> cmake .
> make
And get:
[ 28%] Building CXX object CudaLight/CMakeFiles/HostRoutines.dir/HostRoutines/BufferInitializer.cpp.o
In file included from /home/user/repos/TuringPatterns/PdeFiniteDifferenceSolver/CudaLight/HostRoutines/BufferInitializer.cpp:3:0:
/home/user/repos/TuringPatterns/PdeFiniteDifferenceSolver/CudaLight/HostRoutines/Exceptions.h:13:22: error: ‘virtual const char* cl::NotImplementedException::what() const’ can be marked override [-Werror=suggest-override]
inline const char* what() const noexcept final { return "NotImplemented"; }
^~~~
/home/user/repos/TuringPatterns/PdeFiniteDifferenceSolver/CudaLight/HostRoutines/Exceptions.h:26:22: error: ‘virtual const char* cl::MklException::what() const’ can be marked override [-Werror=suggest-override]
inline const char* what() const noexcept final { return _callerFunction; }
^~~~
/home/user/repos/TuringPatterns/PdeFiniteDifferenceSolver/CudaLight/HostRoutines/Exceptions.h:42:22: error: ‘virtual const char* cl::OpenBlasException::what() const’ can be marked override [-Werror=suggest-override]
inline const char* what() const noexcept final { return _callerFunction; }
^~~~
cc1plus: all warnings being treated as errors
CudaLight/CMakeFiles/HostRoutines.dir/build.make:75: recipe for target 'CudaLight/CMakeFiles/HostRoutines.dir/HostRoutines/BufferInitializer.cpp.o' failed
make[2]: *** [CudaLight/CMakeFiles/HostRoutines.dir/HostRoutines/BufferInitializer.cpp.o] Error 1
CMakeFiles/Makefile2:1421: recipe for target 'CudaLight/CMakeFiles/HostRoutines.dir/all' failed
make[1]: *** [CudaLight/CMakeFiles/HostRoutines.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
I think this problem could be solved by including the compiler flag "-Werror=suggest-override" but I don't know how to implement this change, nor do I understand the issue.
Hello, pmontalb.
I want to use this API to solve a PDE, but I don't know what I should do first cause it's my first time to use API.
Could you tell me how can I add API include PATH and how to use it?
Hello, I am a graduate student, and I want to use C++ to solve partial differential equations. When I was troubled by this, I saw the code you wrote, so I plan to write C++ on your framework The program solves partial differential equations, but as far as I am concerned, my understanding of c++ and cmake is very shallow. Can you tell me how to use your code framework? Or what are the steps to use your code framework?thanks.