I face this error code in a single node mpi but there are systems that do not encounter that by compiling the same code.
Maybe its a mpich installation issue? Could that be the case?
It wouldn't be a good idea to post the code here, since it's not that small.
The thing is, as I mentioned, it works in "real" distributed system, but when compiled in my laptop(single node) I get this error code.
4 Related questions 4 Why does MPI give run time Error 0 MPI: Error while executing MPI_Finalize() 1 MPI Error: No output Related questions 4 Why does MPI give run time Error 0 MPI: Error while executing MPI_Finalize() 1 MPI Error: No output 0 MPI program in C crashing 13 Open MPI - mpirun exits with error on simple program 0 MPI_Type_free ERROR 3 MPI - Segmentation fault EXIT CODE: 139 1 C: MPI_Allgather produces error 0 MPI_Comm_create error 4 MPI_ERR_RANK: invalid rank Load 7 more related questions Show fewer related questions Reset to default=== = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES = EXIT CODE: 139 = CLEANING UP REMAINING PROCESSES = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES =================================================================================== YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11) This typically refers to a problem with your application.