Compiling and running the pvm program, Computer Engineering

Assignment Help:

Now we will learn how to compile and run PVM programs. To compile the program change to directory pvm/lib/archname where archname is architecture name of your computer. Then the subsequent command: 

cc  program.c -lpvm3 -o prgram

shall compile a program termed as program.c. After compiling we should put the executable file in directory pvm3/bin/ARCH. As well as we need to compile program separately for each architecture in virtual machine. In case we employ dynamic groups we must also add -lgpvm3 to compile command. Then the executable file is able to be run. To achieve this first run PVM. After PVM is running executable file can be run from UNIX command line as any other program. 

PVM supplies an architecture-independent make and aimk which automatically concludes PVM_ARCH and links any OS (operating system) specific libraries to your application. To compile this C example type 

% aimk master.c

Now from one window initialize PVM and configure some hosts. In other window alter directory to $HOME/pvm3/bin/PVM_ARCH in addition type 

% master

It will ask for some tasks to be executed. Then specify number of tasks.


Related Discussions:- Compiling and running the pvm program

What are the types of smart cards used in e-commerce, What are the types of...

What are the types of Smart cards used in e-commerce? Generally there are 2 types of smart cards. Memory smart cards, which can be sighted as minuscule removable read/ write

DSP, Assignment of Analog to digital Ssignal Processing

Assignment of Analog to digital Ssignal Processing

State briefly about the register transfer, State briefly about the  Regist...

State briefly about the  Register Transfer A micro operation is a basic operation performed on information stored in one or more registers. The result of operation may replace

Describe the various signalling techniques, Describe the various signalling...

Describe the various signalling techniques. Signaling systems link the variety of transmission systems, switching systems and subscriber elements in telecommunication network

Design a 3-bit counter using sequential logic, Q. Design a 3-bit counter us...

Q. Design a 3-bit counter using sequential logic with following counting sequence using JK- flip-flops which counts the sequence 0, 3, 2, 7, 5 and repeat.

Shell script, shell script to find whether the given number is Armstrong or...

shell script to find whether the given number is Armstrong or not

What is a user diagram protocol, UDP (User Diagram Protocol) is? It is ...

UDP (User Diagram Protocol) is? It is both Connectionless and Message Oriented.

Layered architecture of electronic data interchange, Illustrated about the ...

Illustrated about the layered architecture of Electronic Data Interchange? Layered Architecture of EDI: Electronic Data Interchange is most commonly applied into th

Predicates, Fred, Barney and Ralph belong to the La Trobe Mountain Club. Ev...

Fred, Barney and Ralph belong to the La Trobe Mountain Club. Every member of the Club is either a skier or a hiker. Anyone that doesn't like snow does not like skiing. No hikers li

What are the data types of vhdl, What are the Data types of VHDL VHDL....

What are the Data types of VHDL VHDL. A multitude of language or user defined data types can be used. This may mean dedicated conversion functions are needed to convert object

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd