<div dir="ltr">We are statically linking and I get this "error" message but the tests look successful.<div><br></div><div>Should we care about this?</div><div><br></div><div>Thanks,</div><div>Mark<br><div><br></div><div>07:40 nid00274 release= ~/petsc_install/petsc$ make PETSC_DIR=/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel PETSC_ARCH="" check<br>Running check examples to verify correct installation<br>Using PETSC_DIR=/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel and PETSC_ARCH=<br>*******************Error detected during compile or link!*******************<br>See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><br>/global/homes/m/madams/petsc_install/petsc/src/snes/tutorials ex19<br>*********************************************************************************<br>cc -g -O2 -fp-model fast  -g -O2 -fp-model fast    -I/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/include     ex19.c  -L/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib -Wl,-rpath,/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib -L/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib -L/opt/cray/pe/libsci/19.06.1/INTEL/16.0/x86_64/lib -L/opt/cray/dmapp/default/lib64 -L/opt/cray/pe/mpt/7.7.10/gni/mpich-intel/16.0/lib -L/opt/cray/rca/2.2.20-7.0.1.1_4.61__g8e3fb5b.ari/lib64 -L/opt/cray/alps/6.6.58-7.0.1.1_6.19__g437d88db.ari/lib64 -L/opt/cray/xpmem/2.2.20-7.0.1.1_4.20__g0475745.ari/lib64 -L/opt/cray/pe/pmi/5.0.14/lib64 -L/opt/cray/ugni/6.0.14.0-7.0.1.1_7.49__ge78e5b0.ari/lib64 -L/opt/cray/udreg/2.3.2-7.0.1.1_3.47__g8175d3d.ari/lib64 -L/opt/cray/pe/atp/2.1.3/libApp -L/opt/cray/wlm_detect/1.3.3-7.0.1.1_4.19__g7109084.ari/lib64 -L/opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64 -L/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64 -L/opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64_lin -L/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/x86_64-suse-linux/lib -lpetsc -lflapack -lfblas -lparmetis -lmetis -lstdc++ -ldl -lpthread -lmpichf90_intel -lrt -lugni -lpmi -lm -lsci_intel_mpi -lsci_intel -lmpich_intel -lalpslli -lwlm_detect -lalpsutil -lrca -lxpmem -ludreg -lhugetlbfs -lAtpSigHandler -lAtpSigHCommData -limf -lifport -lifcore -lsvml -lipgo -lirc -lgcc_eh -lirc_s -lstdc++ -ldl -o ex19<br>/usr/bin/ld: /project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib/libpetsc.a(dlimpl.o): in function `PetscDLOpen':<br>/global/u2/m/madams/petsc_install/petsc/src/sys/dll/dlimpl.c:108: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking<br>/usr/bin/ld: /project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib/libpetsc.a(send.o): in function `PetscOpenSocket':<br>/global/u2/m/madams/petsc_install/petsc/src/sys/classes/viewer/impls/socket/send.c:108: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking<br>C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process<br>C/C++ example src/snes/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">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><br>/global/homes/m/madams/petsc_install/petsc/src/snes/tutorials ex5f<br>*********************************************************<br>ftn -g -O2 -fp-model fast   -g -O2 -fp-model fast    -I/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/include     ex5f.F90  -L/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib -Wl,-rpath,/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib -L/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib -L/opt/cray/pe/libsci/19.06.1/INTEL/16.0/x86_64/lib -L/opt/cray/dmapp/default/lib64 -L/opt/cray/pe/mpt/7.7.10/gni/mpich-intel/16.0/lib -L/opt/cray/rca/2.2.20-7.0.1.1_4.61__g8e3fb5b.ari/lib64 -L/opt/cray/alps/6.6.58-7.0.1.1_6.19__g437d88db.ari/lib64 -L/opt/cray/xpmem/2.2.20-7.0.1.1_4.20__g0475745.ari/lib64 -L/opt/cray/pe/pmi/5.0.14/lib64 -L/opt/cray/ugni/6.0.14.0-7.0.1.1_7.49__ge78e5b0.ari/lib64 -L/opt/cray/udreg/2.3.2-7.0.1.1_3.47__g8175d3d.ari/lib64 -L/opt/cray/pe/atp/2.1.3/libApp -L/opt/cray/wlm_detect/1.3.3-7.0.1.1_4.19__g7109084.ari/lib64 -L/opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64 -L/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64 -L/opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64_lin -L/usr/lib64/gcc/x86_64-suse-linux/7 -L/usr/x86_64-suse-linux/lib -lpetsc -lflapack -lfblas -lparmetis -lmetis -lstdc++ -ldl -lpthread -lmpichf90_intel -lrt -lugni -lpmi -lm -lsci_intel_mpi -lsci_intel -lmpich_intel -lalpslli -lwlm_detect -lalpsutil -lrca -lxpmem -ludreg -lhugetlbfs -lAtpSigHandler -lAtpSigHCommData -limf -lifport -lifcore -lsvml -lipgo -lirc -lgcc_eh -lirc_s -lstdc++ -ldl -o ex5f<br>/usr/bin/ld: /project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib/libpetsc.a(dlimpl.o): in function `PetscDLOpen':<br>/global/u2/m/madams/petsc_install/petsc/src/sys/dll/dlimpl.c:108: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking<br>/usr/bin/ld: /project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib/libpetsc.a(send.o): in function `PetscOpenSocket':<br>/global/u2/m/madams/petsc_install/petsc/src/sys/classes/viewer/impls/socket/send.c:108: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking<br>Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process<br>Completed test examples<br></div></div></div>