[petsc-users] KSPMonitorSingularValu

Klaij, Christiaan C.Klaij at marin.nl
Mon Oct 24 08:07:24 CDT 2011


>> Regarding modified Gram Schmidt, I tried to set it as follows:
>>
>> call
>> KSPGMRESSetOrthogonalization(ksp,KSPGMRESModifiedGramSchmidtOrthogonalization,ierr)
>>
>> But my compiler tells me:
>>
>> This name does not have a type, and must have an explicit type.
>> [KSPGMRESMODIFIEDGRAMSCHMIDTORTHOGONALIZATIO]
>>
>
>It looks like you have a line length problem.
>
>   Matt
>
>
>> (petsc-3.1-p7, fortran with "use petscksp" and #include
>> "finclude/petsckspdef.h")
>>
>>

I'm using ifort and free form fortran so the lines can have any
length in principle.

call KSPGMRESSetOrthogonalization(ksp,KSPGMRESModifiedGramSchmidtOrthogonalization,ierr)

or

call KSPGMRESSetOrthogonalization(ksp, &
KSPGMRESModifiedGramSchmidtOrthogonalization,ierr)

give the same compiler message... Any ideas how to fix this?


dr. ir. Christiaan Klaij
CFD Researcher
Research & Development
E mailto:C.Klaij at marin.nl
T +31 317 49 33 44

MARIN
2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands
T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl



More information about the petsc-users mailing list