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

Random effects are the effects attributable to an infinite set of levels of the factor, of which only the random sample occur in the data. For example, the investigator may want t

What is Proxy ARP? Is using a router to give answer ARP requests. This will be completed when the originating host believes that a destination is local, when in fact is lies be

Q. Explain about Traffic shaping ? Traffic shaping -Method to control the amount and the rate of the traffic sent to the network.? Leaky bucket Token bucket -

Define the analog audio and video conferencing systems When analog audio and video conferencing systems were used, the procurement and installation was complex, less reliable a

Explain in dteail about the intranet The first Web browser was called Mosaic, and the HTML concept, although not a new one, has accelerated data access and research. In short,

What is basic purpose of Routers

First, split the given series of n numbers into two parts, each consisting of n/2 numbers. After that, recursively split the series into two parts until each number acts as an inde

Question 1 Videoconferencing is used to conduct meetings with the people who are located in far distance. Videoconferencing is an example of which type of computer networks? Expla