This repository provides an implementation of two FEM solvers to solve the Poisson's problem on a rectangular mesh with Neumann and Dirichlet boundary conditions. The problem is solved with the conjugate gradient method and the w-Jacobi method. Both can be either be used serial or parallized with MPI. This project was developed during the High Performance Computing II course at the University of Ulm.
The project is compiled with Make. Three pre made testfiles are provided to test the general functionality of the software. The testcase is selected with e.g. 'CASE=1' when calling make. The three test cases are:
- Serial CG solver for 1 - 7x refinement
- Parallel CG solver with 6 processors for 1 - 7x refinement on one machine
- Parallel CG solver with 24 processors for 1 - 7x refinement on hosts
If no case is given the default file 'main_parallel.cpp' is executed.
For compilation call make like so:
make CASE=1
The parallel test cases are compiled so the 24 are evenly distributed between four different hosts.
Dominik Aigner, Simon Deutrich, Oliver Kratz, Lukas Ramsperger