[petsc-dev] Error during compiling petsc-dev with Fortran
Alexander Grayver
agrayver at gfz-potsdam.de
Wed Dec 7 03:23:44 CST 2011
Hi dev-team,
Trying to compile petsc-dev with IFC 11.1 I got:
[ 0%] Building Fortran object
CMakeFiles/petsc.dir/src/sys/f90-mod/petscsysmod.F.o
/panfs/panfs.gfz-hpcc.cluster/home/mt/agrayver/lib/petsc-dev/include/finclude/ftn-auto/petscviewer.h90(91):
error #5082: Syntax error, found END-OF-STATEMENT when expecting one of:
( % : . = =>
PetscViewerVTKWriteFunction func ! PetscViewerVTKWriteFunction
---------------------------------------------------------------------^
/panfs/panfs.gfz-hpcc.cluster/home/mt/agrayver/lib/petsc-dev/include/finclude/ftn-auto/petscviewer.h90(91):
error #6622: This statement is invalid in an INTERFACE block.
PetscViewerVTKWriteFunction func ! PetscViewerVTKWriteFunction
---------------------------------------------------------------------^
/panfs/panfs.gfz-hpcc.cluster/home/mt/agrayver/lib/petsc-dev/include/finclude/ftn-auto/petscviewer.h90(91):
error #6218: This statement is positioned incorrectly and/or has syntax
errors.
PetscViewerVTKWriteFunction func ! PetscViewerVTKWriteFunction
---------------------------------------------------------------------^
compilation aborted for
/panfs/panfs.gfz-hpcc.cluster/home/mt/agrayver/lib/petsc-dev/src/sys/f90-mod/petscsysmod.F
(code 1)
make[5]: *** [CMakeFiles/petsc.dir/src/sys/f90-mod/petscsysmod.F.o] Error 1
make[4]: ***
[CMakeFiles/petsc.dir/src/sys/f90-mod/petscsysmod.F.o.provides] Error 2
make[3]: *** [CMakeFiles/petsc.dir/all] Error 2
make[2]: *** [all] Error 2
How it can be fixed?
Thanks in advance.
Regards,
Alexander
More information about the petsc-dev
mailing list