<div dir="ltr">There is something going on with zlib. When I get on a compute node I get a message that zlib (and cmake) module is not found. But I add it manually and I see it, but still get the same error.<div><br></div><div>I nuked p4est and am testing Satish's fix. I'll send the log file if it is not working.</div><div><br></div><div>Thanks,</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Oct 20, 2018 at 5:14 PM Isaac, Tobin G <<a href="mailto:tisaac@cc.gatech.edu">tisaac@cc.gatech.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think adler32 is in zlib: p4est typically finds it in configure.  Can you send along config.log from externalpackages/git.p4est?<br>
<br>
On October 20, 2018 4:52:54 PM EDT, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br>
>I am getting this error. This was a clean build (nuked the arch<br>
>directory).<br>
><br>
>13:50 nid12922 master= ~/petsc_install/petsc$ make<br>
>PETSC_DIR=/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel<br>
>PETSC_ARCH="" test<br>
>Running test examples to verify correct installation<br>
>Using<br>
>PETSC_DIR=/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel<br>
>and PETSC_ARCH=<br>
>*******************Error detected during compile or<br>
>link!*******************<br>
>See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a><br>
>/global/homes/m/madams/petsc_install/petsc/src/snes/examples/tutorials<br>
>ex19<br>
>*********************************************************************************<br>
>cc -o ex19.o -c -g -fp-model fast<br>
>-I/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/include<br>
>  `pwd`/ex19.c<br>
>cc -g -fp-model fast  -o ex19 ex19.o<br>
>-L/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib<br>
>-Wl,-rpath,/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib<br>
>-L/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib<br>
>-lpetsc -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord<br>
>-lscalapack -lfftw3_mpi -lfftw3 -lp4est -lsc -lflapack -lfblas<br>
>-lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lchaco -lparmetis<br>
>-lmetis<br>
>-lstdc++ -ldl<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libpetsc.a(dlimpl.o):<br>
>In function `PetscDLOpen':<br>
>/global/u2/m/madams/petsc_install/petsc/src/sys/dll/dlimpl.c:108:<br>
>warning:<br>
>Using 'dlopen' in statically linked applications requires at runtime<br>
>the<br>
>shared libraries from the glibc version used for linking<br>
>/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:<br>
>Warning: alignment 8 of symbol `ARCHITECTURE' in<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libchaco.a(user_params.o)<br>
>is smaller than 32 in<br>
>/opt/cray/pe/pmi/5.0.13/lib64/libpmi.a(_pmi_topology_discovery.o)<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libpetsc.a(send.o):<br>
>In function `PetscOpenSocket':<br>
>/global/u2/m/madams/petsc_install/petsc/src/sys/classes/viewer/impls/socket/send.c:108:<br>
>warning: Using 'gethostbyname' in statically linked applications<br>
>requires<br>
>at runtime the shared libraries from the glibc version used for linking<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libp4est.a(src_libp4est_la-p4est.o):<br>
>In function `p4est_checksum':<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est.c:3228:<br>
>undefined reference to `adler32'<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est.c:3236:<br>
>undefined reference to `adler32_combine'<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libp4est.a(src_libp4est_la-p4est_communication.o):<br>
>In function `p4est_comm_checksum':<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est_communication.c:903:<br>
>undefined reference to `adler32_combine'<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libp4est.a(src_libp4est_la-p8est.o):<br>
>In function `p8est_checksum':<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est.c:3228:<br>
>undefined reference to `adler32'<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est.c:3236:<br>
>undefined reference to `adler32_combine'<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libp4est.a(src_libp4est_la-p8est_communication.o):<br>
>In function `p8est_comm_checksum':<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/src/p4est_communication.c:903:<br>
>undefined reference to `adler32_combine'<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libsc.a(src_libsc_la-sc_containers.o):<br>
>In function `sc_array_checksum':<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/sc/src/sc_containers.c:565:<br>
>undefined reference to `adler32'<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/sc/src/sc_containers.c:571:<br>
>undefined reference to `adler32'<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/libsc.a(src_libsc_la-sc_io.o):<br>
>In function `sc_vtk_write_compressed':<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/sc/src/sc_io.c:492:<br>
>undefined reference to `compress2'<br>
>/global/u2/m/madams/petsc_install/petsc/arch-cori-haswell-opt-intel/externalpackages/git.p4est/sc/src/sc_io.c:507:<br>
>undefined reference to `compress2'<br>
>/global/homes/m/madams/petsc_install/petsc-cori-haswell-opt-intel/lib/petsc/conf/test:13:<br>
>recipe for target 'ex19' failed<br>
>gmake[3]: [ex19] Error 1 (ignored)<br>
>true ex19<br>
>rm ex19.o<br>
</blockquote></div>