JetCracker

Life-time learner's blog

Tag Archives: serial algorithm

[MPI] Calculating integral in parallel

Problem: write a programme to calculate the integral with MPI:

Actually, the programme must be able to calculate any integral. But before writing a parallel programme, we should write a serial one to make sure it works and the algorithm is correct.

There are plenty of algorithms for calculating integrals. One of the most advanced (efficient), among non-parallel, is the method of local stack. Read more of this post