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
What is workstation? A workstation is a node in network that is more useful and can occur local information processing or graphics processing. A workstation generally has an in

Telephone companies (Telco's) stated ATM to meet various goals. It gives universal service for all support and subscribers for all users for video, voice and data. It has a single

How does a Token-Passing Protocol works? The token-passing protocol relies on a control signal known as the token. A token is a 24-bit packet that circulates throughout the net

identify different network topologies.

However what if you don't know about the IP address of the computer you wished to connect to? What if you have to access a web server referred to as www.abc.com? How does your web

What is meant by Asymmetric Multiprocessing (AMP)? It imposes hierarchy and a division of labor between processors. Only one designated processor, the master, controls (in a ti

Networks Edge  and Technologies Network  Edge  provides  information  exchange  between  the access network  and the core  network. The devices  and facilities in the network

Point out the drawbacks of Token Ring. Few of the drawbacks of Token Ring are: a. Token Ring is very costly. All topology components cost much more than other more popular s


how to connect two pc in lan?