mcanalesmayo / jacobi-mpi

OpenMPI and OpenMP implementation of thermal transmission in 2D space by using the Jacobi method.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

OpenMPI and OpenMP implementation of thermal transmission in 2D space by using the Jacobi method.

License:MIT License


Languages

Language:C 97.5%Language:Shell 2.5%