[petsc-users] error of AODestroy and ISLocalToGlobalMappingDestroy

Hui Zhang mike.hui.zhang at hotmail.com
Fri Mar 2 08:55:00 CST 2012



> Hi,
> 
> I got errors on a linux cluster from AODestroy and ISLocalToGlobalMappingDestroy with
> the petsc-dev hg version 882fc279ddfaa44915c56a5b227514ada881775d. And if I run the
> following test program with number of processes > 3, it hangs on. The linux is using mpich2.
> 
> #include <petscao.h>
> 
> char help[]= "test ao destroy\n";
> 
> int main(int argc, char **argv)
> {
>   AO ao;
>   PetscInitialize(&argc,&argv,PETSC_NULL,help);
>   AOCreate(PETSC_COMM_WORLD,&ao);
>   AODestroy(&ao);
> 
>   PetscFinalize();
>   return 0;
> }
> 

Sorry, I just have changed the order in the hosts file and then it runs ok and
will not hang.  So it must be some place wrong in my actual computing programs.
I will check again. 



> I also run the same program with petsc-3.2 on my Mac, if I use mpirun it is ok
> but if I use mpiexec it gives the same error. The mac is using openmpi.
> 
> Thank you!
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120302/b536f411/attachment.htm>


More information about the petsc-users mailing list