Tutorial Task (2 Marks)
Write a program to find a maximum number in an array of integers (16 length) using MPI based parallelisation. You need consider a fixed number of slave processes i.e. 4. Consider master process generates an array of integers and sends part of the array to slave processes for partial computation and then aggregates the partial results to print final result. To communicate between processes, you need to use blocking send and receive function.
The submission needs to be done through Mylo Assignment folder. You need to have proper commenting within your code and also give a demo for getting full marks. Partial marks up to 1.5 marks may be given depending on how much % of the task has been completed.
Deadline for the submission of task: Before the start of Next week’s tutorial
Copyright By PowCoder代写 加微信 powcoder
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com