You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following parallel programming technologies are considered in practice:
6
-
*`MPI`
7
-
*`OpenMP`
8
-
*`TBB`
9
-
*`std::thread`
7
+
*`MPI`
8
+
*`OpenMP`
9
+
*`TBB`
10
+
*`std::thread`
11
+
12
+
The following reporting technologies are considered in practice:
13
+
*`LaTeX`
10
14
11
15
## Rules for submissions
12
16
1. You are not supposed to trigger CI jobs by frequent updates of your pull request. First you should test you work locally with all the scripts (code style)
@@ -18,6 +22,8 @@ The following parallel programming technologies are considered in practice:
18
22
```
19
23
git submodule update --init --recursive
20
24
```
25
+
26
+
### Parallel programming technologies
21
27
### `MPI`
22
28
***Windows (MSVC)**:
23
29
[Installers link.](https://www.microsoft.com/en-us/download/details.aspx?id=57467) You have to install `msmpisdk.msi` and `msmpisetup.exe`.
* There are `task_1`, `task_2`, `task_3`folders in `modules` directory. There are 3 task for the semester. Move to a folder of your task. Make a directory named `<last name>_<first letter of name>_<short task name>`. Example: `task1/nesterov_a_vector_sum`.
107
+
* There are `task_1`, `task_2`, `task_3`, `reports`folders in `modules` directory. There are 3 task and 1 report for the semester. Move to a folder of your task. Make a directory named `<last name>_<first letter of name>_<short task name>`. Example: `task1/nesterov_a_vector_sum`.
85
108
* Go into the newly created folder and begin you work on the task. There must be only 4 files and 3 of them must be written by you:
86
109
-`main.cpp` - google tests for the task. The number of tests must be 4 or greater.
87
110
-`vector_sum.h` - a header file with function prototypes, name it in the same way as `<short task name>`.
88
111
-`vector_sum.cpp` - the task implementation, name it in the same way as `<short task name>`.
89
112
-`CMakeLists.txt` - a file to configure your project. Examples for each configuration can be found in `test_tasks`.
113
+
* Go into the newly created folder and begin you work on the report. There must be only 2 files and 1 of them must be written by you:
114
+
-`vector_sum.tex` - a LaTeX report file which consider information about your program, name it in the same way as `<short task name>`.
115
+
-`CMakeLists.txt` - a file to configure your project. Examples for each configuration can be found in `test_tasks/test_latex`.
90
116
* Name your pull request in the following way:
117
+
* for tasks:
91
118
```
92
119
<Фамилия Имя>. Задача <Номер задачи>. <Полное название задачи>.
93
120
Нестеров Александр. Задача 1. Сумма элементов вектора.
94
121
```
122
+
* for report:
123
+
```
124
+
<Фамилия Имя>. Отчет. <Полное название задачи>.
125
+
Нестеров Александр. Отчет. Сумма элементов вектора.
126
+
```
95
127
* Provide the full task definition in pull request's description.
96
128
97
129
Example pull request is located in repo's pull requests.
@@ -101,19 +133,6 @@ Navigate to a source code folder.
101
133
git checkout -b nesterov_a_vector_sum
102
134
```
103
135
104
-
## 4. How to submit your report to the project
105
-
106
-
* Place `<last name>_<first letter of name>_<short task name>.pdf` containing the report in [the `reports` folder](reports).
107
-
108
-
```
109
-
nesterov_a_vector_sum.pdf
110
-
```
111
-
* Pull request's name for the report looks in the following way:
112
-
```
113
-
<Фамилия Имя>. Отчет. <Полное название задачи>.
114
-
Нестеров Александр. Отчет. Сумма элементов вектора.
115
-
```
116
-
117
136
## Code style
118
137
Please, follow [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html).
119
138
Code style can be verified with [the script](scripts/lint.py) (it runs with Python 2):
0 commit comments