<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I am getting this error. This was a clean build (nuked the arch directory).</div><div><br></div><div><div>13:50 nid12922 master= ~/petsc_install/petsc$ make PETSC_DIR=/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel PETSC_ARCH="" test</div><div>Running test examples to verify correct installation</div><div>Using PETSC_DIR=/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel and PETSC_ARCH=</div><div>*******************Error detected during compile or link!*******************</div><div>See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a></div><div>/global/homes/m/madams/petsc_install/petsc/src/snes/examples/tutorials ex19</div><div>*********************************************************************************</div><div>cc -o ex19.o -c -g -fp-model fast   -I/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/include    `pwd`/ex19.c</div><div>cc -g -fp-model fast  -o ex19 ex19.o  -L/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib -Wl,-rpath,/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib -L/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib -lpetsc -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -lfftw3_mpi -lfftw3 -lp4est -lsc -lflapack -lfblas -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lchaco -lparmetis -lmetis -lstdc++ -ldl</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libpetsc.a(dlimpl.o): In function `PetscDLOpen':</div><div>/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</div><div>/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: Warning: alignment 8 of symbol `ARCHITECTURE' in /global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libchaco.a(user_params.o) is smaller than 32 in /opt/cray/pe/pmi/5.0.13/lib64/libpmi.a(_pmi_topology_discovery.o)</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libpetsc.a(send.o): In function `PetscOpenSocket':</div><div>/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</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libp4est.a(src_libp4est_la-p4est.o): In function `p4est_checksum':</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est.c:3228: undefined reference to `adler32'</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est.c:3236: undefined reference to `adler32_combine'</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libp4est.a(src_libp4est_la-p4est_communication.o): In function `p4est_comm_checksum':</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est_communication.c:903: undefined reference to `adler32_combine'</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libp4est.a(src_libp4est_la-p8est.o): In function `p8est_checksum':</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est.c:3228: undefined reference to `adler32'</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est.c:3236: undefined reference to `adler32_combine'</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libp4est.a(src_libp4est_la-p8est_communication.o): In function `p8est_comm_checksum':</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est_communication.c:903: undefined reference to `adler32_combine'</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libsc.a(src_libsc_la-sc_containers.o): In function `sc_array_checksum':</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/sc/src/sc_containers.c:565: undefined reference to `adler32'</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/sc/src/sc_containers.c:571: undefined reference to `adler32'</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libsc.a(src_libsc_la-sc_io.o): In function `sc_vtk_write_compressed':</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/sc/src/sc_io.c:492: undefined reference to `compress2'</div><div>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/sc/src/sc_io.c:507: undefined reference to `compress2'</div><div>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/petsc/conf/test:13: recipe for target 'ex19' failed</div><div>gmake[3]: [ex19] Error 1 (ignored)</div><div>true ex19</div><div>rm ex19.o</div></div><div><br></div></div></div></div>