The following six topics are associated with OpenMP or MPI. Indicate which is which.

• Message passing between processes
• Shared memory
• Distributed memory
• Does not run on clusters.
• Multiple threads in single process


• Message passing between processes
MPI means message passing interface. Information is passed between multiple processors by messages

• Shared memory
OpenMP is an applications interface that is designed to support shared memory in a multiprocessor environment.

• Distributed memory
OpenMP is more closely associated with systems having distributed memory.

• Does not run on clusters.
MPI works by passing messages. That is a suitable technology for clusters of processors. OpenMP is based on shared memory and is, therefore, not generally suited to clusters. However, there are now extensions to OpenMP that do support cluster?based processing.

• Multiple threads in single process
OpenMP programs run as a single process and parallelism takes the form of threads.

Computer Science & Information Technology

You might also like to view...

Suppose we want to declare a pointer to a function which has a float return type, and two parameters: the first one an integer and the second one a string. We want to name the pointer fptr. The declaration would look like this:

A. float (fptr) (int, string); B. float (fptr) (int, string); C. float (fptr) (int, string); D. float ( int, string) fptr;

Computer Science & Information Technology

After you select a function, you have to specify the _____.

A. arguments B. parameters C. inputs D. data values

Computer Science & Information Technology

_______ is a commercially available hypervisor from VMware that provides users a bare metal hypervisor to host virtual machines on their servers.

A) Zygote B) Dalvi06B C) JVM D) ESXi

Computer Science & Information Technology

After the following program is finished, how many bytes are written to the file t.dat?

``` import java.io.*; public class Test { public static void main(String[] args) throws IOException { DataOutputStream output = new DataOutputStream( new FileOutputStream("t.dat")); output.writeChars("ABCD"); output.close(); } } ``` a. 2 bytes. b. 4 bytes. c. 8 bytes. d. 12 bytes. e. 16 bytes.

Computer Science & Information Technology