From c2b9ab218cafe2690026b523ef09af678f388d21 Mon Sep 17 00:00:00 2001 From: Gianluca Iacullo Date: Wed, 17 Apr 2024 17:27:37 +0200 Subject: [PATCH] My first MPI code --- hello.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 hello.c diff --git a/hello.c b/hello.c new file mode 100644 index 0000000..719b4c4 --- /dev/null +++ b/hello.c @@ -0,0 +1,24 @@ + +#include"mpi.h" +#include +int main(int argc, +char **argv){ +MPI_Init( &argc, &argv); +printf("Hello, world!\n"); +MPI_Finalize(); +return 0; +} + + + + + + + + + + + + + +