- Thank you received: 6
more MPI tutorials?
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
5 years 8 months ago #1494
by Guosheng Fu
more MPI tutorials? was created by Guosheng Fu
Hello,
I would like to learn more about ngsolve+MPI. My first goal is to do explicit DG solver for flow problems using MPI. There are a couple of mpi demos available in the py_tutorials/ directory. But that seems all I can find online...
Do you have other test cases available? Or can you point me the right direction to learn more about mpi coding with NGSolve?
Best regards,
Guosheng
I would like to learn more about ngsolve+MPI. My first goal is to do explicit DG solver for flow problems using MPI. There are a couple of mpi demos available in the py_tutorials/ directory. But that seems all I can find online...
Do you have other test cases available? Or can you point me the right direction to learn more about mpi coding with NGSolve?
Best regards,
Guosheng
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
5 years 8 months ago #1496
by christopher
Replied by christopher on topic more MPI tutorials?
Hi,
In the i-Tutorials there is a new section since the last Usermeeting about MPI programming, have you seen that?
ngsolve.org/docu/latest/i-tutorials/inde...#mpi-parallelization
In the i-Tutorials there is a new section since the last Usermeeting about MPI programming, have you seen that?
ngsolve.org/docu/latest/i-tutorials/inde...#mpi-parallelization
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
- Thank you received: 6
5 years 8 months ago #1498
by Guosheng Fu
Replied by Guosheng Fu on topic more MPI tutorials?
i saw that tutorial, it focused more on the solver part. but i would like to see know how to convert an existing serial code to a parallel one. shall i learn basics about mpi4py?
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
5 years 8 months ago #1499
by christopher
Replied by christopher on topic more MPI tutorials?
Usually it is not necessary. The python code should be (almost) the same for setting up the problem. For the solver part you need to use something that works mpi parallel.
We have started the work on an interface to the petsc solver library which is mpi parallel as well, so you can assemble your problem in mpi parallel NGSolve and use the petsc parallel solvers as well. You can check it out here:
github.com/NGSolve/ngs-petsc
But note that this is in a very early state yet.
Best Christopher
We have started the work on an interface to the petsc solver library which is mpi parallel as well, so you can assemble your problem in mpi parallel NGSolve and use the petsc parallel solvers as well. You can check it out here:
github.com/NGSolve/ngs-petsc
But note that this is in a very early state yet.
Best Christopher
Time to create page: 0.101 seconds