[petsc-dev] MatMatMult gives different results
Matthew Knepley
knepley at gmail.com
Thu Feb 9 08:30:11 CST 2012
On Thu, Feb 9, 2012 at 2:48 AM, Alexander Grayver
<agrayver at gfz-potsdam.de>wrote:
> **
> 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?
>
You have to remake Fortran stubs: make allfortranstubs
and then make.
Matt
> 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>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
>> > 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
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120209/a9745ce8/attachment.html>
More information about the petsc-dev
mailing list