Skip to content

nntk650056/MPI_calculate_Pi

Repository files navigation

MPI_calculate_PI

Calculate PI by Monte Carlo method and parallel cupute with MPI

  1. First we should install MPI and Configure the environment. Please refer to https://blog.csdn.net/qq_36974075/article/details/81144807.

  2. Go to the .exe directory and run "mpiexec -n 4 mpi_pi.exe" in Windows powershell(Adiminister), then you can call the 4 cores to compute Pi.

  3. If you like it, please give me a star.

  4. Go to https://blog.csdn.net/askjff for more MPI example.

About

Calculate PI by Monte Carlo method and parallel cupute with MPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages