Satish,<div><br></div><div> Do we have an IFC build at ANL?</div><div><br></div><div>People,</div><div><br></div><div> PUT YOUR TYPES IN FORTRAN, or do not use automatic bindings.</div><div><br></div><div> Matt<br><br>
<div class="gmail_quote">On Wed, Dec 7, 2011 at 4:33 AM, Alexander Grayver <span dir="ltr"><<a href="mailto:agrayver@gfz-potsdam.de">agrayver@gfz-potsdam.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div bgcolor="#ffffff" text="#000000">
Matt,<br>
<br>
Same is for SNESFASSetType in petscshes.h90<br>
A lot of errors come from petscts.h90<br>
So I deleted them all. Now it compiles.<br>
Thanks.<br>
<br>
Regards,<br>
Alexander<br>
<br>
On 07.12.2011 11:11, Matthew Knepley wrote:
<blockquote type="cite">On Wed, Dec 7, 2011 at 4:01 AM, Alexander Grayver <span dir="ltr"><<a href="mailto:agrayver@gfz-potsdam.de" target="_blank">agrayver@gfz-potsdam.de</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"> There are more:<br>
</div>
</blockquote>
<div><br>
</div>
<div>Repeat steps from below. This looks like test code.</div>
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"> [ 0%] Building Fortran
object CMakeFiles/petsc.dir/src/mat/f90-mod/petscmatmod.F.o<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1058):
error #5082: Syntax error, found END-OF-STATEMENT when
expecting one of: ( % : . = =><br>
MatTransposeColoring c ! MatTransposeColoring<br>
----------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1063):
error #5082: Syntax error, found END-OF-STATEMENT when
expecting one of: ( % : . = =><br>
MatTransposeColoring coloring ! MatTransposeColoring<br>
-----------------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1070):
error #5082: Syntax error, found END-OF-STATEMENT when
expecting one of: ( % : . = =><br>
MatTransposeColoring matcoloring !
MatTransposeColoring<br>
--------------------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1079):
error #5082: Syntax error, found END-OF-STATEMENT when
expecting one of: ( % : . = =><br>
MatTransposeColoring color ! MatTransposeColoring<br>
--------------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1058):
error #6622: This statement is invalid in an INTERFACE
block.<br>
MatTransposeColoring c ! MatTransposeColoring<br>
----------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1063):
error #6622: This statement is invalid in an INTERFACE
block.<br>
MatTransposeColoring coloring ! MatTransposeColoring<br>
-----------------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1070):
error #6622: This statement is invalid in an INTERFACE
block.<br>
MatTransposeColoring matcoloring !
MatTransposeColoring<br>
--------------------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1079):
error #6622: This statement is invalid in an INTERFACE
block.<br>
MatTransposeColoring color ! MatTransposeColoring<br>
--------------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1058):
error #6218: This statement is positioned incorrectly and/or
has syntax errors.<br>
MatTransposeColoring c ! MatTransposeColoring<br>
----------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1063):
error #6218: This statement is positioned incorrectly and/or
has syntax errors.<br>
MatTransposeColoring coloring ! MatTransposeColoring<br>
-----------------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1070):
error #6218: This statement is positioned incorrectly and/or
has syntax errors.<br>
MatTransposeColoring matcoloring !
MatTransposeColoring<br>
--------------------------------------------------------------^<br>
/home/lib/petsc-dev/include/finclude/ftn-auto/petscmat.h90(1079):
error #6218: This statement is positioned incorrectly and/or
has syntax errors.<br>
MatTransposeColoring color ! MatTransposeColoring<br>
--------------------------------------------------------^<br>
compilation aborted for
/home/lib/petsc-dev/src/mat/f90-mod/petscmatmod.F (code 1)<br>
make[5]: ***
[CMakeFiles/petsc.dir/src/mat/f90-mod/petscmatmod.F.o] Error
1<br>
make[4]: ***
[CMakeFiles/petsc.dir/src/mat/f90-mod/petscmatmod.F.o.provides]
Error 2<br>
make[3]: *** [CMakeFiles/petsc.dir/all] Error 2<br>
make[2]: *** [all] Error 2<br>
<br>
<br>
On 07.12.2011 10:39, Matthew Knepley wrote:
<blockquote type="cite">On Wed, Dec 7, 2011 at 3:33 AM,
Alexander Grayver <span dir="ltr"><<a href="mailto:agrayver@gfz-potsdam.de" target="_blank">agrayver@gfz-potsdam.de</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"> Hi Matt,<br>
<br>
Unfortunately I don't have Mercurial installed on
the cluster (will negotiate it with admin soon), so
I downloaded tarball. <br>
Is there a simple patch for that?<br>
</div>
</blockquote>
<div><br>
</div>
<div>1) Just install it to your home dir. Its very small</div>
<div><br>
</div>
<div>2) Go to include/finclude/ftn-auto/petscviewer.h90,
remove lines 88--94</div>
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"> Regards,<br>
Alexander<br>
<br>
On 07.12.2011 10:32, Matthew Knepley wrote:
<blockquote type="cite">On Wed, Dec 7, 2011 at 3:23
AM, Alexander Grayver <span dir="ltr"><<a href="mailto:agrayver@gfz-potsdam.de" target="_blank">agrayver@gfz-potsdam.de</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Hi
dev-team,<br>
<br>
Trying to compile petsc-dev with IFC 11.1 I
got:<br>
<br>
[ 0%] Building Fortran object
CMakeFiles/petsc.dir/src/sys/f90-mod/petscsysmod.F.o<br>
/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: ( % :
. = =><br>
PetscViewerVTKWriteFunction func !
PetscViewerVTKWriteFunction<br>
---------------------------------------------------------------------^<br>
/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.<br>
PetscViewerVTKWriteFunction func !
PetscViewerVTKWriteFunction<br>
---------------------------------------------------------------------^<br>
/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.<br>
PetscViewerVTKWriteFunction func !
PetscViewerVTKWriteFunction<br>
---------------------------------------------------------------------^<br>
compilation aborted for
/panfs/panfs.gfz-hpcc.cluster/home/mt/agrayver/lib/petsc-dev/src/sys/f90-mod/petscsysmod.F
(code 1)<br>
make[5]: ***
[CMakeFiles/petsc.dir/src/sys/f90-mod/petscsysmod.F.o]
Error 1<br>
make[4]: ***
[CMakeFiles/petsc.dir/src/sys/f90-mod/petscsysmod.F.o.provides]
Error 2<br>
make[3]: *** [CMakeFiles/petsc.dir/all] Error
2<br>
make[2]: *** [all] Error 2<br>
<br>
How it can be fixed?<br>
</blockquote>
<div><br>
</div>
<div>Pull, make allfortranstubs, and the build
again.</div>
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks in advance.<br>
<br>
Regards,<br>
<font color="#888888"> Alexander<br>
<br>
</font></blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
What most experimenters take for granted before
they begin their experiments is infinitely more
interesting than any results to which their
experiments lead.<br>
-- Norbert Wiener<br>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin
their experiments is infinitely more interesting than any
results to which their experiments lead.<br>
-- Norbert Wiener<br>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to
which their experiments lead.<br>
-- Norbert Wiener<br>
</blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>
</div>