Skip to content

imnotwannafire/Heat-Diffusion-2D-MPI

Repository files navigation

Heat-Diffusion-2D-MPI

Parallel programming for heat diffusion equation and save result to result.txt

Install MPI on ubuntu

sudo apt install mpich

Compile DF2D_MPI_2.c file

mpicc DF2D_MPI_2.c -o DF2D_MPI_2

Run the file with 4 process

mpirun -np 4 ./DF2D_MPI_2

result

Result

Run python file to visualize result

python3 visualize_result.py

About

Parallel programming for heat diffusion equation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published