a. Your MPI program crashes and prints the following error message. What caused
ID: 3706180 • Letter: A
Question
a. Your MPI program crashes and prints the following error message. What caused this crash? [2 pts] et15:82421 kAn error occurred in MPI Send et15:8242]reported by process [4135714817,1] et15:82421 k on communicator MPI COMM WORLD et15:824 MPI ERR RANK: invalid rank et15:8242MPI ERRORS ARE FATAL (processes in this communicator will now abort et15:82421 and potentially your MPI job) et15:08240] 3 more processes have sent help message help-mpi- errors.txt/mpi errors are fatal [jet15:08240] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help /error messagesExplanation / Answer
Without seeing the code, I can only suggest you three solutions:
There may be a problem with HPC. It might not be allotting you the required number of processors.
OR
This error occurs when you are mixing two MPI implementations (if your application was built with Open MPI, and you are using MPICH mpirun). Before mpirun, add this to your PBS script
mpirun and the MPI libs must be from the same library.
OR
If you are using bitwise AND anywhere and writing rank&2 == 1 instead of rank & 2 then change it. Reason being rank&2 is bitwise AND. The value is never one. It is either 0 or 2.
If you like this answer, please upvote. It would mean a lot. Thanks.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.