#include <mpi.h>
#include <stdio.h>
int32_t my_rank;
int main(int argc, char** argv) {
MPI_Init(NULL, NULL);
MPI_Comm_rank(MPI_COMM_WORLD, &my_rank);
printf("Hello World! My rank is %d\n", my_rank
);
MPI_Finalize();
}
CiNpbmNsdWRlIDxtcGkuaD4KI2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQzMl90IG15X3Jhbms7CgppbnQgbWFpbihpbnQgYXJnYywgY2hhcioqIGFyZ3YpIHsKICAgIAogICAgTVBJX0luaXQoTlVMTCwgTlVMTCk7CiAgICAKICAgIE1QSV9Db21tX3JhbmsoTVBJX0NPTU1fV09STEQsICZteV9yYW5rKTsKIAogICAgcHJpbnRmKCJIZWxsbyBXb3JsZCEgTXkgcmFuayBpcyAlZFxuIiwgbXlfcmFuayk7CgogICAgTVBJX0ZpbmFsaXplKCk7Cn0K