99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代做PHYS 52015、代寫C/C++設(shè)計(jì)程序

時(shí)間:2024-01-04  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



Coursework: High-Performance Computing
Module: Introduction to HPC (PHYS 52015)
Term: Michaelmas Term, 2023
Submission Please submit a zip archive containing two PDF files (part1.pdf & part2.pdf)
and two code files (part1.c & part2.c).
Deadlines Consult the MISCADA learning and teaching handbook for submission deadlines.
Plagiarism and collusion Students suspected of plagiarism, either of published work or
work from unpublished sources, including the work of other students, or of collusion will be
dealt with according to Computer Science and University guidelines.
Coursework Description
Throughout the course we have considered simple programming problems largely distinct from
the typical day-to-day practice of scientific computing. In this assignment you will experience
a sliver of that practice by inheriting a codebase it is your responsibility to parallelize while
maintaining correctness.
Consider the following partial differential equation (PDE), which is a variant of the FitzHughNagumo model,
u˙ = ∇2u + u(1 − u)(u − b) − v, nˆ · ∇u = 0,
v˙ = d∇2
v + c(au − v), nˆ · ∇v = 0.
This is an example of a reaction-diffusion system — the reaction is the non-differential term
on the right-hand-side, and the diffusion is the first term on the right-hand-side. Both fields
are subject to ‘no-flux’ boundary conditions, where their normal derivative at the boundary
is identically zero. These models produce a wide array of patterns, from cardiac arrhythmias
to spots and stripes like those seen on animal coats. See here for an interactive example of
this particular model.
You will be supplied with a two-dimensional reaction-diffusion code serial.c which reads
parameters from a header file params.h, simulates the above equations, and tracks the solution
norms,
wu(t) = (δx · δy)
X
(i,j)
u(t, xi
, yj )
2
, wv(t) = (δx · δy)
X
(i,j)
v(t, xi
, yj )
2
, (1)
over time, where (i, j) ∈ [0, N)
2
range over the indices of the array.
Your assignment will be to parallelize the code using OpenMP and MPI, and to explain your
decisions with theoretically sound arguments and measurements of performance.
1
Implementation Notes
• You should preserve the model parameter values and not modify params.h – only modify
the provided serial.c.
• The boundary conditions are folded into the evaluation of the diffusion term — when
i+/-1 or j+/-1 exceeds the range of u or v, then the code just mirrors these ‘ghost
points’ across the boundary back into the domain, e.g., u[-1] = u[0].
1 Your implementation should retain this behavior.
• For scaling results you should measure the executable time, rather than the time for
any subsection of the program, e.g. using the unix command time or appropriate timing
constructs covered in the course.
Part 1: OpenMP
In this assessment, you will compile and run a serial two-dimensional reaction-diffusion code,
and compare its performance against a parallelized version that you will write. The serial
code is made of five functions, init, dxdt, step, norm, and main. The expectations for your
parallel implementation are to use OpenMP #pragmas to:
• Parallelise the function init.
• Parallelise the function dxdt.
• Parallelise the function step.
• Parallelise the function norm.
Your code should be in a single C file named part1.c. Your code must compile and run
with the provided submission script, and produce the same outputs as the serial code in a file
named part1.dat.
Report
Explain and justify your parallelization strategy, using arguments based in theory covered in
the course and your scaling results. Investigate the strong scaling of your implementation.
Report scaling results using transferable metrics in your report. Additional questions you
may wish to consider in your report are listed below. Your report should be no more than
one (1) page (plus images), in a file named part1.pdf.
Questions to consider: What options for parallelisation are available? Why are some more
suitable than others? What difficulties arise in the parallelisation? Where are the necessary
synchronisation points? The solution norm requires the generation of a single output number
from an N-by-N array; what patterns are available for this function? How did you avoid data
races in your solution? Is your parallelisation approach the best option? What alternative
approaches could be used?
Part 2: MPI
In this assessment, return to the serial implementation of the two-dimensional reaction diffusion system, and parallelize the code using MPI calls, breaking down the original problem
domain into distinct regions on each process. Your implementation should:
• Reproduce the initialization of u and v across processes to match the serial code.
1See the exercise on the heat equation for a reference.
2
• Correctly exchange necessary information of u and v across processes.
• Correctly calculate the norms of u and v across all ranks.
• Correctly evaluate the diffusion term on all ranks.
Your code should be a single C file called part2.c. Your code should compile and run with
the provided submission script (using 4 MPI processes), and produce the same outputs as the
serial code in a file named part2.dat.
Report
Explain and justify your parallelization strategy, using arguments based in theory covered in
the course and your scaling results. Investigate the weak scaling of your implementation.
Report scaling results using transferable metrics in your report. Additional questions you
may wish to consider in your report are listed below. Your report should be no more than
one (1) page (plus images), in a file named part2.pdf.
Questions to consider: What topologies for distribution are available with 4 MPI processes? Why might some be preferred over others? What difficulties arise in the parallelisation? The solution norm requires the generation of a single output number from an large
distributed array — what patterns are available for this problem? What if we assume that u
and/or v change slowly compared to the time-step — do any further optimizations for data
exchanges become available? What are some constraints on the possible domain sizes and
number of MPI processes for your solution?
Marking
Each part of your submission will be considered holistically, e.g. your code and report for Part
1 will be considered in tandem so that discrepancies between them will affect your marks.
Your code will be run for correctness on Hamilton. If you develop your programs on your
own machine, then you should test that it works on Hamilton with the provided submission
scripts.
Submission Points Description
All code 10 Compiles and runs to completion without errors using the provided submission scripts.
part1.c 30 Correct parallelization of the serial reaction-diffusion code using
OpenMP, producing correct outputs.
part1.pdf 20 Description and justification of parallelisation scheme, and inclusion of transferable strong scaling results.
part2.c 20 Correct parallelization of the serial reaction-diffusion model using
MPI, producing correct outputs.
part2.pdf 20 Description and justification of parallelisation scheme, and inclusion of transferable weak scaling results.
Table 1: Marking rubric for the summative coursework. Please see the report marking criteria
in the Appendix.
Submission format
Your submission should be a single zip file, uploaded to gradescope, containing part1.c,
part2.c, part1.pdf, and part2.pdf.
3
Appendix
Generic coursework remarks
Stick exactly to the submission format as specified. If you alter the format (submit an archive
instead of plain files, use Word documents rather than PDFs, . . . ), the marker may refuse
to mark the whole submission. Markers will not ask for missing files. If you have to submit
code, ensure that this code does compile and, unless specified otherwise, does not require any
manual interaction. Notably, markers will not debug your code, change parameters, or assess
lines that are commented out.
All of MISCADA’s deadlines are hard deadlines: In accordance with University procedures,
submissions that are up to 5 working days late will be subject to a cap of the module pass
mark. Later submissions will receive a mark of zero. If you require an extension, please submit
an official extension request including medical evidence and/or acknowledgement by college.
Do not contact the lecturers directly, as lecturers are not entitled to grant extensions. Details
on extensions and valid reasons to grant extended deadlines can be found in the Learning
and Teaching Handbook.
It is the responsibility of the student to ensure that there are sufficient backups of their
work and that coursework is submitted with sufficient slack. Submit your coursework ahead
of time. If in doubt, submit early versions. Technical difficulties (slow internet connection
around submission deadline, lost computer hardware, accidentially deleted files, . . . ) will
not be mitigated. Please see https://www.dur.ac.uk/learningandteaching.handbook/
6/2/6/ for further information regarding illness and adverse circumstances affecting your
academic performance.
If collusion or plagiarism are detected, both students who copy and students who help to
copy can be penalised. Do not share any coursework with other students, do not assist
other students, cite all used sources incl. figures, code snippets, equations, . . . Please see
https://www.dur.ac.uk/learningandteaching.handbook/6/2/4 and https://www.dur.
ac.uk/learningandteaching.handbook/6/2/4/1 for further information.
Coursework is to be treated as private and confidential. Do not publish the whole or parts
of the coursework publicly. This includes both solutions and the plain coursework as handed
out.
Generic report quality criteria
Where summative coursework is assessed through written work in the form of a report, the
report will be assessed against some generic criteria.
The relevant grade bands (as percentages) are
0–49 Fail
50–59 Pass
60–69 Merit
70–79 Distinction
80–100 Outstanding
A fail-level report displays an unsatisfactory knowledge and understanding of the topic. The
setup and evaluation of any experimental studies is incomplete. It contains many omissions
or factual inaccuracies. Limited in scope and shows little or no evidence of critical thinking
and application of the course material to the problem. No recognition of limitations of the
approach or evaluation. Experimental data are generally presented incorrectly, or without
clarity.
4
A pass-level report displays some knowledge and understanding of the topic. The setup
and evaluation of any experimental studies is competent. May contain some omissions or
factual inaccuracies. Evidence of critical thinking and application of the course material to
the problem occurs in some places. Has some recognition of limitations of the approach or
evaluation. Most experimental data are presented correctly and clearly.
A merit-level report displays good knowledge and understanding of the topic as presented
in the course material. The setup and evaluation of any experimental studies is careful and
detailed. Broadly complete in scope, with few or no errors. Evidence of critical thinking
and application of the course material to the problem is mostly clear throughout. Recognises
limitations of the approach or evaluation, and has some discussion on how to overcome them.
Experimental data are presented correctly and clearly.
A distinction-level report displays effectively complete knowledge and understanding of the
topic. The setup and evaluation of any experimental studies is well-motivated and nearflawless. Effectively no errors. Evidence of critical thinking and application of the course
material to the problem is clear throughout, and some of the discussion goes beyond the
taught material. Recognises limitations of the approach or evaluation, and presents plausible
approaches to overcome them. Experimental data are presented carefully and with attention
to detail throughout.
An outstanding-level report is similar to a distinction-level report but is effectively flawless
throughout, and shows a significant independent intellectual contribution going beyond the
請(qǐng)加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機(jī)打開當(dāng)前頁(yè)
  • 上一篇: 代寫期貨策略 代寫文華期貨指標(biāo)公式
  • 下一篇:福建莆田鞋批發(fā)市場(chǎng)在哪里?盤點(diǎn)6個(gè)批發(fā)市場(chǎng)渠道
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    出評(píng) 開團(tuán)工具
    出評(píng) 開團(tuán)工具
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
    合肥機(jī)場(chǎng)巴士4號(hào)線
    合肥機(jī)場(chǎng)巴士4號(hào)線
    合肥機(jī)場(chǎng)巴士3號(hào)線
    合肥機(jī)場(chǎng)巴士3號(hào)線
    合肥機(jī)場(chǎng)巴士2號(hào)線
    合肥機(jī)場(chǎng)巴士2號(hào)線
    合肥機(jī)場(chǎng)巴士1號(hào)線
    合肥機(jī)場(chǎng)巴士1號(hào)線
  • 短信驗(yàn)證碼 豆包 幣安下載 AI生圖 目錄網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                国产一区二区三区| 国产二区国产一区在线观看| 国产精品自拍网站| 日韩视频免费观看高清完整版 | 国产美女一区二区| 精彩视频一区二区| 国产在线不卡视频| 亚洲欧洲成人av每日更新| 精品一区二区久久| 在线成人av网站| 精品视频资源站| 欧美色图天堂网| 欧美日韩中文字幕一区二区| 欧美亚洲动漫制服丝袜| 欧美日韩免费不卡视频一区二区三区 | 成人av影院在线| 三级久久三级久久久| 欧美国产一区在线| 91精品国产入口在线| 丁香网亚洲国际| 日韩综合小视频| 亚洲日本丝袜连裤袜办公室| 欧美日韩在线三级| av电影一区二区| 激情都市一区二区| 日韩成人精品视频| 椎名由奈av一区二区三区| 日韩一区二区三区精品视频| 99久久久久久| 国产成人超碰人人澡人人澡| 亚洲一级片在线观看| 国产精品蜜臀av| 精品国产一区a| 欧美日韩精品综合在线| 99国产欧美久久久精品| 久久狠狠亚洲综合| 五月综合激情日本mⅴ| 亚洲天堂2014| 久久蜜桃一区二区| 精品免费一区二区三区| 国产成人免费av在线| 天堂在线亚洲视频| 亚洲综合激情另类小说区| 国产精品区一区二区三| 国产亚洲一区字幕| 51精品国自产在线| 3d成人动漫网站| 日本国产一区二区| 91蜜桃免费观看视频| 成人动漫一区二区在线| 国产麻豆精品theporn| 久久精品久久99精品久久| 日韩精品五月天| 欧美高清你懂得| 欧美视频一区在线观看| 26uuu色噜噜精品一区二区| 国产精品蜜臀在线观看| 久久精品99久久久| 91成人免费在线| 欧美经典一区二区| 日韩高清中文字幕一区| 91美女片黄在线| 欧美极品aⅴ影院| 国内精品免费**视频| 91麻豆精品国产91久久久久| 亚洲免费观看高清在线观看| 国产美女视频91| 亚洲精品在线免费播放| 视频一区国产视频| 亚洲国产精品一区二区尤物区| 欧美一区二区三区播放老司机| 日韩欧美国产成人一区二区| 这里只有精品99re| 精品国产精品网麻豆系列| 久久久精品国产99久久精品芒果 | 美女脱光内衣内裤视频久久网站| 天堂一区二区在线免费观看| 激情小说亚洲一区| 东方欧美亚洲色图在线| 91在线观看视频| 欧美无乱码久久久免费午夜一区| 日韩欧美三级在线| 欧美精品一区二区三区久久久| 国产亚洲成aⅴ人片在线观看 | 色成年激情久久综合| 日韩视频一区二区| 成人欧美一区二区三区视频网页| 亚洲啪啪综合av一区二区三区| 亚洲一区在线视频| 久久99精品国产.久久久久| 粉嫩av亚洲一区二区图片| 色8久久精品久久久久久蜜| 欧美亚州韩日在线看免费版国语版| 欧美男男青年gay1069videost | 国产精品中文字幕一区二区三区| www.亚洲色图| 欧美一区二区大片| 国产精品嫩草影院com| 免费一级片91| 一本一道综合狠狠老| 久久久精品国产免费观看同学| 中文字幕一区av| 成人一级片在线观看| 三级欧美在线一区| 国产午夜精品久久| 日韩视频中午一区| 欧美精选一区二区| 欧美影院一区二区三区| 成人免费视频网站在线观看| 在线亚洲一区二区| 一区二区三区中文在线| 久国产精品韩国三级视频| 91高清在线观看| 日韩美女视频一区二区在线观看| 国产精品国产三级国产三级人妇 | 在线综合视频播放| 亚洲午夜一区二区| 成人免费av网站| 国产日韩综合av| 国产精品综合一区二区三区| 欧美不卡在线视频| 久国产精品韩国三级视频| 欧美一区二区三区视频免费| 日韩高清在线一区| 精品久久久久久综合日本欧美| 日本在线不卡视频一二三区| 欧美高清hd18日本| 日韩一区欧美二区| 精品久久久久久久一区二区蜜臀| 久久99蜜桃精品| 欧美videos大乳护士334| 美女视频黄频大全不卡视频在线播放| 欧美电影一区二区三区| 美女www一区二区| www国产成人| 99精品欧美一区二区三区小说| 成人欧美一区二区三区黑人麻豆 | 一区二区免费看| 欧美性极品少妇| 免费看日韩a级影片| 久久久美女毛片| 91丨九色丨国产丨porny| 亚洲国产日韩a在线播放| 欧美精品 国产精品| 国产一区二区三区四区五区入口| 久久久精品一品道一区| 91一区二区三区在线播放| 亚洲电影第三页| 99久久精品国产网站| 亚洲成a人片在线不卡一二三区| 东方欧美亚洲色图在线| 成人做爰69片免费看网站| 轻轻草成人在线| 欧美午夜片在线看| 亚洲免费在线观看视频| 色综合久久久久| 奇米影视7777精品一区二区| 欧美猛男超大videosgay| 亚洲成av人片一区二区梦乃| 精品嫩草影院久久| 久久激情五月激情| 亚洲一二三区不卡| 亚洲精选一二三| 日韩伦理电影网| 亚洲欧美一区二区在线观看| 国产欧美日韩另类视频免费观看| 国产亚洲一区字幕| 国产精品久久久久久久裸模| 亚洲特黄一级片| 亚洲精品你懂的| 亚洲成人免费在线| 日韩av电影天堂| 久久丁香综合五月国产三级网站| 九九热在线视频观看这里只有精品| 久久99国产精品久久| 国产成都精品91一区二区三| 成人app在线观看| 欧美综合色免费| 制服丝袜在线91| 欧美精品欧美精品系列| 欧美一区二区福利在线| 久久青草国产手机看片福利盒子 | 久久精品视频一区| 国产精品免费久久久久| 一色屋精品亚洲香蕉网站| 国产精品三级在线观看| 亚洲最快最全在线视频| 日韩影视精彩在线| 久久精品国产免费看久久精品| 国产精品一区在线| 麻豆91在线播放| 国产在线播放一区三区四| 波多野洁衣一区| 欧美日本国产一区| 亚洲精品一区二区精华| 国产女人aaa级久久久级| 精品国产凹凸成av人导航| 欧美日韩综合色| 亚洲老妇xxxxxx| 久久久国产精品麻豆 |