From 2aa6d67112b470aad29163d56d23bec80420e038 Mon Sep 17 00:00:00 2001 From: Saad Mohsin Date: Thu, 11 Sep 2025 12:23:04 +0500 Subject: [PATCH] fix --- README.md | 6 ++++-- task1.cpp | 3 ++- task2.cpp | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index abd1212..d34f9d8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ -command to run: docker-compose up --build +# command to run: docker-compose up --build -command to shut down: docker-compose down +# command to shut down: docker-compose down + +# Roll numbers: 22i-1601, 22i-1554, 22i-1689 diff --git a/task1.cpp b/task1.cpp index 23da51f..f91fca2 100644 --- a/task1.cpp +++ b/task1.cpp @@ -5,9 +5,10 @@ #include // Required for getenv() // Roll numbers: 22i-1601, 22i-1554, 22i-1689 +// Question 1 int main(int argc, char** argv) { - MPI_Init(&argc, &argv); + MPI_Init(&argc, &argv) int world_size; MPI_Comm_size(MPI_COMM_WORLD, &world_size); diff --git a/task2.cpp b/task2.cpp index 593785a..8badc3a 100644 --- a/task2.cpp +++ b/task2.cpp @@ -5,6 +5,9 @@ #include // Required for getenv() #include // Required for std::string +// Roll numbers: 22i-1601, 22i-1554, 22i-1689 +// Question 2 + int main(int argc, char** argv) { MPI_Init(&argc, &argv);