辅导案例-COMP528-Assignment2

欢迎使用51辅导,51作业君孵化低价透明的学长辅导平台,服务保持优质,平均费用压低50%以上! 51fudao.top
Guidance on COMP528 Assignment2
Report
I was asked whether an “example Report” was available. I cannot release previous student’s
assignment submissions (without prior agreement) and I do not want to give temptation to
follow a previous report without applying the required thought.
The brief is the best document to follow. It defines key areas to include in the Report:
 You approach to parallelizing the code / discussion of why you decided this
 How you have compiled & run
 The correct best linear fit, specifically values for “m” and “c” for the line Y=mX+c
where Y would be number of pollen on the ground at the end of a given timestep,
and X is the timesteps
 The prediction for how many pollen particles on the ground at the end of the
10,000th timestep.
 Discussion of performance of your MPI implementation
 Discussion of accuracy of your MPI implementation
As stated in the lecture, you need to discuss whether you think the performance is good or
bad, and to try and explain why it is good or bad.
I would point out that the COMP702 MSc Masters Dissertation by Matthew Carter, available
from my home web page, won an award and has Section 6.1 discussing accuracy and
Section 6.2.1 discussing performance (of different implementations) of his parallel code,
albeit on FPGA rather than CPU technologies.
Finally, the generic comments I have made to previous classes include:
 Ensure your report is about your code (& version submitted) e.g. may need to
update report if making last minute changes to the code
 Get rid of typos
 C is case sensitive: The correct MPI function name would be MPI_Allreduce
not MPI_allreduce or MPI_ALLREDUCE (these could be something else…)
 Generally, more explanation required
 Marks and total length (of report) help you see how much you have to describe
different sections
Use of Barkla batch system
You can (should) use the “course” partition for timing runs. This is a single node but we have
highest priority so our jobs have quicker turnaround. You can use “-p course” on the sbatch
command line or include “#SBATCH -p course” within your batch script prior to any
executable statement.
If you want to run on (say) 2 nodes, you can use “-N 2 -p nodes,course” (or put similar in
your batch script) but note it may take significantly longer before the job commences.
[Ends]

欢迎咨询51作业君
51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: abby12468