[petsc-dev] MatMatMult gives different results

Alexander Grayver agrayver at gfz-potsdam.de
Thu Feb 9 02:48:29 CST 2012


lib/petsc-dev> hg pull -u
pulling from http://petsc.cs.iit.edu/petsc/petsc-dev
searching for changes
no changes found

Does it take some time till it's there?

On 09.02.2012 09:44, Jed Brown wrote:
> This is fixed now.
>
> On Thu, Feb 9, 2012 at 11:25, Alexander Grayver 
> <agrayver at gfz-potsdam.de <mailto:agrayver at gfz-potsdam.de>> wrote:
>
>     Jed,
>
>     Pulled petsc-dev this morning:
>
>     [ 63%] Building C object
>     CMakeFiles/petsc.dir/src/dm/impls/redundant/ftn-auto/dmredundantf.c.o
>     /home/lib/petsc-dev/src/dm/impls/complex/ftn-auto/complexf.c(125):
>     error: declaration is incompatible with "PetscErrorCode={int}
>     DMComplexSetConeOrientation(DM, PetscInt={int}, const
>     PetscInt={int} *)" (declared at line 29 of
>     "/home/lib/petsc-dev/include/petscdmcomplex.h")
>       void PETSC_STDCALL DMComplexSetConeOrientation
>     dmcomplexsetcone_(DM dm,PetscInt *p, PetscInt coneOrientation[],
>     int *__ierr ){
>                          ^
>
>     /home/lib/petsc-dev/src/dm/impls/complex/ftn-auto/complexf.c(125):
>     error: incomplete type is not allowed
>       void PETSC_STDCALL DMComplexSetConeOrientation
>     dmcomplexsetcone_(DM dm,PetscInt *p, PetscInt coneOrientation[],
>     int *__ierr ){
>                          ^
>
>     /home/lib/petsc-dev/src/dm/impls/complex/ftn-auto/complexf.c(125):
>     error: expected a ";"
>       void PETSC_STDCALL DMComplexSetConeOrientation
>     dmcomplexsetcone_(DM dm,PetscInt *p, PetscInt coneOrientation[],
>     int *__ierr ){
>                                                      ^
>
>     /home/lib/petsc-dev/src/dm/impls/complex/ftn-auto/complexf.c(147):
>     warning #12: parsing restarts here after previous syntax error
>
>     [ 63%] compilation aborted for
>     /home/lib/petsc-dev/src/dm/impls/complex/ftn-auto/complexf.c (code 2)
>     make[4]: ***
>     [CMakeFiles/petsc.dir/src/dm/impls/complex/ftn-auto/complexf.c.o]
>     Error 2
>     make[4]: *** Waiting for unfinished jobs....
>     Building C object
>     CMakeFiles/petsc.dir/src/dm/impls/da/ftn-custom/zda.c.o
>     make[3]: *** [CMakeFiles/petsc.dir/all] Error 2
>     make[2]: *** [all] Error 2
>
>     Yesterday's petsc compiled fine.
>
>     On 08.02.2012 22:21, Jed Brown wrote:
>>     On Wed, Feb 8, 2012 at 23:39, Alexander Grayver
>>     <agrayver at gfz-potsdam.de <mailto:agrayver at gfz-potsdam.de>> wrote:
>>
>>         It happens within the CG solver with the system matrix which
>>         is created like this:
>>         call
>>         MatCreateShell(MPI_COMM_WORLD,mlocal,nlocal,N,N,PETSC_NULL_INTEGER,H,ierr);CHKERRQ(ierr)
>>
>>
>>     This should be fixed in petsc-dev now, can you pull and try again?
>
>
>     -- 
>     Regards,
>     Alexander
>
>


-- 
Regards,
Alexander

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120209/13b0b333/attachment.html>


More information about the petsc-dev mailing list