Solve PDE by OpenMP and MPI.
Solve Poisson equation by hybrid programming with OpenMP and MPI.
Replace the compiler path with yours and then execute the following commands.
$ cmake -DCMAKE_DEBUG_TYPE=Release
$ make
$ mpirun -np 6 ./pde --grids 100 --threads 3 --method 0 --output u.data
$ ./pde --threads 3 --method 1
$ ./pde --method 2