Skip to content

This python MPI program can be used to count number of stars in the galaxy.

Notifications You must be signed in to change notification settings

swanandM/Galaxy-Star-Count-Mpi4py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Galaxy-Star-Count

Hello Guys,

Recently NASA uploaded an image of whole Galaxy having N number stars.

This program is written to count the number of stars using python for MPI and some image processing tools like openCV.

There are 2 programs in this folder

  1. mpi_count_the_stars.py is written by my friend Mr.Mohan Muppidi. This program uses 10 node MPI cluster using point to point communication. To run this program use following command--- mpirun -n 10 python mpi_count_the_stars.py

  2. star_count.py is written by me. My program is inspired from Mohan's program. This program uses collective communication which is next step of point to point communication to inprove the performance. You can run this program with any number of nodes. To run this program use following command- mpirun -n NumberOfNodes python star_count.py e.g mpirun -n 15 python star_count.py

Even before running above programs you to install OpenMPI/MPI4py and OpenCV on your linux/windows machine. You will also need some NumPy and SciPy libraries.

Download below star image--- wget http://www.spacetelescope.org/static/archives/images/publicationtiff40k/heic1502a.tif

for further assistance contact--- [email protected]

About

This python MPI program can be used to count number of stars in the galaxy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages