Skip to content

Parallel (MPI) implementation in C++ of Finite Difference solver for Laplace eq. over square domain

Notifications You must be signed in to change notification settings

ordinary-slim/XSEDE_laplace_mpi_exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Parallel implementation (MPI) of a finite difference solution of Laplace problem over the unit square. Boundary conditions are:

  • Left & top: $T = 0$
  • Bottom: $T = 100 / x$
  • Right: $T = 100 / y$
  • Null initial condition for interior points

Exercise is proposed by this YouTube video.

Solution using 20 CPUS

Partition Temperature field

Strong scaling

Up to 128 processors

Developper notes

Checkpoints

  • Parallel version runs correctly
  • Parallel version runs
  • Serial version runs correctly

TODO

  • Add strong scaling plot
  • // vtk
  • Ghost cell information communication
  • Parallelization game-plan
  • Write lighter vtk for visualization (low priority)
  • Initial condition set correctly in //
  • Fix bug final error seems too big (high priority)
  • Write vtk for visualization (high priority)

About

Parallel (MPI) implementation in C++ of Finite Difference solver for Laplace eq. over square domain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published