Encoding data options in parallel virtual machine , Computer Networking

Assignment Help:

Encoding data options

PVM uses SUN's XDR library to generate a machine independent data format if you request it. Settings for the encoding option are:

PvmDataDefault: Use XDR by default, as the local library cannot know in advance where you are going to send the data.

PvmDataRaw: No encoding, so make sure you are sending to a same machine.

PvmDataInPlace: Not only is there no encoding, but the data is not still going to be physically copied into the buffer.

  • int info = pvm_freebuf( int bufid )

Disposes of a message buffer. bufid  message buffer identifier.

  • int pvm_getsbuf( void )

returns the active send buffer identifier.

  • int pvm_getrbuf( void )

returns the active receive buffer identifier.

  • int pvm_setsbuf( int bufid )

sets the active send  buffer to bufid, saves the state of the last buffer, and returns the last active buffer identifier.

  • int pvm_setrbuf( int bufid )

sets the active  receive buffer to bufid, saves the state of the last buffer, and returns the last active buffer identifier.

  • intpvm_initsend( int encoding )

 Clear default sends buffer and states the message encoding. Encoding states the next message's encoding scheme.

  • int pvm_send( int tid, int msgtag )

Instantaneously sends the data in the active message buffer.  tid Integer task identifier of destination process. msgtag Integer message tag provides by the user. msgtag should be nonnegative.

  • int pvm_recv( int tid, int msgtag )

Receive a message. tid is integer task identifier of sending process supplied by the user and msgtag is the message tag supplied by the user( should be non negative integer). The process returns the value of the new active receives buffer identifier. Values less than zero specify an error. It blocks the process until a message with label msgtag has arrived from tid. pvm_recv then places the message in a new active receive buffer, which also obvious the current receive buffer.


Related Discussions:- Encoding data options in parallel virtual machine

Explain in dteail about the intranet, Explain in dteail about the intranet ...

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,

Computing shortest path in a graph, While calculating shortest path, first ...

While calculating shortest path, first we assume graph presentation of network at every node then we use Djikstra's algorithm to calculate shortest path from every node to other on

Retransmission of packets - transport layer, Retransmission of packets ...

Retransmission of packets The disadvantage  of thronging away a correctly received packet is that  the subsequent retransmission  of the  packet might  be lost  or garbled and

Define choke packet and implicit congestion signalling, Define Choke packet...

Define Choke packet and Implicit congestion signalling Choke packet: A choke packet is a control packet produced at a congested node and transmitted back to a source node to co

Define the tasks for which sns is used, Define the tasks for which SNS is u...

Define the tasks for which SNS is used SNA can be used for the following types of tasks: -  Terminal access to mainframe and midrange computer applications. -  File trans

Database management, University of Wolverhampton School of Technology 6CI00...

University of Wolverhampton School of Technology 6CI007 Database Server Management Resit Assessment Hand in December 14th 2012 In this assignment you will build a small database t

., Given a five station token bus LAN with station addresses of 3000, 500, ...

Given a five station token bus LAN with station addresses of 3000, 500, 100, 70, and 50. Stations with addresses of 5000, 4000, 400, 90, and 60 are waiting to enter the ring. Assum

Explain point-to-point protocol in ccna, An industry standard suite of prot...

An industry standard suite of protocols for the use of point-to-point links to transport multiprotocol datagrams.

Categories to access the intranet, Categories to access the Intranet P...

Categories to access the Intranet Persons who can find access to the Intranet can be put into three categories. 1.  Those who can enter the site 2.  Those who can access

What is bipolar encoding, Q. What is Bipolar Encoding? - Uses three vol...

Q. What is Bipolar Encoding? - Uses three voltage levels negative, positive and zero - Zero level represents binary 0; 1s are represented with alternating positive and negat

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