Excellent! When I get a chance I'll make a p5->p6 patch and try again. Hmm, that may need to wait until after the openmpi transition though...
Thanks for the report/request! -Adam On Thu, 2009-06-18 at 12:18 +0100, Kramer, Stephan wrote: > Ah yes, it has unfortunately been broken for some patchlevels (including p5 > used by the current package) - see > http://lists.mcs.anl.gov/pipermail/petsc-users/2009-June/004561.html. > > I've just tried the following: download 3.0.0-p6, copying in the debian/ > directory from the current source package, removing upstream-p5.patch, adding > --with-fortran-interfaces=1 to the configure lines in debian/rules, and the > package now builds fine. I'm using gfortran 4.3 on Debian unstable. > > Thanks, for looking into this. Let me know if I can do anything more > > Cheers > Stephan > > Adam C Powell IV wrote: > > Hello and thanks for your report. > > > > On Fri, 2009-05-22 at 15:18 +0100, Stephan Kramer wrote: > >> Package: libpetsc3.0.0-dev > >> Version: 3.0.0.dfsg-4 > >> Severity: wishlist > >> > >> One of the great things of PETSc 3 is that it include explicit fortran > >> interfaces for most routine. By default however only the routines that > >> use f90 extenstions, like VecGetArrayF90, IsGetIndicesF90, etc., are > >> included. To include fortran interfaces for most other routines, PETSc > >> has to be configured with --with-fortran-interfaces=1. > > > > I'm afraid I just tried this, but it threw a bunch of errors like: > > > > libfast in: /home/hazelsct/petsc-3.0.0.dfsg/src/ksp/f90-mod > > mpif90 -c -Wall -Wno-unused-variable -g > > -I/home/hazelsct/petsc-3.0.0.dfsg/linux-gnu-c-debug/include > > -I/home/hazelsct/petsc-3.0.0.dfsg/include -I/usr/lib/openmpi/include > > -I/usr/lib/openmpi/lib -I/usr/include/spooles -I/usr/include > > -I/usr/include/superlu -I/usr/include/suitesparse -I/usr/include/scotch > > -o petsckspmod.o petsckspmod.F > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/ftn-auto/petscpc.h90:120.7: > > Included at > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/petscpc.h90:10: > > Included at petsckspmod.F:12: > > > > KSP ksp ! KSP > > 1 > > Error: Unclassifiable statement at (1) > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/ftn-auto/petscpc.h90:125.7: > > Included at > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/petscpc.h90:10: > > Included at petsckspmod.F:12: > > > > KSP ksp ! KSP > > 1 > > Error: Unclassifiable statement at (1) > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/ftn-auto/petscpc.h90:265.7: > > Included at > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/petscpc.h90:10: > > Included at petsckspmod.F:12: > > > > KSP ksp ! KSP > > 1 > > Error: Unclassifiable statement at (1) > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/ftn-auto/petscpc.h90:322.7: > > Included at > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/petscpc.h90:10: > > Included at petsckspmod.F:12: > > > > KSP ksp ! KSP > > 1 > > Error: Unclassifiable statement at (1) > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/ftn-auto/petscpc.h90:367.7: > > Included at > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/petscpc.h90:10: > > Included at petsckspmod.F:12: > > > > KSP ksp ! KSP > > 1 > > Error: Unclassifiable statement at (1) > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/ftn-auto/petscpc.h90:385.7: > > Included at > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/petscpc.h90:10: > > Included at petsckspmod.F:12: > > > > KSP ksp ! KSP > > 1 > > Error: Unclassifiable statement at (1) > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/ftn-auto/petscpc.h90:391.7: > > Included at > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/petscpc.h90:10: > > Included at petsckspmod.F:12: > > > > KSP ksp ! KSP > > 1 > > Error: Unclassifiable statement at (1) > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/ftn-auto/petscpc.h90:397.7: > > Included at > > /home/hazelsct/petsc-3.0.0.dfsg/include/finclude/petscpc.h90:10: > > Included at petsckspmod.F:12: > > > > KSP ksp ! KSP > > 1 > > Error: Unclassifiable statement at (1) > > petsckspmod.F:15.72: > > > > use petscpc > > 1 > > Fatal Error: Can't open module file 'petscpc.mod' for reading at (1): No > > such file or directory > > make[8]: [petsckspmod.o] Error 1 (ignored) > > /usr/bin/ar cr > > /home/hazelsct/petsc-3.0.0.dfsg/linux-gnu-c-debug/lib/libpetscksp.a > > petsckspmod.o > > /usr/bin/ar: petsckspmod.o: No such file or directory > > make[8]: [libf] Error 1 (ignored) > > > > Can you confirm that this option works, and if so, with what compiler > > versions? I don't know much about .mod files, so I'll need your help to > > fulfill this request. > > > > Thanks, > > -Adam -- GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Engineering consulting with open source tools http://www.opennovation.com/
signature.asc
Description: This is a digitally signed message part

