<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 12:43 PM Smith, Barry F. <<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Is the application specifically linking against -lm and all the other libraries that PETSc links against?<br>
<br></blockquote><div><br></div><div> They have -lm and they use PETSC_LIBS (of some sort). They had: -lpetsc -lsuperlu_dist -lHYPRE -lparmetis -lmetis -lstdc++ -ldl -lgfortran -lm -lgomp </div><div><br></div><div>Thanks,</div><div><div><br class="gmail-Apple-interchange-newline">/bin/csh -f -c "CC -march=native -std=c++11 -Wno-unused-but-set-variable -Wno-long-long -Wno-sign-compare -Wno-deprecated -ftemplate-depth-99 -Wno-unused-local-typedefs -Wno-literal-suffix -Wno-variadic-macros -fopenmp -O3 -march=native -std=c++11 -Wno-unused-but-set-variable -Wno-long-long -Wno-sign-compare -Wno-deprecated -ftemplate-depth-99 -Wno-unused-local-typedefs -Wno-literal-suffix -Wno-variadic-macros -fopenmp o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/viscousDriver.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/HairIF.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBCrankNicolson.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/AMRINSUtils.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/CotanIF.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/TrigIF.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/ArteryIF.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/HairyIF.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBCPPlotter.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/RampIF.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBAMRNoSubcycle.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBPetscSolver.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBIBC.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBGradDivFilter.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/TrebDirichletPoissonEBBC.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBPetscAMRSolver.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/NoFlowAdvectBC.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBCompositeCCProjector.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/copyWithGhost.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBLevelCCProjector.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBPetscLinearSolverPoisson.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/TrebNeumannPoissonEBBC.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBCompositeMACProjector.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBLevelMACProjector.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBPetscCompGridPois.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/InflowOutflowAdvectBC.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/InflowOutflowPoissonDomainBC.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBIBCFactory.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/TrebEBPetscLinearSolverPoisson.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/copyOver.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/extrapolateData.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/RobinPoissonEBBC.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/SVD.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/InflowOutflowIBC.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/NoFlowVortex.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/lsStencil.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/Choose.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/PoiseuilleInflowBCValue.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/util.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBPetscGridConductivity.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBPetscMap.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBPetscGridPoisson.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBAMRNoSubcycleF.o o/3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC/EBGradDivFilterF.o -L../../../Chombo/lib -lebamrtimedependent3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lebamrelliptic3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lebamrtools3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lworkshop3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lebtools3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lamrtimedependent3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lamrelliptic3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lamrtools3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lboxtools3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -lbasetools3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC -L/opt/cray/pe/hdf5-parallel/<a href="http://1.10.1.1/GNU/5.1/lib" target="_blank">1.10.1.1/GNU/5.1/lib</a> -lhdf5 -lz -L/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-gcc-omp/lib -Wl,-rpath,/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-gcc-omp/lib -L/global/homes/m/madams/petsc_install/petsc-cori-knl-opt64-gcc-omp/lib -lpetsc -lsuperlu_dist -lHYPRE -lparmetis -lmetis -lstdc++ -ldl -lgfortran -lm -lgomp -o viscousDriver3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC.ex |& awk -f ../../../Chombo/lib/mk/tempnam.awk"</div><div>/opt/cray/pe/hdf5-parallel/<a href="http://1.10.1.1/GNU/5.1/lib/libhdf5.a(H5PL.o)" target="_blank">1.10.1.1/GNU/5.1/lib/libhdf5.a(H5PL.o)</a>: In function `H5PL_load':</div><div>H5PL.c:(.text+0x7a0): warning: Using 'dlopen' 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-knl-opt64-gcc-omp/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:107: 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-knl-opt64-gcc-omp/lib/libpetsc.a(mathinf.o): In function `PetscIsNormalReal':</div><div>/global/u2/m/madams/petsc_install/petsc/src/sys/utils/mathinf.c:23: undefined reference to `__isnormal'</div><div>/usr/bin/ld: link errors found, deleting executable `viscousDriver3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC.ex'</div><div>collect2: error: ld returned 1 exit status</div><div>../../../Chombo/lib/mk/Make.rules:412: recipe for target 'viscousDriver3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC.ex' failed</div><div>gmake[1]: *** [viscousDriver3d.Linux.64.CC.ftn.OPTHIGH.MPI.OPENMPCC.PETSC.ex] Error 1</div><div>../../../Chombo/lib/mk/Make.rules:325: recipe for target 'all-example' failed</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></div>