[petsc-users] sort of error messages

Mark Adams mfadams at lbl.gov
Fri Mar 19 10:02:52 CDT 2021


Oh, these are just common things that we see.
Mark

On Fri, Mar 19, 2021 at 10:44 AM Mark Adams <mfadams at lbl.gov> wrote:

> We are statically linking and I get this "error" message but the tests
> look successful.
>
> Should we care about this?
>
> Thanks,
> Mark
>
> 07:40 nid00274 release= ~/petsc_install/petsc$ make
> PETSC_DIR=/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel
> PETSC_ARCH="" check
> Running check examples to verify correct installation
> Using
> PETSC_DIR=/project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel
> and PETSC_ARCH=
> *******************Error detected during compile or
> link!*******************
> See http://www.mcs.anl.gov/petsc/documentation/faq.html
> /global/homes/m/madams/petsc_install/petsc/src/snes/tutorials ex19
>
> *********************************************************************************
> 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
> /usr/bin/ld:
> /project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib/libpetsc.a(dlimpl.o):
> in function `PetscDLOpen':
> /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
> /usr/bin/ld:
> /project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib/libpetsc.a(send.o):
> in function `PetscOpenSocket':
> /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
> C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process
> C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes
> *******************Error detected during compile or
> link!*******************
> See http://www.mcs.anl.gov/petsc/documentation/faq.html
> /global/homes/m/madams/petsc_install/petsc/src/snes/tutorials ex5f
> *********************************************************
> 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
> /usr/bin/ld:
> /project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib/libpetsc.a(dlimpl.o):
> in function `PetscDLOpen':
> /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
> /usr/bin/ld:
> /project/projectdirs/m499/Software/petsc/3.14.5/cori_haswell/intel/lib/libpetsc.a(send.o):
> in function `PetscOpenSocket':
> /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
> Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process
> Completed test examples
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210319/0570a476/attachment.html>


More information about the petsc-users mailing list