SlideShare une entreprise Scribd logo
1  sur  75
Getting Started with MPI Marcirio Silveira Chaves [email_address] Tutorial on Parallel Computing and  Message Passing Model Part II - Day 2
Memories ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Menu ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
The MPI Standard ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
MPI Goals ,[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Reasons for Using MPI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
When and When Not to Use MPI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Programming Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Programming Model ,[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Hands on June - 2009 LNEC - DHA - NTI
Getting Started  ,[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI Fortran include file  include 'mpif.h'   Fortran Binding  Format: CALL MPI_XXXXX(parameter,..., ierr) call mpi_xxxxx(parameter,..., ierr)   Example:   CALL MPI_BSEND(buf,count,type,dest,tag,comm,ierr)   Error code:   Returned as "ierr" parameter. MPI_SUCCESS if successful
General MPI Program Structure June - 2009 LNEC - DHA - NTI
Communicators and Groups ,[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Rank ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Environment Management Routines  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Environment Management Routines  ,[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Environment Management Routines  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Environment Management Routines  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Environment Management Routines  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Environment Management Routines  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
June - 2009 LNEC - DHA - NTI
[object Object],June - 2009 LNEC - DHA - NTI
Types of MPI Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Point-to-Point Communications and Messages ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Point-to-Point Communications and Messages ,[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Point-to-Point Communications and Messages ,[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Point-to-Point Communications and Messages ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Point-to-Point Communications and Messages ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Point-to-Point Communications and Messages ,[object Object],June - 2009 LNEC - DHA - NTI
Point-to-Point Communications and Messages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Point-to-Point Communications and Messages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Types of MPI Routines ,[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Communication Modes and Completion Criteria ,[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Communication Modes and Completion Criteria ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking and Non-blocking Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking and Non-blocking Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking and Non-blocking Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking and Non-blocking Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking and Non-blocking Communication ,[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Order and Fairness ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Order and Fairness ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
MPI Message Passing Routine Arguments June - 2009 LNEC - DHA - NTI Blocking sends MPI_Send( buffer,count,type ,dest, tag,comm )  Non-blocking sends  MPI_Isend( buffer,count,type ,dest, tag,comm ,request)  Blocking receive  MPI_Recv( buffer,count,type ,source, tag,comm ,status)  Non-blocking receive  MPI_Irecv( buffer,count,type ,source, tag,comm ,request)
MPI Message Passing Routine Arguments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
MPI Message Passing Routine Arguments ,[object Object],June - 2009 LNEC - DHA - NTI
MPI Message Passing Routine Arguments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
MPI Message Passing Routine Arguments ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
MPI Message Passing Routine Arguments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
MPI Message Passing Routine Arguments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
MPI Message Passing Routine Arguments June - 2009 LNEC - DHA - NTI Blocking sends MPI_Send( buffer,count,type ,dest, tag,comm )  Non-blocking sends  MPI_Isend( buffer,count,type ,dest, tag,comm ,request)  Blocking receive  MPI_Recv( buffer,count,type ,source, tag,comm ,status)  Non-blocking receive  MPI_Irecv( buffer,count,type ,source, tag,comm ,request)
[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
June - 2009 LNEC - DHA - NTI Task 0 pings task 1 and awaits return ping.
Non- Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Non- Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Non- Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Non- Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Non- Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI ,[object Object],[object Object],[object Object],[object Object]
Non- Blocking Message Passing Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
June - 2009 LNEC - DHA - NTI Nearest neighbor exchange in ring topology.
[object Object],June - 2009 LNEC - DHA - NTI
Types of MPI Routines ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Collective Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Collective Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Collective Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Collective Communication ,[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
Compiling and Running MPI Programs ,[object Object],[object Object],[object Object],[object Object],[object Object],June - 2009 LNEC - DHA - NTI
   Nano-Self-Test -  Getting Started   http://ci-tutor.ncsa.uiuc.edu/content.php?cid=1303

Contenu connexe

Tendances

Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computingVajira Thambawita
 
Parallel Programing Model
Parallel Programing ModelParallel Programing Model
Parallel Programing ModelAdlin Jeena
 
Introduction to parallel processing
Introduction to parallel processingIntroduction to parallel processing
Introduction to parallel processingPage Maker
 
Parallel computing
Parallel computingParallel computing
Parallel computingvirend111
 
Lecture 3 parallel programming platforms
Lecture 3   parallel programming platformsLecture 3   parallel programming platforms
Lecture 3 parallel programming platformsVajira Thambawita
 
Full introduction to_parallel_computing
Full introduction to_parallel_computingFull introduction to_parallel_computing
Full introduction to_parallel_computingSupasit Kajkamhaeng
 
network ram parallel computing
network ram parallel computingnetwork ram parallel computing
network ram parallel computingNiranjana Ambadi
 
Introduction To Parallel Computing
Introduction To Parallel ComputingIntroduction To Parallel Computing
Introduction To Parallel ComputingJörn Dinkla
 
Parallel & Distributed processing
Parallel & Distributed processingParallel & Distributed processing
Parallel & Distributed processingSyed Zaid Irshad
 
Parallel computing
Parallel computingParallel computing
Parallel computingVinay Gupta
 
Parallel architecture
Parallel architectureParallel architecture
Parallel architectureMr SMAK
 
Parallel Programming
Parallel ProgrammingParallel Programming
Parallel ProgrammingUday Sharma
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel ComputingAkhila Prabhakaran
 
INTRODUCTION TO PARALLEL PROCESSING
INTRODUCTION TO PARALLEL PROCESSINGINTRODUCTION TO PARALLEL PROCESSING
INTRODUCTION TO PARALLEL PROCESSINGGS Kosta
 
2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semester2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semesterRafi Ullah
 
Lecture 7 cuda execution model
Lecture 7   cuda execution modelLecture 7   cuda execution model
Lecture 7 cuda execution modelVajira Thambawita
 

Tendances (20)

Parallel computing persentation
Parallel computing persentationParallel computing persentation
Parallel computing persentation
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
 
Parallel Processing Concepts
Parallel Processing Concepts Parallel Processing Concepts
Parallel Processing Concepts
 
Parallel Programing Model
Parallel Programing ModelParallel Programing Model
Parallel Programing Model
 
Introduction to parallel processing
Introduction to parallel processingIntroduction to parallel processing
Introduction to parallel processing
 
Parallel computing
Parallel computingParallel computing
Parallel computing
 
Lecture 3 parallel programming platforms
Lecture 3   parallel programming platformsLecture 3   parallel programming platforms
Lecture 3 parallel programming platforms
 
Full introduction to_parallel_computing
Full introduction to_parallel_computingFull introduction to_parallel_computing
Full introduction to_parallel_computing
 
network ram parallel computing
network ram parallel computingnetwork ram parallel computing
network ram parallel computing
 
Introduction To Parallel Computing
Introduction To Parallel ComputingIntroduction To Parallel Computing
Introduction To Parallel Computing
 
Lecture02 types
Lecture02 typesLecture02 types
Lecture02 types
 
Parallel & Distributed processing
Parallel & Distributed processingParallel & Distributed processing
Parallel & Distributed processing
 
Parallel computing
Parallel computingParallel computing
Parallel computing
 
Introduction to parallel computing
Introduction to parallel computingIntroduction to parallel computing
Introduction to parallel computing
 
Parallel architecture
Parallel architectureParallel architecture
Parallel architecture
 
Parallel Programming
Parallel ProgrammingParallel Programming
Parallel Programming
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel Computing
 
INTRODUCTION TO PARALLEL PROCESSING
INTRODUCTION TO PARALLEL PROCESSINGINTRODUCTION TO PARALLEL PROCESSING
INTRODUCTION TO PARALLEL PROCESSING
 
2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semester2 parallel processing presentation ph d 1st semester
2 parallel processing presentation ph d 1st semester
 
Lecture 7 cuda execution model
Lecture 7   cuda execution modelLecture 7   cuda execution model
Lecture 7 cuda execution model
 

En vedette

Race conditions
Race conditionsRace conditions
Race conditionsMohd Arif
 
Tutorial on Parallel Computing and Message Passing Model - C3
Tutorial on Parallel Computing and Message Passing Model - C3Tutorial on Parallel Computing and Message Passing Model - C3
Tutorial on Parallel Computing and Message Passing Model - C3Marcirio Chaves
 
OpenMP Tutorial for Beginners
OpenMP Tutorial for BeginnersOpenMP Tutorial for Beginners
OpenMP Tutorial for BeginnersDhanashree Prasad
 
Intro to OpenMP
Intro to OpenMPIntro to OpenMP
Intro to OpenMPjbp4444
 
Critical section problem in operating system.
Critical section problem in operating system.Critical section problem in operating system.
Critical section problem in operating system.MOHIT DADU
 
Previo2- Dispos E/S
Previo2- Dispos E/SPrevio2- Dispos E/S
Previo2- Dispos E/SBertha Vega
 
The Message Passing Interface (MPI) in Layman's Terms
The Message Passing Interface (MPI) in Layman's TermsThe Message Passing Interface (MPI) in Layman's Terms
The Message Passing Interface (MPI) in Layman's TermsJeff Squyres
 
Taking R to the Limit (High Performance Computing in R), Part 1 -- Paralleliz...
Taking R to the Limit (High Performance Computing in R), Part 1 -- Paralleliz...Taking R to the Limit (High Performance Computing in R), Part 1 -- Paralleliz...
Taking R to the Limit (High Performance Computing in R), Part 1 -- Paralleliz...Ryan Rosario
 

En vedette (15)

openmp
openmpopenmp
openmp
 
Open mp intro_01
Open mp intro_01Open mp intro_01
Open mp intro_01
 
Openmp
OpenmpOpenmp
Openmp
 
Race conditions
Race conditionsRace conditions
Race conditions
 
Mpi.net tutorial
Mpi.net tutorialMpi.net tutorial
Mpi.net tutorial
 
Tutorial on Parallel Computing and Message Passing Model - C3
Tutorial on Parallel Computing and Message Passing Model - C3Tutorial on Parallel Computing and Message Passing Model - C3
Tutorial on Parallel Computing and Message Passing Model - C3
 
OpenMP Tutorial for Beginners
OpenMP Tutorial for BeginnersOpenMP Tutorial for Beginners
OpenMP Tutorial for Beginners
 
Intro to OpenMP
Intro to OpenMPIntro to OpenMP
Intro to OpenMP
 
Critical section problem in operating system.
Critical section problem in operating system.Critical section problem in operating system.
Critical section problem in operating system.
 
Previo2- Dispos E/S
Previo2- Dispos E/SPrevio2- Dispos E/S
Previo2- Dispos E/S
 
Mpi
Mpi Mpi
Mpi
 
MPI Tutorial
MPI TutorialMPI Tutorial
MPI Tutorial
 
The Message Passing Interface (MPI) in Layman's Terms
The Message Passing Interface (MPI) in Layman's TermsThe Message Passing Interface (MPI) in Layman's Terms
The Message Passing Interface (MPI) in Layman's Terms
 
Taking R to the Limit (High Performance Computing in R), Part 1 -- Paralleliz...
Taking R to the Limit (High Performance Computing in R), Part 1 -- Paralleliz...Taking R to the Limit (High Performance Computing in R), Part 1 -- Paralleliz...
Taking R to the Limit (High Performance Computing in R), Part 1 -- Paralleliz...
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

Similaire à Tutorial on Parallel Computing and Message Passing Model - C2

High Performance Computing using MPI
High Performance Computing using MPIHigh Performance Computing using MPI
High Performance Computing using MPIAnkit Mahato
 
Advanced Scalable Decomposition Method with MPICH Environment for HPC
Advanced Scalable Decomposition Method with MPICH Environment for HPCAdvanced Scalable Decomposition Method with MPICH Environment for HPC
Advanced Scalable Decomposition Method with MPICH Environment for HPCIJSRD
 
MPI message passing interface
MPI message passing interfaceMPI message passing interface
MPI message passing interfaceMohit Raghuvanshi
 
Introduction to MPI
Introduction to MPI Introduction to MPI
Introduction to MPI Hanif Durad
 
Message Passing Interface (MPI)-A means of machine communication
Message Passing Interface (MPI)-A means of machine communicationMessage Passing Interface (MPI)-A means of machine communication
Message Passing Interface (MPI)-A means of machine communicationHimanshi Kathuria
 
MPI Introduction
MPI IntroductionMPI Introduction
MPI IntroductionRohit Banga
 
What is [Open] MPI?
What is [Open] MPI?What is [Open] MPI?
What is [Open] MPI?Jeff Squyres
 
Mpi.net running wizard
Mpi.net running wizardMpi.net running wizard
Mpi.net running wizardAhmed Imair
 
Programming using MPI and OpenMP
Programming using MPI and OpenMPProgramming using MPI and OpenMP
Programming using MPI and OpenMPDivya Tiwari
 
Parallel programming using MPI
Parallel programming using MPIParallel programming using MPI
Parallel programming using MPIAjit Nayak
 
parallel programming models
 parallel programming models parallel programming models
parallel programming modelsSwetha S
 
MPI in TNT for parallel processing
MPI in TNT for parallel processingMPI in TNT for parallel processing
MPI in TNT for parallel processingMartín Morales
 
cs556-2nd-tutorial.pdf
cs556-2nd-tutorial.pdfcs556-2nd-tutorial.pdf
cs556-2nd-tutorial.pdfssuserada6a9
 

Similaire à Tutorial on Parallel Computing and Message Passing Model - C2 (20)

High Performance Computing using MPI
High Performance Computing using MPIHigh Performance Computing using MPI
High Performance Computing using MPI
 
My ppt hpc u4
My ppt hpc u4My ppt hpc u4
My ppt hpc u4
 
Advanced Scalable Decomposition Method with MPICH Environment for HPC
Advanced Scalable Decomposition Method with MPICH Environment for HPCAdvanced Scalable Decomposition Method with MPICH Environment for HPC
Advanced Scalable Decomposition Method with MPICH Environment for HPC
 
MPI message passing interface
MPI message passing interfaceMPI message passing interface
MPI message passing interface
 
Introduction to MPI
Introduction to MPI Introduction to MPI
Introduction to MPI
 
Message Passing Interface (MPI)-A means of machine communication
Message Passing Interface (MPI)-A means of machine communicationMessage Passing Interface (MPI)-A means of machine communication
Message Passing Interface (MPI)-A means of machine communication
 
MPI Introduction
MPI IntroductionMPI Introduction
MPI Introduction
 
MPI
MPIMPI
MPI
 
Lecture9
Lecture9Lecture9
Lecture9
 
More mpi4py
More mpi4pyMore mpi4py
More mpi4py
 
Introduction to MPI
Introduction to MPIIntroduction to MPI
Introduction to MPI
 
What is [Open] MPI?
What is [Open] MPI?What is [Open] MPI?
What is [Open] MPI?
 
Mpi.net running wizard
Mpi.net running wizardMpi.net running wizard
Mpi.net running wizard
 
Programming using MPI and OpenMP
Programming using MPI and OpenMPProgramming using MPI and OpenMP
Programming using MPI and OpenMP
 
Parallel programming using MPI
Parallel programming using MPIParallel programming using MPI
Parallel programming using MPI
 
parallel programming models
 parallel programming models parallel programming models
parallel programming models
 
MPI in TNT for parallel processing
MPI in TNT for parallel processingMPI in TNT for parallel processing
MPI in TNT for parallel processing
 
OpenMP
OpenMPOpenMP
OpenMP
 
cs556-2nd-tutorial.pdf
cs556-2nd-tutorial.pdfcs556-2nd-tutorial.pdf
cs556-2nd-tutorial.pdf
 
25-MPI-OpenMP.pptx
25-MPI-OpenMP.pptx25-MPI-OpenMP.pptx
25-MPI-OpenMP.pptx
 

Plus de Marcirio Chaves

A Look at Risks in IT Projects: A Case Study during the Merger Period in the ...
A Look at Risks in IT Projects: A Case Study during the Merger Period in the ...A Look at Risks in IT Projects: A Case Study during the Merger Period in the ...
A Look at Risks in IT Projects: A Case Study during the Merger Period in the ...Marcirio Chaves
 
Lessons Learned Model for Projects Supported by Web 2.0 Tools: a Mixed Method...
Lessons Learned Model for Projects Supported by Web 2.0 Tools: a Mixed Method...Lessons Learned Model for Projects Supported by Web 2.0 Tools: a Mixed Method...
Lessons Learned Model for Projects Supported by Web 2.0 Tools: a Mixed Method...Marcirio Chaves
 
Rethinking Lessons Learned in the PMBoK Process Groups: A Model based on Peop...
Rethinking Lessons Learned in the PMBoK Process Groups: A Model based on Peop...Rethinking Lessons Learned in the PMBoK Process Groups: A Model based on Peop...
Rethinking Lessons Learned in the PMBoK Process Groups: A Model based on Peop...Marcirio Chaves
 
Revisita e Análise dos Métodos para Captura de Lições Aprendidas: Uma Contrib...
Revisita e Análise dos Métodos para Captura de Lições Aprendidas: Uma Contrib...Revisita e Análise dos Métodos para Captura de Lições Aprendidas: Uma Contrib...
Revisita e Análise dos Métodos para Captura de Lições Aprendidas: Uma Contrib...Marcirio Chaves
 
A Identificação de Riscos Novos e Potencializados em Projetos de Tecnologia d...
A Identificação de Riscos Novos e Potencializados em Projetos de Tecnologia d...A Identificação de Riscos Novos e Potencializados em Projetos de Tecnologia d...
A Identificação de Riscos Novos e Potencializados em Projetos de Tecnologia d...Marcirio Chaves
 
WEB 2.0 TECHNOLOGIES TO SUPPORT LESSONS LEARNED IN PROJECT MANAGEMENT
WEB 2.0 TECHNOLOGIES TO SUPPORT LESSONS LEARNED IN PROJECT MANAGEMENTWEB 2.0 TECHNOLOGIES TO SUPPORT LESSONS LEARNED IN PROJECT MANAGEMENT
WEB 2.0 TECHNOLOGIES TO SUPPORT LESSONS LEARNED IN PROJECT MANAGEMENTMarcirio Chaves
 
A Fine-Grained Analysis of User-Generated Content to Support Decision Making
A Fine-Grained Analysis of User-Generated Content to Support Decision MakingA Fine-Grained Analysis of User-Generated Content to Support Decision Making
A Fine-Grained Analysis of User-Generated Content to Support Decision MakingMarcirio Chaves
 
A Multidomain and Multilingual Conceptual Data Model for Online Reviews Repre...
A Multidomain and Multilingual Conceptual Data Model for Online Reviews Repre...A Multidomain and Multilingual Conceptual Data Model for Online Reviews Repre...
A Multidomain and Multilingual Conceptual Data Model for Online Reviews Repre...Marcirio Chaves
 
Towards a Multilingual Ontology for Ontology-driven Content Mining in Social ...
Towards a Multilingual Ontology for Ontology-driven Content Mining in Social ...Towards a Multilingual Ontology for Ontology-driven Content Mining in Social ...
Towards a Multilingual Ontology for Ontology-driven Content Mining in Social ...Marcirio Chaves
 
Tutorial on Parallel Computing and Message Passing Model - C5
Tutorial on Parallel Computing and Message Passing Model - C5Tutorial on Parallel Computing and Message Passing Model - C5
Tutorial on Parallel Computing and Message Passing Model - C5Marcirio Chaves
 
Tutorial on Parallel Computing and Message Passing Model - C4
Tutorial on Parallel Computing and Message Passing Model - C4Tutorial on Parallel Computing and Message Passing Model - C4
Tutorial on Parallel Computing and Message Passing Model - C4Marcirio Chaves
 
Simpósio Brasileiro de Banco de Dados 2005
Simpósio Brasileiro de Banco de Dados 2005Simpósio Brasileiro de Banco de Dados 2005
Simpósio Brasileiro de Banco de Dados 2005Marcirio Chaves
 
defesa dissertação mestrado
defesa dissertação mestradodefesa dissertação mestrado
defesa dissertação mestradoMarcirio Chaves
 

Plus de Marcirio Chaves (14)

A Look at Risks in IT Projects: A Case Study during the Merger Period in the ...
A Look at Risks in IT Projects: A Case Study during the Merger Period in the ...A Look at Risks in IT Projects: A Case Study during the Merger Period in the ...
A Look at Risks in IT Projects: A Case Study during the Merger Period in the ...
 
Lessons Learned Model for Projects Supported by Web 2.0 Tools: a Mixed Method...
Lessons Learned Model for Projects Supported by Web 2.0 Tools: a Mixed Method...Lessons Learned Model for Projects Supported by Web 2.0 Tools: a Mixed Method...
Lessons Learned Model for Projects Supported by Web 2.0 Tools: a Mixed Method...
 
Rethinking Lessons Learned in the PMBoK Process Groups: A Model based on Peop...
Rethinking Lessons Learned in the PMBoK Process Groups: A Model based on Peop...Rethinking Lessons Learned in the PMBoK Process Groups: A Model based on Peop...
Rethinking Lessons Learned in the PMBoK Process Groups: A Model based on Peop...
 
Revisita e Análise dos Métodos para Captura de Lições Aprendidas: Uma Contrib...
Revisita e Análise dos Métodos para Captura de Lições Aprendidas: Uma Contrib...Revisita e Análise dos Métodos para Captura de Lições Aprendidas: Uma Contrib...
Revisita e Análise dos Métodos para Captura de Lições Aprendidas: Uma Contrib...
 
A Identificação de Riscos Novos e Potencializados em Projetos de Tecnologia d...
A Identificação de Riscos Novos e Potencializados em Projetos de Tecnologia d...A Identificação de Riscos Novos e Potencializados em Projetos de Tecnologia d...
A Identificação de Riscos Novos e Potencializados em Projetos de Tecnologia d...
 
WEB 2.0 TECHNOLOGIES TO SUPPORT LESSONS LEARNED IN PROJECT MANAGEMENT
WEB 2.0 TECHNOLOGIES TO SUPPORT LESSONS LEARNED IN PROJECT MANAGEMENTWEB 2.0 TECHNOLOGIES TO SUPPORT LESSONS LEARNED IN PROJECT MANAGEMENT
WEB 2.0 TECHNOLOGIES TO SUPPORT LESSONS LEARNED IN PROJECT MANAGEMENT
 
A Fine-Grained Analysis of User-Generated Content to Support Decision Making
A Fine-Grained Analysis of User-Generated Content to Support Decision MakingA Fine-Grained Analysis of User-Generated Content to Support Decision Making
A Fine-Grained Analysis of User-Generated Content to Support Decision Making
 
A Multidomain and Multilingual Conceptual Data Model for Online Reviews Repre...
A Multidomain and Multilingual Conceptual Data Model for Online Reviews Repre...A Multidomain and Multilingual Conceptual Data Model for Online Reviews Repre...
A Multidomain and Multilingual Conceptual Data Model for Online Reviews Repre...
 
Towards a Multilingual Ontology for Ontology-driven Content Mining in Social ...
Towards a Multilingual Ontology for Ontology-driven Content Mining in Social ...Towards a Multilingual Ontology for Ontology-driven Content Mining in Social ...
Towards a Multilingual Ontology for Ontology-driven Content Mining in Social ...
 
Phd Marcirio Chaves
Phd Marcirio ChavesPhd Marcirio Chaves
Phd Marcirio Chaves
 
Tutorial on Parallel Computing and Message Passing Model - C5
Tutorial on Parallel Computing and Message Passing Model - C5Tutorial on Parallel Computing and Message Passing Model - C5
Tutorial on Parallel Computing and Message Passing Model - C5
 
Tutorial on Parallel Computing and Message Passing Model - C4
Tutorial on Parallel Computing and Message Passing Model - C4Tutorial on Parallel Computing and Message Passing Model - C4
Tutorial on Parallel Computing and Message Passing Model - C4
 
Simpósio Brasileiro de Banco de Dados 2005
Simpósio Brasileiro de Banco de Dados 2005Simpósio Brasileiro de Banco de Dados 2005
Simpósio Brasileiro de Banco de Dados 2005
 
defesa dissertação mestrado
defesa dissertação mestradodefesa dissertação mestrado
defesa dissertação mestrado
 

Tutorial on Parallel Computing and Message Passing Model - C2

  • 1. Getting Started with MPI Marcirio Silveira Chaves [email_address] Tutorial on Parallel Computing and Message Passing Model Part II - Day 2
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. Hands on June - 2009 LNEC - DHA - NTI
  • 13.
  • 14. General MPI Program Structure June - 2009 LNEC - DHA - NTI
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23. June - 2009 LNEC - DHA - NTI
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44. MPI Message Passing Routine Arguments June - 2009 LNEC - DHA - NTI Blocking sends MPI_Send( buffer,count,type ,dest, tag,comm ) Non-blocking sends MPI_Isend( buffer,count,type ,dest, tag,comm ,request) Blocking receive MPI_Recv( buffer,count,type ,source, tag,comm ,status) Non-blocking receive MPI_Irecv( buffer,count,type ,source, tag,comm ,request)
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51. MPI Message Passing Routine Arguments June - 2009 LNEC - DHA - NTI Blocking sends MPI_Send( buffer,count,type ,dest, tag,comm ) Non-blocking sends MPI_Isend( buffer,count,type ,dest, tag,comm ,request) Blocking receive MPI_Recv( buffer,count,type ,source, tag,comm ,status) Non-blocking receive MPI_Irecv( buffer,count,type ,source, tag,comm ,request)
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60. June - 2009 LNEC - DHA - NTI Task 0 pings task 1 and awaits return ping.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67. June - 2009 LNEC - DHA - NTI Nearest neighbor exchange in ring topology.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75. Nano-Self-Test - Getting Started  http://ci-tutor.ncsa.uiuc.edu/content.php?cid=1303

Notes de l'éditeur

  1. ifort -o exec-simple simple1.f90 -Bstatic -I/home/share/parallel/install/mpich2/include /home/share/parallel/install/mpich2/lib/libfmpich.a /home/share/parallel/install/mpich2/lib/libmpich.a /home/share/parallel/install/mpich2/lib/libmpichf90.a ./exec-simple
  2. Fairness: justiça Overtake: ultrapassar
  3. Insulate: proteje