/jacobi-mpi

Distributed and multithreaded implementation (OpenMPI and OpenMP) of a thermal transmission simulation in 2D space by using the Jacobi method

Primary LanguageCMIT LicenseMIT

jacobi-mpi

Description

OpenMPI (v1.5) implementation of a simulation of thermal transmission in a 2D space.

OpenMP is also used to provide multithreading.

A singlethreaded and multithreaded implementation in Go can are available in this repo.

Run the code by using the script comp_run.sh with the following parameters (ordered):

  1. Number of MPI nodes
  2. MPI hostfile
  3. File containing the C code
  4. Number of OMP threads for every node

References

jacobi_seq.c by Rubén Gran Tejero -- rgran@unizar.es

If you use this code for academic work, please also reference: