FIT3143 Assignment 2 Marking Guide

ASSESSOR’S NAME: STUDENT’S DETAILS
First name: Last name: Email address: Lab Group:
Date of assessment:
SUB-SECTION
MAX. SCORE
NOTE FOR EACH COLUMN BELOW:
I) FULL OR MAXIMUM SCORE IS GIVEN IF THE CRITERIA IS MET.
II) PARTIAL SCORE IS GIVEN IF THE CRITERIA IS NOT FULLY MET.
III) ZERO SCORE IS GIVEN IF THE CRITERIA IS NOT MET. IV) PENALTIES WILL BE APPLIED AGAINST THE TOTAL MARKS OBTAINED ACROSS THE ASSIGNMENT.
Part A: PROGRAMMING TASK
1.0 -Simulang the EV charging node
A single MPI process simulates one EV charging node. For instance, in a 3 ¡Á 3 Cartesian grid layout, there will be 9 MPI processes. Each node will have a (x, y) coordinate (e.g., Node 0 – (0,0), Node 1 – (0,1), Node 2 – (0,2), … Node 8 (2, 2)). Simulaon should work for dynamic value of m x n nodes and threshold sengs. At startup, the program allows the user to specify the grid size (m x n) and threshold values.
Each EV charging node has k number of in use or free charging ports simulated with POSIX threads (you may opt to use OpenMP as an alternave to POSIX thread). Each thread periodically updates its value, indicang its availability.
The informaon in (b) is stored in a shared array, which can also be accessed by all threads within the same node
If all ports (or almost all ports) are in full use, the node will prompt for neighbour node data. To reiterate, the neighbour nodes refer to immediate top, boom, right and le adjacent nodes (if exist).
If the received data from the neighbours shows a vacancy on the respecve neighbour nodes, the reporng node shall indicate the nearest available neighbour nodes. If the received data also show that all of their ports are heavily ulized, then the reporng node will alert the base staon that the node and its quadrant are all being used up.
The report sent to the base staon should contain as much informaon as possible about the alert. You should demonstrate efficiency when reporng an alert message to the base staon. In this context, you should minimize the number of calls to the MPI Send (or ISend) funcons by a node to the base staon when reporng an alert condion.
The node should receive a message from the base staon about the nearest available EV charging nodes apart from its neighbour nodes.
Each node repeats parts (a) to (g) unl upon receiving a terminaon message from the base staon. Once the node receives a terminaon message, the node cleans up and exits.
Note: External user interrupon (e.g., CTRL + C, or sending a ‘kill -9 ‘ command by user) is not allowed.
2.0 – Simulang the base staon
A single MPI process simulates the base staon node
The base staon node periodically listens for incoming reports from the EV charging nodes
Upon receiving a report from an EV charging node, the base staon checks for the nearest neighbour nodes that are available based on the neighbouring nodes of the reporng node. For instance, if the reporng node is Node 0, the neighbour nodes are Node 1 and 3. The base staon will check whether there¡¯re any reports received from Node 1 and 3 (i.e., Node 2, 4 and 6):
– If no report is received from the nodes within a predefined period, the base staon will suggest the available nodes to the reporng node.
– If there are reports received from all of the nodes within a predefined period, the base staon will send a message nofying the reporng node that there are no available nodes nearby.
The base staon writes (or logs) the key performance metrics to an output file.
The base staon has an opon to send a terminaon message to the EV charging nodes to properly shutdown for maintenance.
Note: External user interrupon (e.g., CTRL + C) are not allowed and should not be needed.
The base staon uses a thread (i.e., POSIX or OPENMP) to send or receive MPI messages from the EV charging nodes. This thread is created by the base staon and terminates properly at the end of the program.
Part B: REPORT
Methodology
Thorough illustraons of network architecture along with a clear descripon of these illustraons. Compelling arguments are presented to jusfy the selected architecture with proper citaons (in acceptable academic format, e.g., IEEE) to published papers in literature.
Note: Do not copy and paste the sample Figure in the assignment specificaons into the report. You should draw your own diagram. No marks will be given for copying diagrams from the specificaon.
Thorough diagrams/flow-charts/pseudo-code capturing the EV network algorithm in details, including the algorithms on all the charging staons and the base staon free of errors. Proper explanaons are required to explain the diagrams/flow-charts/pseudo-cdoes in the report.
Note: Proper technical diagrams and/or C style pseudo code formats must be applied here to be eligible for marks. Mathemacal style pseudocode is also acceptable. No marks will be given for any unclear/unreadable pseudocode formats.
Results tabulaon
Tabulated results which indicates details of the applied simulaon scenario. The results must include number of aempted runs, number of reported messages, and a summary of events generated. Includes screenshots of message logs. Addional charts are included to illustrate the number of triggered events over a period of me.
Note: Minimum 2 runs with different scenarios are expected.
Includes results when running the program on a local computer
Includes results when running the program using a larger grid size on a cluster compung setup (i.e., CAAS)

