On Jul 17, 2012, at 10:51 PM, Barry Smith wrote: > > If you are using Fortran modules (and being a FORTRAN lover you are :-). > Then you have to rebuild the modules whenever you change these files. Do > make cmake after you edit the file
You bet I am... make cmake is what I was missing. Is it possible to apply the attached patch to petsc-3.3 and petsc-dev? It adds the data type, and the fortran binding for MatNullSpaceView. Blaise -------------- next part -------------- A non-text attachment was scrubbed... Name: MatNullSpace.patch Type: application/octet-stream Size: 1534 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120717/13a4804c/attachment.obj> -------------- next part -------------- > > Barry > > On Jul 17, 2012, at 10:41 PM, Blaise Bourdin wrote: > >> Hi, >> >> I am still trying to figure out how to add support for MatNullSpace with >> fortran data types. As I said in a previous email, adding the statement >> type MatNullSpace >> PetscFortranAddr:: v >> end type MatNullSpace >> in include/finclude/ftn-custom/petscmatdef.h90 >> >> is not enough. >> >> Furthermore, if I remove the corresponding statement >> type Mat >> PetscFortranAddr:: v >> end type Mat >> for Mat, I can still compile code with a statement like >> Type(Mat) :: M >> >> It looks like the fortran data type for Mat is defined somewhere else, but I >> can't figure out where. Can anybody shine some light for me? >> >> Blaise >> -- >> Department of Mathematics and Center for Computation & Technology >> Louisiana State University, Baton Rouge, LA 70803, USA >> Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 >> http://www.math.lsu.edu/~bourdin >> >> >> >> >> >> >> > -- Department of Mathematics and Center for Computation & Technology Louisiana State University, Baton Rouge, LA 70803, USA Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
