OPTION A:
Part 01:
Please download the attachment 'MPI 01.tar.gz' (Attached the file) and complete the following questions.
Q1: Understand the source code for each of the following five programs. Compile, run and paste one output sequence for each program.
(a) MPI-Hello.c (b) Ring-Example-1.c (c) Ring-Example-2.c
(d) Ring-Example-3.c (e) Send-Receive.c
Part 02:
Please download the attachment 'MPI-02.tar.gz' (Attached the file) and complete the four questions Q1 ~ Q4
Q1: Complete the program 'Scatter-Reduce.c' (Refer to 'Scatter-Gather.c') to compute the product of all elements in a given array.
Q2: Complete the program 'Bcast-Reduce-Assignment.c' (Refer to 'Bcast-Reduce-Example.c') to make the program have the output as follows if we run the program using 2 processes.
The input sequence is:
0 1 2 3
The output sequence is:
0 2 6 12
Q3: The MPI program 'Standard-Deviation.c' computes the standard deviation for an array of elements.(https://en.wikipedia.org/wiki/Standard_deviation Links to an external site.). Here, we assume that the maximum number of elements in the array is 10. Some necessary error checkings are performed to ensure that the number of inputs is correct and their values are valid. Please run the program using each of the following commands and submit your screenshots for the outputs.
(a) mpiexec -n 2 ./Stddev (b) mpiexec -n 2 ./Stddev 0 (c) mpiexec -n 3 ./Stddev 7
(d) mpiexec -n 3 ./Stddev 9 (e) mpiexec -n 4 ./Stddev 21
Q4: Complete the MPI program 'Send-Receive-Checking' to perform the necessary error checking for our previous example 'Send-Receive.c' to ensure that two processes are required for running the program.
OPTION B
Part 03:
Please download the attachment 'MPI-01.tar.gz' (Attached the file) and complete the two questions Q1 and Q2 by following the instructions below.
Q1: Complete the program 'Ring-Assignment-1.c' to make the program work well for any number of processes specified by users and have one possible output sequence as follows if we run the program using 4 processes.
Process 0: Token value < 4 > is received from process 3
Process 2: Token value < 2 > is received from process 1
Process 1: Token value < 1 > is received from process 0
Process 3: Token value < 3 > is received from process 2
Q2: Complete the program 'Ring-Assignment-2.c' to make the program have the same outputs as 'Ring-Example-2.c'.
Part 04:
Please download the attachment 'Project Description.pdf' (Attached the file) and complete the question Q1 by following the instructions below.
Q1: Write an MPI program 'Estimate-Pi.c' from the scratch to estimate the value of Pi (π) using a Monte Carlo method. Your program should perform necessary error checking for inputs. Please see the project description ( )
OPTION C:
Part 05:
Complete the assignment by following the instructions.
1. In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.
Example: 4! = 4*3*2*1 = 24 Note: 0! = 1
Get Your Paper Before the Deadline. Our Services are 100% private and Confidential
Useful Links That Will Help You Around
Link to new order https://studentsolutionsusa.com/orders/stud/new
link to login page https://studentsolutionsusa.com/orders/login
New user registration link https://studentsolutionsusa.com/orders/register
Forgot Password https://studentsolutionsusa.com/orders/forgot/password
FREQUENTLY ASKED QUESTIONS
Question: How does this work?
Answer: Good Question. We are a group of a freelance board of students and professional essay writers. At our website, you may get help with any type of academic assignments: essay, coursework, term paper, business plan, case study, article review, research paper, presentation, and speech. Top writers can help with complex assignments such as dissertations, thesis papers, etc. All of them are professionals possessing excellent knowledge in their field of expertise, perfect writing skills, quality, and speed. When you place an order on our website, we assign it to the best writer. Once the writer finishes the work, the paper is submitted to our quality assurance desk who go through it and ensure it is unique and plagiarism free and that the instructions were followed to the detail. After this step we upload the paper in your account, we also send a copy to the email that you used to register the account with. we can guarantee you that the paper will be 100% plagiarism free. Besides, our services are 100% private and confidential
Question: How do I place an Order after getting to the order page
Answer: There are three major steps in the ordering process
Step 1 ....................................................paper details In this step, you will fill in the instructions of your paper; you can upload any materials that you feel will make your assignment a success. Besides, you can also email us at [email protected] Remember to specify the correct academic level. Please note that sources mean the number of references.
Step 2...................................................... Price calculation Kindly specify the number of pages, type of spacing and the correct deadline. This step will give you the estimated cost minus discount -- you may add the extra features if you wish.
Step 3 ....................................................discount and payment Use the discount code HAPPY2018 to enjoy up to 30% discount of your total cost After this step, proceed to safe payment; you can checkout using your card or PayPal Please note we will send the complete paper to the email you will provide while registering. A copy will also be uploaded to your account
Question: How will I know when my paper is complete? or How will I get the complete Paper?
Answer: Once we are done with the paper, we will be uploaded to your account. A copy will also be sent to the email you registered with. We can guarantee you the following:- 1. Our service is private and confidential; we don't spam or share your contacts with anyone 2. The final paper will be plagiarism free. We will send a Turnitin Report to the email you registered with 3. At our company, willing to do free unlimited revisions until you are satisfied with your paper
Question:- Am a new client, How can I get the guarantee that the paper will be completed and sent to me before my deadline?
Answer: Thank you for expressing your concerns. We would love to have you as our loyal customer. We are certain if we do good work, you will come back for me. Besides, you will give us referrals to your friends and family. For that reason, we can’t fail to deliver your paper within your specified time frame. We will ensure we submit the paper on time so that you can have enough time to go through it, if you have problems with the paper delivered, you can request a free revision. You are entitled to as many revisions as you would wish until you get a paper that satisfies you
Useful Links That Will Help You Around
Link to new order https://studentsolutionsusa.com/orders/stud/new
link to login page https://studentsolutionsusa.com/orders/login
New user registration link https://studentsolutionsusa.com/orders/register
Forgot Password https://studentsolutionsusa.com/orders/forgot/password