浙大学霸代写 加微信 cstutorcs
ASSESSOR’S NAME: STUDENT’S DETAILS
First name: Last name: Email address: Lab Group:
Date of assessment:
SUB-SECTION
MAX. SCORE
NOTE FOR EACH COLUMN BELOW:
I) FULL OR MAXIMUM SCORE IS GIVEN IF THE CRITERIA IS MET.
II) PARTIAL SCORE IS GIVEN IF THE CRITERIA IS NOT FULLY MET.
III) ZERO SCORE IS GIVEN IF THE CRITERIA IS NOT MET. IV) PENALTIES WILL BE APPLIED AGAINST THE TOTAL MARKS OBTAINED ACROSS THE ASSIGNMENT.
Analysis and discussion
Explanaons covering results in depth (based on significant amount of observaons) are expected. Derived inferences must be explained and compared with hypothesis. Analysis are required on the communicaon me between charging nodes and the base staon, based on the exchanged messages and known issues. You are also required to include all possible causes of the known issues.
Includes analysis and performance comparison between running the program on a single computer and across a cluster compung setup (e.g., CAAS).
Part C: INTERVIEW + PENALTIES
Code demonstraon and Q&A
Describing the algorithm design, implementaon, results and analysis.
Deduct 0% of Part A:
The student has clearly prepared and understands the code. The student can answer quesons correctly and concisely with lile to no prompng.
Deduct up to 10% of Part A:
The student is reasonably well prepared and can consistently provide answers that are mostly correct.The student may lack confidence or speed in answering
Deduct up to 25% of Part A:
The student may have prepared the code and can give answers that are parally correct but he/she clearly can’t engage in a serious discussion of the parallel algorithm/code
Deduct up to 50% of Part A:
The student may have parally prepared the code before and can give some very basic answers. However, the student clearly can’t engage in a serious discussion of the code and demonstrates a poor understanding of the parallel algorithm/code.
Deduct up to 100% of Part A:
The student has not prepared and cannot answer most/all basic quesons, or the student shows any indicaon of not even seeing/recognizing the code before.
Code layout and compilaon
Code structure & Comments
Deduct 0.5 marks: Some form of proper code structure and code is properly indented, basic comments included.
Deduct 1 mark: Poorly structured code, no proper code indentaon and lile or no comments.
MAKEFILE usage
Deduct 0.5 mark: No MAKEFILE is used.
Job script usage for CAAS
Deduct 0.5 mark: Incorrect usage of job script Deduct 1 mark: No job script
Report – Grammar & Format
Correct spelling, grammar, and punctuaon; complete sentences; correct use of capitalizaon. Proper formang of the report.
Deduct 0.5 mark: Few spelling and grammar errors; correct punctuaon; complete sentences.
Deduct 1 to 2 marks: Noceable spelling and grammar errors; most sentences have punctuaon and are complete; uses upper- and lowercase. Report not properly formaed.
Deduct 2 to 3 marks: Many spelling, grammar, and punctuaon errors; sentence fragments; incorrect use of capitalizaon. Poorly formaed report
Report – High similarity with other reports (using TurnItIn)
< 25% in content similarity is idenfied with another student's report or an external source. Deduct 0.5 mark: Between 25% and 40% in content similarity is idenfied with another student's report or an external source. Deduct 1 mark: Between 40% and 55% in content similarity is idenfied with another student's report or an external source. Deduct 1.5 marks: Between 55% and 70% in content similarity is idenfied with another student's report or an external source. Deduct 2 marks: > 70% similarity idenfied with another student’s report or an external source (Marks may be withheld pending further invesgaon).
Report – Reference secon
Reference secon is present and references are properly formaed in an appropriate citaon format (IEEE or APA). The references were cited in the report.
Deduct 0.5 mark: Reference secon is present but references are not properly formaed in an appropriate citaon format (IEEE or APA). References not properly cited in the report.
Deduct 1 mark: No reference secon
Late submission (Individual)
Deduct 2.5 marks (or 10% of total assignment marks) per late submission day.
Deduct marks:
e.g., -5 marks if the submission is made 2 days aer the due date.
Total Assignment Marks:
Addional comments by Assessor:
Programming Help, Add QQ: 749389476