<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Times New Roman, Times, serif">I am having trouble with
the make test once petsc configure and I have run make all. The
error is as follows:<br>
<br>
Running test examples to verify correct installation<br>
Using PETSC_DIR=/home/porterma/Applications/petsc-dev and
PETSC_ARCH=linux-gnu-c-debug<br>
C/C++ example src/snes/examples/tutorials/ex19 run successfully
with 1 MPI process<br>
C/C++ example src/snes/examples/tutorials/ex19 run successfully
with 2 MPI processes<br>
--------------Error detected during compile or
link!-----------------------<br>
See <a class="moz-txt-link-freetext" href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials
ex5f<br>
---------------------------------------------------------------------------<br>
/home/porterma/Applications/petsc-dev/linux-gnu-c-debug/bin/mpif90
-c -Wall -Wno-unused-variable -g
-I/home/porterma/Applications/petsc-dev/include
-I/home/porterma/Applications/petsc-dev/linux-gnu-c-debug/include
-o ex5f.o ex5f.F<br>
Warning: Nonconforming tab character in column 1 of line 3099<br>
Warning: Nonconforming tab character in column 1 of line 5574<br>
Warning: Nonconforming tab character in column 1 of line 7846<br>
Warning: Nonconforming tab character in column 1 of line 10114<br>
Warning: Nonconforming tab character in column 1 of line 12423<br>
/home/porterma/Applications/petsc-dev/linux-gnu-c-debug/bin/mpif90
-Wall -Wno-unused-variable -g -o ex5f ex5f.o
-L/home/porterma/Applications/petsc-dev/linux-gnu-c-debug/lib
-lpetsc -lpthread
-Wl,-rpath,/home/porterma/Applications/petsc-dev/linux-gnu-c-debug/lib
-lflapack -lfblas -lhdf5_fortran -lhdf5 -lhdf5hl_fortran -lhdf5_hl
-lz -L/usr/lib/gcc/x86_64-redhat-linux6E/4.4.6 -lmpi_f90 -lmpi_f77
-lgfortran -lm -lm -lm -lm -lm -lm -lm -lm -lmpi_cxx -lstdc++
-lmpi_cxx -lstdc++ -ldl -lmpi -lrt -lnsl -lutil -lgcc_s -lpthread
-ldl <br>
ex5f.o: In function `MAIN__':<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:94:
undefined reference to `snescreate_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:112:
undefined reference to `dmcreateglobalvector_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:113:
undefined reference to `vecduplicate_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:124:
undefined reference to `dmdagetcorners_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:126:
undefined reference to `dmdagetghostcorners_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:145:
undefined reference to `snessetdm_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:153:
undefined reference to `snessetfromoptions_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:165:
undefined reference to `snesgetiterationnumber_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:177:
undefined reference to `vecdestroy_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:178:
undefined reference to `vecdestroy_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:179:
undefined reference to `snesdestroy_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:180:
undefined reference to `dmdestroy_'<br>
ex5f.o: In function `forminitialguess_':<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:226:
undefined reference to `dmgetlocalvector_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:239:
undefined reference to `dmlocaltoglobalbegin_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:240:
undefined reference to `dmlocaltoglobalend_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:241:
undefined reference to `dmrestorelocalvector_'<br>
ex5f.o: In function `formjacobianlocal_':<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:462:
undefined reference to `matsetvalueslocal_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:477:
undefined reference to `matsetvalueslocal_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:481:
undefined reference to `matassemblybegin_'<br>
/home/porterma/Applications/petsc-dev/src/snes/examples/tutorials/ex5f.F:482:
undefined reference to `matassemblyend_'<br>
collect2: ld returned 1 exit status<br>
make[3]: [ex5f] Error 1 (ignored)<br>
/bin/rm -f ex5f.o<br>
Completed test examples<br>
<br>
<br>
Any suggestions would be helpful.<br>
<br>
Thanks.<br>
porter<br>
<br>
<br>
</font>
<pre class="moz-signature" cols="72">--
Mark L. Porter, Ph.D.
Earth & Environmental Sciences (EES-14)
Los Alamos National Laboratory
work: 505.606.1971
cell: 541.517.2761
<a class="moz-txt-link-abbreviated" href="mailto:porterma@lanl.gov">porterma@lanl.gov</a>
</pre>
</body>
</html>