[mpich-discuss] Need Your HELP

Rajeev Thakur thakur at mcs.anl.gov
Mon May 14 08:17:14 CDT 2012


Can you send the full program if it is a short one?

Rajeev

On May 14, 2012, at 3:38 AM, 孔涛 wrote:

> Hello, everyone , what's the matter of this problem!
> 
> 
> ---------------------------------------
> 
> Fatal error in PMPI_Allgatherv: Internal MPI error!, error stack:                                                         
> PMPI_Allgatherv(1089).....: MPI_Allgatherv(sbuf=0x101fd90, scount=1, dt                                                             
> ype=USER<contig>, rbuf=0x1010600, rcounts=0x100bb30, displs=0x100f5c0,                                        
> dtype=0x4c000829, MPI_COMM_WORLD) failed                                                                                        
> MPIR_Allgatherv_impl(922).:                                           
> MPIR_Allgatherv(884)......:                                                                  
> MPIR_Allgatherv_intra(634):                                                                                                    
> MPIR_Localcopy(357).......: memcpy arguments alias each other, dst=0x10                                                          
> 25000 src=0x101fd90 len=42256 
> ------------------------------
> And why in the following , the MPI_gatherv is correct while MPI_allgatherv is notl. The else sub statement works well and the former one do not work!
> 
> ------
>  29 if ( .true. ) then                                                                                                                         
>  30    call MPI_allgatherv( val, sz*2, MPI_REAL8, &                                                                                            
>  31    res, cnt, strd, MPI_REAL8, MPI_comm_world, ier )                                                                                        
>  32 else                                                                                                                                       
>  33    call MPI_gatherv( val, sz*2, MPI_REAL8, &                                                                                               
>  34    res, cnt, strd, MPI_REAL8, 0, MPI_comm_world, ier )                                                                                     
>  35    call MPI_Bcast( res, x_sz*2, MPI_REAL8,0,MPI_Comm_world, ier )                                                                          
>  36 end if   
> 
> -- 
> 孔涛 Tao Kong
> vision.kt at gmail.com
> 山东大学数学学院 | School of Maths. Shandong Univ. P.R.C.
> 
> _______________________________________________
> 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