[petsc-dev] Error during compiling petsc-dev with Fortran

Alexander Grayver agrayver at gfz-potsdam.de
Wed Dec 7 04:01:00 CST 2011


There are more:

[  0%] Building Fortran object 
CMakeFiles/petsc.dir/src/mat/f90-mod/petscmatmod.F.o
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1058): error 
#5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % : 
. = =>
        MatTransposeColoring c ! MatTransposeColoring
----------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1063): error 
#5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % : 
. = =>
        MatTransposeColoring coloring ! MatTransposeColoring
-----------------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1070): error 
#5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % : 
. = =>
        MatTransposeColoring matcoloring ! MatTransposeColoring
--------------------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1079): error 
#5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % : 
. = =>
        MatTransposeColoring color ! MatTransposeColoring
--------------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1058): error 
#6622: This statement is invalid in an INTERFACE block.
        MatTransposeColoring c ! MatTransposeColoring
----------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1063): error 
#6622: This statement is invalid in an INTERFACE block.
        MatTransposeColoring coloring ! MatTransposeColoring
-----------------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1070): error 
#6622: This statement is invalid in an INTERFACE block.
        MatTransposeColoring matcoloring ! MatTransposeColoring
--------------------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1079): error 
#6622: This statement is invalid in an INTERFACE block.
        MatTransposeColoring color ! MatTransposeColoring
--------------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1058): error 
#6218: This statement is positioned incorrectly and/or has syntax errors.
        MatTransposeColoring c ! MatTransposeColoring
----------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1063): error 
#6218: This statement is positioned incorrectly and/or has syntax errors.
        MatTransposeColoring coloring ! MatTransposeColoring
-----------------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1070): error 
#6218: This statement is positioned incorrectly and/or has syntax errors.
        MatTransposeColoring matcoloring ! MatTransposeColoring
--------------------------------------------------------------^
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1079): error 
#6218: This statement is positioned incorrectly and/or has syntax errors.
        MatTransposeColoring color ! MatTransposeColoring
--------------------------------------------------------^
compilation aborted for 
/home/lib/petsc-dev/src/mat/f90-mod/petscmatmod.F (code 1)
make[5]: *** [CMakeFiles/petsc.dir/src/mat/f90-mod/petscmatmod.F.o] Error 1
make[4]: *** 
[CMakeFiles/petsc.dir/src/mat/f90-mod/petscmatmod.F.o.provides] Error 2
make[3]: *** [CMakeFiles/petsc.dir/all] Error 2
make[2]: *** [all] Error 2


On 07.12.2011 10:39, Matthew Knepley wrote:
> On Wed, Dec 7, 2011 at 3:33 AM, Alexander Grayver 
> <agrayver at gfz-potsdam.de <mailto:agrayver at gfz-potsdam.de>> wrote:
>
>     Hi Matt,
>
>     Unfortunately I don't have Mercurial installed on the cluster
>     (will negotiate it with admin soon), so I downloaded tarball.
>     Is there a simple patch for that?
>
>
> 1) Just install it to your home dir. Its very small
>
> 2) Go to include/finclude/ftn-auto/petscviewer.h90, remove lines 88--94
>
>   Matt
>
>     Regards,
>     Alexander
>
>     On 07.12.2011 10:32, Matthew Knepley wrote:
>>     On Wed, Dec 7, 2011 at 3:23 AM, Alexander Grayver
>>     <agrayver at gfz-potsdam.de <mailto:agrayver at gfz-potsdam.de>> wrote:
>>
>>         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?
>>
>>
>>     Pull, make allfortranstubs, and the build again.
>>
>>        Matt
>>
>>         Thanks in advance.
>>
>>         Regards,
>>         Alexander
>>
>>
>>
>>
>>     -- 
>>     What most experimenters take for granted before they begin their
>>     experiments is infinitely more interesting than any results to
>>     which their experiments lead.
>>     -- Norbert Wiener
>
>
>
>
> -- 
> What most experimenters take for granted before they begin their 
> experiments is infinitely more interesting than any results to which 
> their experiments lead.
> -- Norbert Wiener

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111207/a439f458/attachment.html>


More information about the petsc-dev mailing list