国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做PHYS 52015、代寫C/C++設計程序

時間:2024-01-04  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



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
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇: 代寫期貨策略 代寫文華期貨指標公式
  • 下一篇:福建莆田鞋批發市場在哪里?盤點6個批發市場渠道
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    日韩精品视频久久| 亚洲.欧美.日本.国产综合在线 | 日本乱人伦a精品| 欧美巨猛xxxx猛交黑人97人| 久久久99久久精品女同性| 91久久国产精品91久久性色| 国产精品情侣自拍| 国产精自产拍久久久久久| 黑人中文字幕一区二区三区| 欧美久久久久久一卡四| 欧美怡红院视频一区二区三区| 性色av一区二区三区| 视频一区二区在线| 日本免费一级视频| 男人天堂成人网| 国产情人节一区| 91免费版看片| 久久久久日韩精品久久久男男| 久久精品人人做人人爽电影| 久久久久久久999精品视频| 色噜噜狠狠狠综合曰曰曰88av| 国产精品男人的天堂| 在线播放 亚洲| 日本www高清视频| 国产欧洲精品视频| 久久综合九色综合88i| 僵尸世界大战2 在线播放| 一本色道久久综合亚洲二区三区| 亚洲色成人www永久在线观看| 色综合影院在线观看| 黄页网站大全在线观看| 不卡一区二区三区视频| 深夜精品寂寞黄网站在线观看| 久久伊人精品天天| 日韩av中文字幕第一页| 国产在线xxxx| 国产精品三级美女白浆呻吟| 无码人妻精品一区二区三区66 | 国产精品99导航| 日韩激情视频一区二区| 成人中文字幕在线观看| 国产精品视频大全| 日韩人妻无码精品久久久不卡| 高清在线观看免费| 国产精品乱码视频| 欧美在线一级视频| 亚洲国产精品一区二区第一页| 国产精品成人观看视频国产奇米| 亚洲制服中文| 操人视频欧美| 九九综合九九综合| 国内精品久久久久久中文字幕| 国产国语刺激对白av不卡| 伊人久久av导航| 99久久99久久| 久久99久久久久久久噜噜| 免费在线成人av| 日韩视频在线观看国产| 久草一区二区| 日韩欧美精品在线不卡| 国产成人免费高清视频| 男人天堂手机在线视频| 精品久久久久久无码中文野结衣| 国产日韩中文字幕在线| 久久国产精品亚洲| 国产欧美一区二区三区久久 | 美女精品国产| 色婷婷av一区二区三区久久| 久久久久北条麻妃免费看| 欧美日韩亚洲一二三| 不用播放器成人网| 成人精品在线观看| 日本电影一区二区三区| www.亚洲一区| 国产一区二区免费电影| 亚洲v国产v| 国产精品视频专区| 白白操在线视频| 日韩精品 欧美| 精品久久久三级| 国产成人一区二区三区电影| 国内成人精品视频| 天堂√在线观看一区二区| 日韩在线视频播放| 韩日欧美一区二区| 亚洲a∨一区二区三区| 久久这里只有精品8| 国产一区二区三区乱码| 色噜噜色狠狠狠狠狠综合色一| 久久视频在线看| 亚洲AV无码成人精品一区| 国产超碰91| 风间由美久久久| 日韩欧美亚洲v片| 国产a∨精品一区二区三区不卡| 99久久国产综合精品五月天喷水| 欧洲亚洲免费视频| 欧美成人精品在线| 91精品国产91久久久久久最新| 欧美性视频在线播放| 亚洲精品一区二区三区樱花| 国产精品色午夜在线观看| 97人人模人人爽人人喊中文字| 加勒比在线一区二区三区观看| 色综合影院在线观看| 在线日韩av永久免费观看| 国产精品美女视频网站| 久久精品国产一区二区三区不卡| 国产精品一区二区三区观看| 欧美激情www| 欧美影院在线播放| 热久久视久久精品18亚洲精品| 亚洲国产精品女人| 国产伦精品一区二区三区高清| 青青视频免费在线| 色就是色欧美| 午夜精品99久久免费| 亚洲日本精品国产第一区| 一本色道久久88亚洲精品综合| 精品久久久久久久久久中文字幕| 国产精品欧美日韩一区二区| 久久久精品美女| 国产精品日日摸夜夜添夜夜av| 久久久久久精| 久久精品国产精品亚洲| 久久精品免费电影| 国产精品国产三级国产专播精品人 | 久久天天躁狠狠躁夜夜躁| 久久观看最新视频| 久久久久中文字幕2018| 久久精品亚洲94久久精品| 欧美亚洲成人精品| 中文视频一区视频二区视频三区| 欧美激情第三页| 亚洲aaa激情| 久久精品日产第一区二区三区| 色妞在线综合亚洲欧美| 日韩在线欧美在线| 国产精品久久久久久亚洲调教| 国产精品久久精品| 欧美激情一级精品国产| 亚洲a级在线观看| 欧美高清中文字幕| 成人精品久久av网站| 久久99精品久久久久久久久久| 国产精品久久久久av| 亚洲一区二区三区视频播放 | 久久九九免费视频| 亚洲欧洲日产国码无码久久99| 日韩视频在线观看视频| 精品一区二区日本| 国产精品91久久久| 国产精品久久久久久久app| 亚洲v国产v| 久久久久久久97| 国产精品久久久久免费a∨| 日本免费一级视频| www国产黄色| 欧美精品日韩www.p站| 全黄性性激高免费视频| y111111国产精品久久婷婷| 国产精品免费观看在线| 日韩精品欧美在线| 国产精品91久久久久久| 亚洲一区三区在线观看| 男人添女人下部视频免费| 91免费在线视频| 自拍日韩亚洲一区在线| 国产一区二区三区四区五区加勒比| 日韩中文字幕视频在线| 色综合久久av| 国产黄视频在线| 日本久久久a级免费| 国产成人精品av在线| 天天爱天天做天天操| 91国内在线视频| 日日碰狠狠躁久久躁婷婷| 久久精品xxx| 欧美一性一乱一交一视频| 精品国产一区久久久| 亚洲色成人一区二区三区小说| 日本一区网站| 久久久久久久久久久福利| 欧美又粗又长又爽做受| 国产精品视频久久久久| 国产一区二区四区| 亚洲自拍av在线| 国产不卡一区二区在线观看| 人体精品一二三区| 国产精品女视频| 99热一区二区三区| 青草青草久热精品视频在线观看| 久久精品福利视频| 国产日本欧美在线| 亚洲www在线观看| 国产va免费精品高清在线 | 国产精品沙发午睡系列| 成人美女免费网站视频| 日本成人黄色| 超碰日本道色综合久久综合|