Quantcast
Channel: Intel® Software - Intel® Advisor
Viewing all articles
Browse latest Browse all 178

error getting data - no symbols, static linked library

$
0
0

I am getting an error running an analysis with two errors:

1) no symbols, I run with -g and added -Wl,-u__errno_location as suggested on a web page.

2) missing some thread init thing.  I am not using threads.

Here is my link like (compile looks similar),

Thanks,

Mark

make PETSC_DIR=/global/homes/m/madams/petsc PETSC_ARCH=arch-cori-opt64-intel ex1
cc -O2 -no-ipo -g -qopenmp -simd -I/include -Wl,-u__errno_location  -o ex1.arch-cori-opt64-intel ex1.o -L/global/homes/m/madams/petsc/arch-cori-opt64-intel/lib  -lpetsc -Wl,-rpath,/global/homes/m/madams/petsc/arch-cori-opt64-intel/lib -lparmetis -lmetis -lHYPRE -Wl,-rpath,/opt/cray/hdf5-parallel/1.8.14/intel/14.0/lib -L/opt/cray/hdf5-parallel/1.8.14/intel/14.0/lib -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lz -lp4est -lsc -ldl -lstdc++ -ldl
ex1.o: In function `__annotate_routines_init':
/opt/intel/advisor_xe_2015.1.10.380555/include/advisor-annotate.h:330: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/global/homes/m/madams/petsc/arch-cori-opt64-intel/lib/libpetsc.a(send.o): In function `PetscSocketEstablish':
/global/u2/m/madams/petsc/src/sys/classes/viewer/impls/socket/send.c:173: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

 


Viewing all articles
Browse latest Browse all 178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>