Question: Q1: Write a program that finds all the prime numbers between 2 and 10,000 using Sieve of Eratosthenes scheme. Your program should count the number

Q1: Write a program that finds all the prime numbers between 2 and 10,000 using Sieve of Eratosthenes scheme. Your program should count the number of prime numbers in that range. Parallelize your code using openMP with different number of threads. Experiment with different scheduling strategies of the loop iterations (e.g., static, dynamic, guided, with different chunk sizes(at least 5)). Time your execution for different number of threads (28)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
