On Thu, Sep 22, 2011 at 4:56 PM, Shiyuan <span dir="ltr"><<a href="mailto:gshy2014@gmail.com">gshy2014@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, <br>    testex5f fails under gfortran 4.4.3. However, it works on GNU Fortran(GCC) 4.1.2. <br></blockquote><div><br></div><div>Something must have failed in the build. Send make.log to petsc-maint.</div><div><br></div>
<div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks. <br>--------------Error detected during compile or link!-----------------------<br>
See <a href="http://www.mcs.anl.gov/petsc/petsc-2/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-2/documentation/faq.html</a><br>
gfortran -c  -Wall -Wno-unused-variable -g   -I/U1/accounts/gshy/softwares/petsc-dev/include -I/U1/accounts/gshy/softwares/petsc-dev/neumann-cxx-nompi/include -I/U1/accounts/gshy/softwares/valgrind/include -I/U1/accounts/gshy/softwares/petsc-dev/include/mpiuni    -o ex5f.o ex5f.F<br>

gfortran -Wall -Wno-unused-variable -g   -o ex5f ex5f.o -L/U1/accounts/gshy/softwares/petsc-dev/neumann-cxx-nompi/lib  -lpetsc -lpthread -Wl,-rpath,/U1/accounts/gshy/softwares/petsc-dev/neumann-cxx-nompi/lib -lf2clapack -lf2cblas -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -ldl -lgcc_s -lgfortran -lm -lm -lstdc++ -lstdc++ -ldl -lgcc_s -ldl<br>

ex5f.o: In function `main':<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:103: undefined reference to `snescreate_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:121: undefined reference to `dmcreateglobalvector_'<br>

/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:122: undefined reference to `vecduplicate_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:133: undefined reference to `dmdagetcorners_'<br>

/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:135: undefined reference to `dmdagetghostcorners_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:158: undefined reference to `snessetdm_'<br>

/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:214: undefined reference to `snessetfromoptions_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:226: undefined reference to `snesgetiterationnumber_'<br>

/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:238: undefined reference to `matdestroy_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:239: undefined reference to `matdestroy_'<br>

/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:240: undefined reference to `vecdestroy_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:241: undefined reference to `vecdestroy_'<br>

/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:242: undefined reference to `snesdestroy_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:243: undefined reference to `dmdestroy_'<br>

ex5f.o: In function `forminitialguess':<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:289: undefined reference to `dmgetlocalvector_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:302: undefined reference to `dmlocaltoglobalbegin_'<br>

/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:303: undefined reference to `dmlocaltoglobalend_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:304: undefined reference to `dmrestorelocalvector_'<br>

ex5f.o: In function `formjacobianlocal':<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:526: undefined reference to `matsetvalueslocal_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:541: undefined reference to `matsetvalueslocal_'<br>

/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:545: undefined reference to `matassemblybegin_'<br>/U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:546: undefined reference to `matassemblyend_'<br>

collect2: ld returned 1 exit status<br>make[3]: [ex5f] Error 1 (ignored)<br><br>
</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>