C/MPI parallelization of the heat equation with source term:
with benchmark functions:
(steady state equation = Poisson's equation, solved with Jacobi method)
or
(Heat equation, solved with Euler explicit method)
Run:
mpicc MPI_benchmark_solver.c -o MPI_benchmark_solver && mpirun -np N MPI_benchmark_solver
with N = 1+2\*R+2\*C, R = 1,2,..., C = 0,1,2,...