Thanks Barry, I edited petsckspdef and now it works. Chris
Date: Mon, 10 Jan 2011 07:45:26 -0600 From: Barry Smith <[email protected]> Subject: Re: [petsc-users] KSPGCR and fortran? To: PETSc users list <petsc-users at mcs.anl.gov> Message-ID: <BE2B149E-A55F-465C-BF49-5CF67409E83D at mcs.anl.gov> Content-Type: text/plain; charset=us-ascii Just an oversight in our Fortran includes. You can either just call it 'gcr' in your code instead of KSPGCR or add the following line to include/finclude/petsckspdef.h #define KSPGCR 'gcr' after the line #define KSPPYTHON 'python' Barry 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
