[petsc-users] segmentation fault when using AOCreateBasicIS with v3.3.6 in Fortran

Jed Brown jedbrown at mcs.anl.gov
Sun Apr 14 23:35:29 CDT 2013


George Pau <gpau at lbl.gov> writes:

> Hi,
>
> I called the AOCreateBasicIS by
>
> call AOCreateBasicIS(is_global,PETSC_NULL_OBJECT,global_map,pierr)
>
> where I am trying to map the indices partitioned by the partitioner
> (is_global is obtained through  MatPartitioning-related functions followed
> by ISPartitioningToNumbering) to the global petsc numbering.  I wanted to
> use the natural numbering for the second argument. But I am getting a
> segmentation fault at
>
> #0  0x00000000006eae2d in aocreatebasicis_ (isapp=0x7fffffffda40,
> ispetsc=0x0, aoout=0x7fffffffdaa0, ierr=0x17c9644) at
> /home/gpau/tough_codes/esd-tough3/build/Linux-x86_64-MPI-EOS-eco2n-Debug/toughlib/tpls/petsc/petsc-3.3-p6-source/src/dm/ao/impls/basic/ftn-custom/zaobasicf.c:29

Thanks, I've fixed this bug in 'maint'.  You can get it with

  $ git clone --branch maint https://bitbucket.org/petsc/petsc

or, if you already have a clone of PETSc,

  $ git checkout maint
  $ git pull

> I didn't have this problem with v3.3.3 where PETSC_NULL is used instead of
> PETSC_NULL_OBJECT for the second argument

It was probably not correct in that case, but it didn't crash.

> Any help will be appreciated.
>
> Thanks,
> George
>
>
> -- 
> George Pau
> Earth Sciences Division
> Lawrence Berkeley National Laboratory
> One Cyclotron, MS 74-120
> Berkeley, CA 94720
>
> (510) 486-7196
> gpau at lbl.gov
> http://esd.lbl.gov/about/staff/georgepau/


More information about the petsc-users mailing list