Giter Site home page Giter Site logo

pmontalb / pdefinitedifferencesolver Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 5.0 31.42 MB

C++/CUDA implementation of the most popular hyperbolic and parabolic PDE solvers

Home Page: https://pmontalb.github.io/PdeFiniteDifferenceSolver/

License: MIT License

C++ 95.42% Python 3.23% Cuda 0.98% CMake 0.37%
pde-solver wave-equation heat-equation transport-equation

pdefinitedifferencesolver's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pdefinitedifferencesolver's Issues

About running the solver

Hi thanks for sharing the PDE solver! I was trying to run cmake . and make.

However, the make command throws an error:

"/usr/bin/ld: cannot open output file PdeFiniteDifferenceSolver: Is a directory
collect2: error: ld returned 1 exit status
CMakeFiles/PdeFiniteDifferenceSolver.dir/build.make:109: recipe for target 'PdeFiniteDifferenceSolver' failed
make[2]: *** [PdeFiniteDifferenceSolver] Error 1
CMakeFiles/Makefile2:597: recipe for target 'CMakeFiles/PdeFiniteDifferenceSolver.dir/all' failed
make[1]: *** [CMakeFiles/PdeFiniteDifferenceSolver.dir/all] Error 2
Makefile:181: recipe for target 'all' failed"

do you know what might be the cause of this?
Thanks!

Issue compiling

Hey there,

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.

Can you advise?

thanks!

Some questions

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?

Steps for usage

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.