Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Description: You are required to write a parallel OpenMP program that performs multiplication for two ndigits decimal integers using the basic simple algorithm you learned

image text in transcribed

image text in transcribed

Description: You are required to write a parallel OpenMP program that performs multiplication for two ndigits decimal integers using the basic simple algorithm you learned in primary school. You may do this homework in teams of two students. Tasks: 1. In homework\#2, you have developed a serial version of the multiplication operation. Your task now is to simply parallelize your own code using loop-level parallelism in OpenMP. 2. You will be given the file omp.c, put all of your code there. Do not create any additional files. 3. Same as homework\#2, you are only allowed to perform string operations. When arithmetic operations are needed, you may use the given two functions in homework\#1: OneDigitAdder and OneDigitMultiplier. 4. My loop, which is the loop that iterates over tests must remain sequential. Instead, try to parallelize your own loop(s). 5. Make sure parallelism overheads are minimized. 6. You may declare additional strings or arrays of strings, if needed. 7. Report execution time using the below table (make sure you disable any printing when measuring final execution times). Correctness checks: 83993015 27396492 02301113963503380 9160321802999144 4141719756118238 037939485783882192885231876788272 66898925124084944579831449594308 48130821062310509735055532957367 03219900194408241381575833827959497925885528772206746515609867036 Execution times must be collected using a physical linux machine Describe your machine (number cores, RAM size, HDD size, OS type, etc)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

1. Ask students to include a rationale for their selections.

Answered: 1 week ago