Which two lines of code should you remove?
You create an OpenMP application by using Microsoft Visual C++. You write the following lines of code. (Line numbers are included for reference only.)
01 omp_set_num_threads(10);
02 int dataA, dataB, dataC, dataD;
03 #pragma omp parallel private(dataC)
04 {
05 #pragma omp critical
06 dataC=dataA++;
07 #pragma omp atomic
08 dataC++;
09 #pragma omp master
10 {
11 #pragma omp critical
12 dataD++;
13 }
14 #pragma omp atomic
15 dataB++;
16 }
You need to remove unnecessary synchronization constructs. Which two lines of code should you remove? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You administer a Windows HPC Server 2008 cluster. You need to monitor the usage of CPU of the compute nodes. What should you do?
Which two communication semantics should you choose?
You are developing a parallel application that will be deployed to a Windows HPC Server 2008 cluster.You plan to use the Microsoft Message Passing Interface (MPI) library. You need to implement a new procedure for send and receive operations to allow overlapping of computation with communication routines. Which two communication semantics should you choose? (Each correct answer presents part of the solution. Choose two.)
Which command should you run?
You administer a remote Windows HPC Server 2008 cluster. HPC Pack 2008 is installed on your client computer. Users report that job queue length is increasing. You need to retrieve a list of compute nodes that cannot be contacted by the head node. Which command should you run?
What should you do?
You are creating an application that uses Microsoft Message Passing Interface (MPI). The library has the following communication primitives:
Blocking communication primitives like send and receive operations Non-blocking communication primitives like n_send and n_receive operations You write the following code segment for the processes named P0 and P1 in the application.
(Line numbers are included for reference only.)
01 P0:
02 for (i = 0; i < 1000; i++) {
03 produce_data(&data[i]);
04 send(&data[i], 1, P1);
05 }
06
07 P1:
08 for (i = 0; i < 1000; i++) {
09 receive(&a, 1, P0);
10 process_data(&a);
11 }
Users report that the application processes data slowly. You need to ensure that the application processes data quickly.
What should you do?
Which command should you run?
You administer a Windows HPC Server 2008 cluster in a domain named contoso1.com. The forest includes two domains named contoso1.com and contoso2.com. User accounts from both domains access the cluster by using the scheduler named headnode.contoso1.com. A user named allison@contoso2.com must manage jobs for all users. You need to grant the appropriate permissions to allison@contoso2.com. Which command should you run?
Which set of commands should you run?
You are an application developer. You submit a new job that has a job ID of 88 to a Windows HPC Server 2008 cluster. The job contains two tasks named Task1 and Task2. You create a new job with an ID of 99.
You need to copy Task2 from job 88 to job 99.
Which set of commands should you run?
Which tool should you use?
You administer a Windows HPC Server 2008 cluster. You install the Windows Performance Tool Kit on all compute nodes. You need to periodically monitor and enable trace on all the nodes. Which tool should you use?
Which set of commands should you run?
You are an application developer. You submit a new job that has a job ID of 88 to a Windows HPC Server 2008 cluster. The job contains a single task that is not configured to run exclusively. You need to add a second task that runs the MyApp.exe file exclusively on the cluster. Which set of commands should you run?
Which command should you run on the head node?
You administer a Windows HPC Server 2008 cluster that has four compute nodes. The HPC Pack Client Utilities are installed on each compute node. A user reports that during the last week, a compute node named node1 was unavailable intermittently. You need to view the node events and the time of each event that occurred during the last week for node1. Which command should you run on the head node?