[Pkg-scicomp-devel] Bug#529970:
Kramer, Stephan
s.kramer at imperial.ac.uk
Thu Jun 18 11:18:45 UTC 2009
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
More information about the Pkg-scicomp-devel
mailing list