commit d82d9189fb2e487cb589e3f296452e7102200a39 Author: nihonium Date: Mon Feb 19 13:33:50 2024 +0300 Hello world diff --git a/sem1/MPI_весенний_семестр_занятие1_2024.pdf b/sem1/MPI_весенний_семестр_занятие1_2024.pdf new file mode 100644 index 0000000..10cb1f8 Binary files /dev/null and b/sem1/MPI_весенний_семестр_занятие1_2024.pdf differ diff --git a/sem1/hello b/sem1/hello new file mode 100755 index 0000000..2f97373 Binary files /dev/null and b/sem1/hello differ diff --git a/sem1/hello.c b/sem1/hello.c new file mode 100644 index 0000000..d3a6722 --- /dev/null +++ b/sem1/hello.c @@ -0,0 +1,10 @@ +#include +#include +int main(int argc, char *argv[]){ + int commsize, my_rank; + MPI_Init(&argc,&argv); + MPI_Comm_size(MPI_COMM_WORLD, &commsize); + MPI_Comm_rank(MPI_COMM_WORLD, &my_rank); + printf ("Communicator size= %d My rank= %d\n", commsize,my_rank); + MPI_Finalize(); +} diff --git a/sem1/Вводные задачи по MPI.pdf b/sem1/Вводные задачи по MPI.pdf new file mode 100644 index 0000000..9a5250d Binary files /dev/null and b/sem1/Вводные задачи по MPI.pdf differ diff --git a/sem1/Система_очередей.pdf b/sem1/Система_очередей.pdf new file mode 100644 index 0000000..e26c3c3 Binary files /dev/null and b/sem1/Система_очередей.pdf differ