MPI Introduction, Marshall University, Sponsored by the National Science Foundation
MPI Code Examples: Examples for each type of MPI command
MPI Send / Recv Tutorial: The Send statement sends data value(s) to a specified process. The Recv statement receives a data value from a specified process.
Monte Carlo Code Example, Estimate of PI
MPI Introduction, San Francisco State
MPI Program that Computes a Tree Structured Global Sum
http://www.abandah.com/gheith/wp-content/uploads/2012/09/CPE521_F12_E1_sol.pdf
Introduction to the Message Passing Interface Using C, University of Kansas: General Overview for Splitting Processes.
MPI Example Code Sample Global Sum
MPI Book
Designing and Building Parallel Programs
MPI Communicators and Groups
Set of Code Examples Using Point to Point, Sum Examples: http://www.cdac.in/HTmL/events/beta-test/archives/promcore-2008/mpi-cpp-promcore-2008/basic-point-to-point-mpi-cpp.html
// Initialize MPI environment
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD,&nproc);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
stime = MPI_Wtime(); /* start timer */
// broadcast N & data
MPI_Bcast(&N, 1, MPI_INT, 0, MPI_COMM_WORLD);
MPI_Bcast(&adata[0], n, MPI_INT, 0, MPI_COMM_WORLD);
// Master gets stop timer
etime = MPI_Wtime(); /* end time */
// everybody waits for all to arrive
MPI_Barrier(MPI_COMM_WORLD);
Pauls Online Notes : Calculus II - Approximating Definite Integrals
Simpsons Rule Code Example, Parallel Processing, www.new-npac.org/projects/cdroms/cewes-1999-06-vol2/cps615course/examples96/simpson-rule_with_mpi.c
Simpsons Rule Code Example, Single Processor, http://cs.usfca.edu/~peter/cs220/code/trap/hw1.c
Trapezoid Examples Single Processor and Parallel
cs.usfca.edu/~peter/cs220/code/trap/mpi_trap.c
www.cs.usfca.edu/~peter/cs625/code/mpi_trap.c
OTHER
http://chpc.wustl.edu/mpi-c.html
Sum Code: http://cs.boisestate.edu/~amit/teaching/430/slides/mpi-intro.pdf
http://cs.boisestate.edu/~amit/teaching/430/slides/MessagePassingModel.pdf
Message Passing Interface (MPI)
Message Passing Interface (MPI) Exercise
MPI_Comm_rank
https://computing.llnl.gov/tutorials/mpi/man/MPI_Comm_rank.txt
https://computing.llnl.gov/tutorials/mpi/samples/C/mpi_helloBsend.c
Assignment 4: Implementations of MPI
No comments:
Post a Comment