[petsc-users] error of AODestroy and ISLocalToGlobalMappingDestroy

Hui Zhang mike.hui.zhang at hotmail.com
Fri Mar 2 08:47:33 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;
}

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/47f9c132/attachment.htm>


More information about the petsc-users mailing list