<div dir="ltr"><div dir="ltr">On Tue, Apr 6, 2021 at 5:13 PM Bhamidipati, Vikram <<a href="mailto:vikram.bhamidipati@swri.org">vikram.bhamidipati@swri.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_7913276114610456285WordSection1">
<p class="MsoNormal">From configure.log and also my make check command I receive error message due to my Lapack libraries depending on older version of gfortran compared to petsc libraries. I am copy+pasting make check output:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<u></u><u></u></p>
<p class="MsoNormal">Running check examples to verify correct installation<u></u><u></u></p>
<p class="MsoNormal">Using PETSC_DIR=/home/vbhamidipati/petsc/petsc and PETSC_ARCH=arch-linux-c-debug<u></u><u></u></p>
<p class="MsoNormal">*******************Error detected during compile or link!*******************<u></u><u></u></p>
<p class="MsoNormal">See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><u></u><u></u></p>
<p class="MsoNormal">/home/vbhamidipati/petsc/petsc/src/snes/tutorials ex19<u></u><u></u></p>
<p class="MsoNormal">*********************************************************************************<u></u><u></u></p>
<p class="MsoNormal">mpicc -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g3  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g3    -I/home/vbhamidipati/petsc/petsc/include
 -I/home/vbhamidipati/petsc/petsc/arch-linux-c-debug/include     ex19.c  -Wl,-rpath,/home/vbhamidipati/petsc/petsc/arch-linux-c-debug/lib -L/home/vbhamidipati/petsc/petsc/arch-linux-c-debug/lib -Wl,-rpath,/usr/lib64/mpich-3.2/lib -L/usr/lib64/mpich-3.2/lib
 -Wl,-rpath,/opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8 -L/opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8 -Wl,-rpath,/opt/rh/devtoolset-8/root/usr/lib64 -L/opt/rh/devtoolset-8/root/usr/lib64 -Wl,-rpath,/opt/rh/devtoolset-8/root/usr/lib
 -L/opt/rh/devtoolset-8/root/usr/lib -lpetsc -llapack -lblas -lpthread -lm -lX11 -lstdc++ -ldl -lmpifort -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lstdc++ -ldl -o ex19<u></u><u></u></p>
<p class="MsoNormal">/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libgfortran.so.3, needed by /lib/../lib64/liblapack.so, may conflict with libgfortran.so.5<u></u><u></u></p>
<p class="MsoNormal">/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libgfortran.so.3, needed by /lib/../lib64/liblapack.so, may conflict with libgfortran.so.5<u></u><u></u></p>
<p class="MsoNormal">C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process<u></u><u></u></p>
<p class="MsoNormal">C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes<u></u><u></u></p>
<p class="MsoNormal">*******************Error detected during compile or link!*******************<u></u><u></u></p>
<p class="MsoNormal">See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><u></u><u></u></p>
<p class="MsoNormal">/home/vbhamidipati/petsc/petsc/src/snes/tutorials ex5f<u></u><u></u></p>
<p class="MsoNormal">*********************************************************<u></u><u></u></p>
<p class="MsoNormal">mpif90 -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g   -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g    -I/home/vbhamidipati/petsc/petsc/include -I/home/vbhamidipati/petsc/petsc/arch-linux-c-debug/include     ex5f.F90 
 -Wl,-rpath,/home/vbhamidipati/petsc/petsc/arch-linux-c-debug/lib -L/home/vbhamidipati/petsc/petsc/arch-linux-c-debug/lib -Wl,-rpath,/usr/lib64/mpich-3.2/lib -L/usr/lib64/mpich-3.2/lib -Wl,-rpath,/opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8 -L/opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8
 -Wl,-rpath,/opt/rh/devtoolset-8/root/usr/lib64 -L/opt/rh/devtoolset-8/root/usr/lib64 -Wl,-rpath,/opt/rh/devtoolset-8/root/usr/lib -L/opt/rh/devtoolset-8/root/usr/lib -lpetsc -llapack -lblas -lpthread -lm -lX11 -lstdc++ -ldl -lmpifort -lmpi -lgfortran -lm -lgfortran
 -lm -lgcc_s -lquadmath -lstdc++ -ldl -o ex5f<u></u><u></u></p>
<p class="MsoNormal">/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libgfortran.so.3, needed by /lib/../lib64/liblapack.so, may conflict with libgfortran.so.5<u></u><u></u></p>
<p class="MsoNormal">/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libgfortran.so.3, needed by /lib/../lib64/liblapack.so, may conflict with libgfortran.so.5<u></u><u></u></p>
<p class="MsoNormal">/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libgfortran.so.3, needed by /lib/../lib64/liblapack.so, may conflict with libgfortran.so.5<u></u><u></u></p>
<p class="MsoNormal">/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: warning: libgfortran.so.3, needed by /lib/../lib64/liblapack.so, may conflict with libgfortran.so.5<u></u><u></u></p>
<p class="MsoNormal">Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process<u></u><u></u></p>
<p class="MsoNormal">Completed test examples<u></u><u></u></p>
<p class="MsoNormal">--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is this OK? Or should I replace Lapack libraries and rebuild petsc?</p></div></div></blockquote><div><br></div><div>This should be fine.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_7913276114610456285WordSection1">
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Vikram<u></u><u></u></p>
<p class="MsoNormal">---------------------------------------------------<u></u><u></u></p>
<p class="MsoNormal">Vikram Bhamidipati<u></u><u></u></p>
<p class="MsoNormal">Senior Research Engineer<u></u><u></u></p>
<p class="MsoNormal">Computational Material Integrity Section<u></u><u></u></p>
<p class="MsoNormal">Materials Engineering Department<u></u><u></u></p>
<p class="MsoNormal">Mechanical Engineering Division<u></u><u></u></p>
<p class="MsoNormal">Ph: (210) 522-2576</p></div></div></blockquote></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>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><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>