On Thu, Oct 4, 2012 at 4:29 PM, Mark Porter <span dir="ltr"><<a href="mailto:porterma@lanl.gov" target="_blank">porterma@lanl.gov</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">

  

    
  
  <div 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></font></div></blockquote><div><br></div><div>1) If you don't care about Fortran, everything is fine</div><div><br></div><div>2) If you have configured with Fortran data types, then the simple Fortran test does not work. I fixed</div>
<div>    this in the Python tests, but make is harder to deal with.</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">
<div text="#000000" bgcolor="#FFFFFF"><font face="Times New Roman, Times, serif">
      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 href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">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.<span class="HOEnZb"><font color="#888888"><br>
      porter<br>
      <br>
      <br>
    </font></span></font><span class="HOEnZb"><font color="#888888">
    <pre cols="72">-- 
Mark L. Porter, Ph.D.
Earth & Environmental Sciences (EES-14)
Los Alamos National Laboratory
work: <a href="tel:505.606.1971" value="+15056061971" target="_blank">505.606.1971</a>
cell: <a href="tel:541.517.2761" value="+15415172761" target="_blank">541.517.2761</a>
<a href="mailto:porterma@lanl.gov" target="_blank">porterma@lanl.gov</a>
</pre>
  </font></span></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>