<div dir="ltr">Can you send make.log and configure.log?<div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 3, 2014 at 10:40 PM, Pascal Paschos <span dir="ltr"><<a href="mailto:pascal.paschos@northwestern.edu" target="_blank">pascal.paschos@northwestern.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi,
<div><br>
</div>
<div>I've already seen a thread where someone recently was trying to build with mumps and was failing at test. </div>
<div>The recommendation that seemed to have worked for that user, at least on this point, was </div>
<div>a fresh install and shared libraries off. <span style="font-size:10pt">Well, I am having the same problem with 3.5.1 with the same error message he was getting. </span></div>
<div>The build can not interpret symbols in some <span style="font-size:10pt">mumps and parmetis references.</span></div>
<div>Whether shared libraries is set to 0 or 1 is irrelevant, at least in my case. The problem persists. </div>
<div>The error messages are in the bottom of this post.</div>
<div><span style="font-size:10pt">And yes, all packages are there, otherwise petsc would not build in the first place. It fails a test with an error message that is</span></div>
<div>typical of the build missing some include files <span style="font-size:10pt">that it expects to have present. </span></div>
<div><span style="font-size:10pt">Without mumps - metis & parmetis - the install is fine and tests complete fine. </span></div>
<div>So, I guess I am wondering if the developers have any more insight to spare...</div>
<div>Thanks.</div>
<div><br>
</div>
<div>Here is my configure:<br>
<p>./configure --prefix=/software/petsc/<a href="http://3.5.1.1" target="_blank">3.5.1.1</a>  \</p>
<p>--with-blas-lib=/software/lapack/3.5.0/lib/libblas.so --with-lapack-lib=/software/lapack/3.5.0/liblapack.so \</p>
<p>--with-hdf5=1 --with-hdf5-dir=/software/hdf5/1.8.10 \</p>
<p>--with-valgrind=1 --with-valgrind-dir=/software/valgrind/3.8.1 \</p>
<p>--with-boost=1 --with-boost-dir=/software/boost/1.41.0 \</p>
<p>--with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 \</p>
<p>--with-debugging=1 \</p>
<p>--download-fftw=yes \</p>
<p>--download-scalapack=yes  \</p>
<p>--download-mumps=yes \</p>
<p>--download-parmetis=yes \</p>
<p>--download-metis=yes \</p>
<p>--CFLAGS="-I/usr/include -I/usr/include/openssl" \</p>
<p>--LDFLAGS=" -L/usr/lib64" \</p>
<p>--LDLIBS=" -lcrypto -lssl" \</p>
<p>--with-shared-libraries=0</p>
<p><br>
</p>
<p>I found it necessary to pass references to libssl to the linker because otherwise the make is then complaining with an SSL related issue, that it can not find some include file.</p>
<p><br>
</p>
</div>
<div><br>
</div>
<div>
<p>make PETSC_DIR=/software/petsc/<a href="http://3.5.1.1" target="_blank">3.5.1.1</a> test</p>
<p>Running test examples to verify correct installation</p>
<p>Using PETSC_DIR=/software/petsc/<a href="http://3.5.1.1" target="_blank">3.5.1.1</a> and PETSC_ARCH=arch-linux2-c-debug</p>
<p><b>*******************Error detected during compile or link!*******************</b></p>
<p><b>See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a></b></p>
<p><b>/software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/snes/examples/tutorials ex19</b></p>
<p><b>*********************************************************************************</b></p>
<p><b>*********************W-a-r-n-i-n-g*************************</b></p>
<p><b>Your PETSC_DIR may not match the directory you are in</b></p>
<p><b>PETSC_DIR  /software/petsc/<a href="http://3.5.1.1" target="_blank">3.5.1.1</a> Current directory /software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/snes/examples/tutorials</b></p>
<p><b>Ignore this if you are running make test             </b></p>
<p><b>******************************************************</b></p>
</div>
<div>
<p>mpicc -o ex19.o -c -I/usr/include -I/usr/include/openssl -g3 -O0   -I/software/petsc/<a href="http://3.5.1.1/include" target="_blank">3.5.1.1/include</a> -I/software/petsc/<a href="http://3.5.1.1/include" target="_blank">3.5.1.1/include</a> -I/software/valgrind/3.8.1/include -I/software/hdf5/1.8.10/include -I/software/boost/1.41.0/include -I/software/mpi/openmpi-1.6.3-gcc-4.6.3-trq4/include 
   `pwd`/ex19.c</p>
