Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
data dependencyit indicates to the situation in which two or more instructions share same data the instructions in a program are able to be arranged
can math operations be performed on a void pointerno pointer addition and subtraction are based on advancing the pointer by a number of elements by
to apply any algorithm selection of a proper data structure is very significant an explicit operation might be performed with a data structure in a
q spmd model for programminga normal assumption was that it must be possible and not too hard to capture the spmd model for programming mimd
q what is single program multiple dataa general style of writing data parallel programs for mimd computers is spmd single program multiple data means
q connection machine fortranconnection machine fortran was a subsequent simd language developed by thinking machines corporation connection machine
q computational fluid dynamicscomputational fluid dynamics cfd was a fortran like language developed in the early 70s at computational fluid dynamics
q explain data parallel programmingin data parallel programming model major focus is on performing concurrent operations on a data set the data set
q show the spawned programinclude pvm3h main int ptid msgtag char buf100 ptid pvmparent strcpybuf hello world
q explain the use of functions in parallel programminginclude pvm3hmain int cc tid msgtag char buf100 printfxn
q execute a reduce operation over members of specified groupint info pvmreduce void func void data int count int datatype int msgtag
q how to transmits data in the active message bufferint pvmbcast char group int msgtag transmits data in the active message buffer to a group of
q routines which handle dynamic processesnumber of routines which handle dynamic processes int pvmjoingroup char group enrolls calling process
q what are dynamic process groupsto create and manage dynamic groups a separate library libgpvm3a should be linked with the user programs which make
q show packing and unpacking datapacking and unpacking data pvmpacks - pack active message buffer with arrays of prescribed data type int info
receive a message tid is integer task identifier of transmitting process supplied by user and msgtag is message tag supplied by user must be non
q define pvm library functions int info pvmfreebuf int bufid organizes of a message buffer bufid message buffer identifier int pvmgetsbuf void
q show encoding data optionspvm uses suns xdr library to make a machine independent data format if you request it settings for encoding option
q pvm communication modela nonblocking receive as soon as returns with either data or a flag that data hasnt arrived while a blocking receive returns
q define message passingthe pvm communication model offers asynchronous blocking receive and asynchronous blocking send and nonblocking receive
q signaling pvm process int pvmsendsig int tid int signum transmits a signal to other pvm process tid is task identifier of pvm process to receive
q dynamic configuration of parallel virtual machineint pvmaddhosts char hosts int nhost int infos add hosts to virtual machine hosts is an array of
returns the information about tasks running int info pvmtasks int where int ntask struct pvmtaskinfo taskp struct pvmtaskinfo int titid int
q returns information about present virtual machine int pvmparent void returns the tid of process which spawned the calling process int
q catch output from child tasksint pvmcatchout file ff catch output from child tasks ff is file descriptor on which we write collected output the