[mpich-discuss] error with mpi code
Rajeev Thakur
thakur at mcs.anl.gov
Mon Jan 2 08:12:54 CST 2012
Make sure you are running the program with the mpiexec from MPICH2, not some other MPI implementation. Give the full path to mpiexec if necessary.
Rajeev
On Jan 2, 2012, at 3:44 AM, harsh soni wrote:
>
> I am trying to run my mpi code (in fortrahn), it is giving following error,
>
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=3, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 3 but must be nonnegative and less than 0[cli_2]: aborting job:
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=3, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 3 but must be nonnegative and less than 0
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=7, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 7 but must be nonnegative and less than 4[cli_6]: aborting job:
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=7, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 7 but must be rank 7 in job 2 rajnikanth_40568 caused collective abort of all ranks
> exit status of rank 7: return code 1
> forrtl: severe (174): SIGSEGV, segmentation fault occurred
> Image PC Routine Line Source
> simulate.exe 000000000043E10F Unknown Unknown Unknown
> simulate.exe 00000000004235B3 Unknown Unknown Unknown
> simulate.exe 0000000000419B8E Unknown Unknown Unknown
> simulate.exe 000000000040513D Unknown Unknown Unknown
> simulate.exe 000000000040D87F Unknown Unknown Unknown
> simulate.exe 000000000040A47A Unknown Unknown Unknown
> simulate.exe 000000000040435C Unknown Unknown Unknown
> libc.so.6 00007FB464475D8E Unknown Unknown Unknown
> simulate.exe 0000000000404259 Unknown Unknown Unknown
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=2, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 2 but must be nonnegative and less than 1[cli_3]: aborting job:
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=2, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 2 but must be nonnegative and less than 1
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=6, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 6 but must be nonnegative and less than 5[cli_7]: aborting job:
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=6, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 6 but must be nonnegative and less than 4
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=4, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 4 but must be nonnegative and less than 3[cli_5]: aborting job:
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=4, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 4 but must be nonnegative and less than 3
> forrtl: severe (174): SIGSEGV, segmentation fault occurred
> Image PC Routine Line Source
> simulate.exe 000000000043E10F Unknown Unknown Unknown
> simulate.exe 00000000004235B3 Unknown Unknown Unknown
> simulate.exe 0000000000419B8E Unknown Unknown Unknown
> simulate.exe 000000000040513D Unknown Unknown Unknown
> simulate.exe 000000000040D87F Unknown Unknown Unknown
> simulate.exe 000000000040A47A Unknown Unknown Unknown
> simulate.exe 000000000040435C Unknown Unknown Unknown
> libc.so.6 00007F4817FDCD8E Unknown Unknown Unknown
> simulate.exe 0000000000404259 Unknown Unknown Unknown
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=5, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalirank 6 in job 2 rajnikanth_40568 caused collective abort of all ranks
> exit status of rank 6: return code 1
> d rank has value 5 but must be nonnegative and less than 2[cli_4]: aborting job:
> Fatal error in MPI_Isend: Invalid rank, error stack:
> MPI_Isend(145): MPI_Isend(buf=0x796840, count=1, MPI_INTEGER, dest=5, tag=5, MPI_COMM_WORLD, request=0x768ee0) failed
> MPI_Isend(95).: Invalid rank has value 5 but must be nonnegative and less than 2
> nonnegative and less than 5
> rank 5 in job 2 rajnikanth_40568 caused collective abort of all ranks
> exit status of rank 5: return code 1
> rank 4 in job 2 rajnikanth_40568 caused collective abort of all ranks
> exit status of rank 4: return code 1
> rank 3 in job 2 rajnikanth_40568 caused collective abort of all ranks
> exit status of rank 3: return code 1
> rank 2 in job 2 rajnikanth_40568 caused collective abort of all ranks
> exit status of rank 2: return code 1
>
>
> please, suggest me solution of the problem
>
> with regrads
> harsh
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list