<p>mpicc -I/usr/include -I/usr/include/openssl -g3 -O0  -o ex19  ex19.o -L/software/petsc/<a href="http://3.5.1.1/lib" target="_blank">3.5.1.1/lib</a>  -lpetsc -Wl,-rpath,/software/petsc/<a href="http://3.5.1.1/lib" target="_blank">3.5.1.1/lib</a> -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -Wl,-rpath,/software/lapack/3.5.0
 -L/software/lapack/3.5.0 -llapack -Wl,-rpath,/software/lapack/3.5.0/lib -L/software/lapack/3.5.0/lib -lblas -lparmetis -lmetis -lX11 -lssl -lcrypto -lpthread -lfftw3_mpi -lfftw3 -Wl,-rpath,/software/hdf5/1.8.10/lib -L/software/hdf5/1.8.10/lib -lhdf5_fortran
 -lhdf5_hl -lhdf5 -L/software/mpi/openmpi-1.6.3-gcc-4.6.3-trq4/lib64 -L/hpc/software/gcc/4.6.3-rhel6/lib/gcc/x86_64-unknown-linux-gnu/4.6.3 -L/hpc/software/gcc/4.6.3-rhel6/lib/gcc -L/hpc/software/gcc/4.6.3-rhel6/lib64 -L/hpc/software/gcc/4.6.3-rhel6/lib -lmpi_f90
 -lmpi_f77 -lgfortran -lm -lgfortran -lm -lgfortran -lm -lgfortran -lm -lquadmath -lm -lmpi_cxx -lstdc++ -ldl -lmpi -lnuma -lrt -lnsl -lutil -lgcc_s -lpthread -ldl </p>
<p>/software/petsc/<a href="http://3.5.1.1/lib/libpetsc.a(baij.o)" target="_blank">3.5.1.1/lib/libpetsc.a(baij.o)</a>: In function `MatCreate_SeqBAIJ':</p>
<p>/hpc/software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/mat/impls/baij/seq/baij.c:3006: undefined reference to `MatGetFactor_baij_mumps's'</p>
<p>/software/petsc/<a href="http://3.5.1.1/lib/libpetsc.a(mpibaij.o)" target="_blank">3.5.1.1/lib/libpetsc.a(mpibaij.o)</a>: In function `MatCreate_MPIBAIJ':</p>
<p>/hpc/software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/mat/impls/baij/mpi/mpibaij.c:3049: undefined reference to `MatGetFactor_baij_mumps'</p>
<p>/software/petsc/<a href="http://3.5.1.1/lib/libpetsc.a(sbaij.o)" target="_blank">3.5.1.1/lib/libpetsc.a(sbaij.o)</a>: In function `MatCreate_SeqSBAIJ':</p>
<p>/hpc/software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/mat/impls/sbaij/seq/sbaij.c:1966: undefined reference to `MatGetFactor_sbaij_mumps'</p>
<p>/software/petsc/<a href="http://3.5.1.1/lib/libpetsc.a(mpisbaij.o)" target="_blank">3.5.1.1/lib/libpetsc.a(mpisbaij.o)</a>: In function `MatCreate_MPISBAIJ':</p>
<p>/hpc/software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/mat/impls/sbaij/mpi/mpisbaij.c:1803: undefined reference to `MatGetFactor_sbaij_mumps'</p>
<p>/software/petsc/<a href="http://3.5.1.1/lib/libpetsc.a(aij.o)" target="_blank">3.5.1.1/lib/libpetsc.a(aij.o)</a>: In function `MatCreate_SeqAIJ':</p>
<p>/hpc/software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/mat/impls/aij/seq/aij.c:4136: undefined reference to `MatGetFactor_aij_mumps'</p>
<p>/software/petsc/<a href="http://3.5.1.1/lib/libpetsc.a(mpiaij.o)" target="_blank">3.5.1.1/lib/libpetsc.a(mpiaij.o)</a>: In function `MatCreate_MPIAIJ':</p>
<p>/hpc/software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/mat/impls/aij/mpi/mpiaij.c:5578: undefined reference to `MatGetFactor_aij_mumps'</p>
<p>/software/petsc/<a href="http://3.5.1.1/lib/libpetsc.a(spartition.o)" target="_blank">3.5.1.1/lib/libpetsc.a(spartition.o)</a>: In function `MatPartitioningRegisterAll':</p>
<p>/hpc/software/sources/builds/petsc-3.5.1_PP/petsc-debug/petsc-3.5.1/src/mat/partition/spartition.c:45: undefined reference to `MatPartitioningCreate_Parmetis'</p>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</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
</div>