[petsc-dev] testex5f fail with gfortran 4.4.3
Matthew Knepley
knepley at gmail.com
Thu Sep 22 19:11:40 CDT 2011
On Thu, Sep 22, 2011 at 4:56 PM, Shiyuan <gshy2014 at gmail.com> wrote:
> Hi,
> testex5f fails under gfortran 4.4.3. However, it works on GNU
> Fortran(GCC) 4.1.2.
>
Something must have failed in the build. Send make.log to petsc-maint.
Matt
> Thanks.
> --------------Error detected during compile or link!-----------------------
> See http://www.mcs.anl.gov/petsc/petsc-2/documentation/faq.html
> 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
> 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
> ex5f.o: In function `main':
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:103:
> undefined reference to `snescreate_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:121:
> undefined reference to `dmcreateglobalvector_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:122:
> undefined reference to `vecduplicate_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:133:
> undefined reference to `dmdagetcorners_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:135:
> undefined reference to `dmdagetghostcorners_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:158:
> undefined reference to `snessetdm_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:214:
> undefined reference to `snessetfromoptions_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:226:
> undefined reference to `snesgetiterationnumber_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:238:
> undefined reference to `matdestroy_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:239:
> undefined reference to `matdestroy_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:240:
> undefined reference to `vecdestroy_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:241:
> undefined reference to `vecdestroy_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:242:
> undefined reference to `snesdestroy_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:243:
> undefined reference to `dmdestroy_'
> ex5f.o: In function `forminitialguess':
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:289:
> undefined reference to `dmgetlocalvector_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:302:
> undefined reference to `dmlocaltoglobalbegin_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:303:
> undefined reference to `dmlocaltoglobalend_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:304:
> undefined reference to `dmrestorelocalvector_'
> ex5f.o: In function `formjacobianlocal':
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:526:
> undefined reference to `matsetvalueslocal_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:541:
> undefined reference to `matsetvalueslocal_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:545:
> undefined reference to `matassemblybegin_'
> /U1/accounts/gshy/softwares/petsc-dev/src/snes/examples/tutorials/ex5f.F:546:
> undefined reference to `matassemblyend_'
> collect2: ld returned 1 exit status
> make[3]: [ex5f] Error 1 (ignored)
>
>
--
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/20110922/1327c63a/attachment.html>
More information about the petsc-dev
mailing list