[petsc-dev] cmake and fortranstubs

Barry Smith bsmith at mcs.anl.gov
Wed Dec 1 11:24:57 CST 2010


...
[ 87%] Building C object CMakeFiles/petsc.dir/src/ksp/pc/impls/gasm/ftn-auto/gasmf.c.o
[ 88%] Building C object CMakeFiles/petsc.dir/src/ksp/pc/impls/composite/ftn-auto/compositef.c.o
/Users/barrysmith/Src/petsc-dev/src/ksp/pc/impls/gasm/ftn-auto/gasmf.c: In function ‘pcgasmcreatesubdomains2d_’:
/Users/barrysmith/Src/petsc-dev/src/ksp/pc/impls/gasm/ftn-auto/gasmf.c:69: warning: passing argument 1 of ‘PCGASMCreateSubdomains2D’ makes pointer from integer without a cast
/Users/barrysmith/Src/petsc-dev/src/ksp/pc/impls/gasm/ftn-auto/gasmf.c:69: warning: passing argument 7 of ‘PCGASMCreateSubdomains2D’ makes integer from pointer without a cast
/Users/barrysmith/Src/petsc-dev/src/ksp/pc/impls/gasm/ftn-auto/gasmf.c:69: warning: passing argument 8 of ‘PCGASMCreateSubdomains2D’ from incompatible pointer type
/Users/barrysmith/Src/petsc-dev/src/ksp/pc/impls/gasm/ftn-auto/gasmf.c:69: error: too few arguments to function ‘PCGASMCreateSubdomains2D’
make[2]: *** [CMakeFiles/petsc.dir/src/ksp/pc/impls/gasm/ftn-auto/gasmf.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....

It would be nice if cmake also updated the appropriate fortranstubs.

   Barry

Once you develop something that does things "automatically" people will always demand, more, more, more






More information about the petsc-dev mailing list