Building and running mpi programs, Computer Networking

MPI parallel programs are written with conventional languages like, C and Fortran  .One or more header files such as "mpi.h" may be needed to give the necessary definitions and declarations. Like other serial program, programs using MPI require to be compiled first before running the program. The command to compile the program may differ according to the compiler being used. If we are using mpcc compiler, then we can run a C program named "program.c"  using the following command:

mpcc  program.c -o program.o

Most executions gives command, typically named mpirun for spawning MPI processes. It gives facilities for the user to select number of processes and which processors they will compile on. For example to run the object file "program" as n processes on n processors we use the following command:

mpirun program -np n

 

Posted Date: 3/2/2013 7:06:18 AM | Location : United States







Related Discussions:- Building and running mpi programs, Assignment Help, Ask Question on Building and running mpi programs, Get Answer, Expert's Help, Building and running mpi programs Discussions

Write discussion on Building and running mpi programs
Your posts are moderated
Related Questions
Write the definition of SAN A SAN is a separate network to handle storage requirements. The SAN detaches storage tasks from specific servers and makes a shared storage facility

As the system administrator, you type "ppp authentication chap pap secret". Name the authentication method is used first in setting up a session? Ans)  the authentication method

QUESTION (a) Concerning agents that reduce workload, there are four agents developed using a learning approach among which is the News Filtering Agent. Name the other three age

Applications of Fiber Optics - Backbone networks because of wide bandwidth and cost effectiveness - Cable TV - LANS - 100Base-FX (Fast Ethernet)

QUESTION (a) Briefly describe the direct coordination model and the meeting oriented coordination model (b) What does JADE stands for? (c) Name the three spec

What is Star topology Each station is directly connected to a common central node. Typically, each station attaches to a central node via two point-to-point links, one for tran

What is the major issue with hop count metric issue

Recognize the command that configures serial0 for PPP encapsulation Ans) Router(config-if)# encapsulation ppp

What is the juncture at which the CPE ends and the local loop portion of the service starts?  Ans) The demarcation or demarc is the juncture at which the CPE ends and the local

Q. Show the Data Encryption Standard? Data Encryption Standard - Bit-level encryption method designed by IBM - Adopted as standard for nonmilitary and nonclassified us