[mpich-discuss] clean up after MPI_Cart_create

burlen burlen.loring at gmail.com
Thu Mar 18 15:18:37 CDT 2010


shame on me! I'm so used to C++ where compiler catches that sort of 
thing I overlooked it. Thanks

Anthony Chan wrote:
> ----- "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) );
>>     
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>   



More information about the mpich-discuss mailing list