[mpich-discuss] clean up after MPI_Cart_create

Anthony Chan chan at mcs.anl.gov
Thu Mar 18 10:33:04 CDT 2010


----- "burlen" <burlen.loring at gmail.com> wrote:


> 0-1:  (gdb) n
> 0-1:  79              call MPI_Comm_free(c%Comm)

What is "c%" in front of Comm ?  I am trying to see if you are
calling C version of MPI_Comm_free and in which case are you using
xlf ?  

If you are calling Fortran version of MPI_Comm_free which needs 2 arguments,
communicator and integer return code, i.e.

     call MPI_Comm_free( comm_argument, ierr )

A.Chan

> 0-1:  (gdb) n
> 0-1:
> 0-1:  Program received signal SIGSEGV, Segmentation fault.
> 0-1:  0x00007ffff78080d9 in pmpi_comm_free_ (v1=<value optimized out>,
> 
> ierr=0x0)
> 0-1:      at comm_freef.c:190
> 0-1:  190           *ierr = MPI_Comm_free( (MPI_Comm *)(v1) );



More information about the mpich-discuss mailing list