fix
This commit is contained in:
parent
d6c9f5fe25
commit
2aa6d67112
@ -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
|
||||||
|
|||||||
@ -5,9 +5,10 @@
|
|||||||
#include <cstdlib> // Required for getenv()
|
#include <cstdlib> // Required for getenv()
|
||||||
|
|
||||||
// Roll numbers: 22i-1601, 22i-1554, 22i-1689
|
// Roll numbers: 22i-1601, 22i-1554, 22i-1689
|
||||||
|
// Question 1
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
MPI_Init(&argc, &argv);
|
MPI_Init(&argc, &argv)
|
||||||
|
|
||||||
int world_size;
|
int world_size;
|
||||||
MPI_Comm_size(MPI_COMM_WORLD, &world_size);
|
MPI_Comm_size(MPI_COMM_WORLD, &world_size);
|
||||||
|
|||||||
@ -5,6 +5,9 @@
|
|||||||
#include <cstdlib> // Required for getenv()
|
#include <cstdlib> // Required for getenv()
|
||||||
#include <string> // Required for std::string
|
#include <string> // Required for std::string
|
||||||
|
|
||||||
|
// Roll numbers: 22i-1601, 22i-1554, 22i-1689
|
||||||
|
// Question 2
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
MPI_Init(&argc, &argv);
|
MPI_Init(&argc, &argv);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user