[Solved] ParallelComputing Assignment 3-Hello!

$25

File Name: ParallelComputing_Assignment_3-Hello!.zip
File Size: 348.54 KB

SKU: [Solved] ParallelComputing Assignment 3-Hello! Category: Tag:
5/5 - (1 vote)

Activity: Hello!

The purpose of this activity is for you to

  • get started back in writing C or C++ code
  • get familiar with running code on mamba

1 Hello on mamba

Question: Write a code that simply prints the name of the current machine. You can obtain that name using function gethostname (check man page for details). Write that code in file hello.cpp. You can test this works by compiling it with make hello.

Question: Run that code on a mamba compute node using ./queue hello.sh from the cluster head node. This will start a PBS job. Once this job has completed, a file hello answer will be created containing the name of the compute node the command has run on. Make sure you turn that hello answer file in.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ParallelComputing Assignment 3-Hello!
$25