[Pkg-scicomp-devel] Bug#529970: libpetsc3.0.0-dev: Request to include fortran interfaces
Adam C Powell IV
hazelsct at debian.org
Tue Jun 16 18:47:40 UTC 2009
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20090616/2dd18498/attachment-0001.pgp>
More information about the Pkg-scicomp-devel
mailing list