Skip to content

This project includes a simple MPI project that will be used as the base for Assignment 2 in our Distributed and Cloud Computing course.

Notifications You must be signed in to change notification settings

cxd9974/MPI_Assignment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPI_Assignment

This project includes a simple MPI project that will be used as the base for Assignment 2 in our Distributed and Cloud Computing course.

#new update, make it signed integer, so it is more friendly to some compiler that doesn't support uint32_t install libmpich-dev or libopenmpi-dev

compile by "mpicc -o mpi_search_All mpi_search_All.c"

basic run on one thread (default value) ./mpi_search_All or customized run (data file, size, number to search for) ./mpi_search_All data30000000.txt 30000000 16384

mpi run with 4 threads (with default value) mpirun -np 4 ./mpi_search_All

run with slurm on multiple node... you figure that out about slurm mpirun. https://slurm.schedmd.com/mpi_guide.html

About

This project includes a simple MPI project that will be used as the base for Assignment 2 in our Distributed and Cloud Computing course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%