Quantcast
Channel: Fortran
Viewing all articles
Browse latest Browse all 3108

undefined symbol: __libm_feature_flag

$
0
0

Dear colleagues,

I'm compiling WRF model with icc and ifort from parallel_studio_xe_2016.1.056 on a AMD64 with Debian 8 (Jessie). During compilation there is no error. During runtime there appears the same error for almost any executable of the model (example is for real.exe) that is:

./real.exe: symbol lookup error: ./real.exe: undefined symbol: __libm_feature_flag

It is independent of compiling for serial or parallel execution.

Because of this problem my LD_LIBRARY_PATH is probably a bit exaggerated:  

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib:/opt/compilers_and_libraries_2016.1.150/linux/compiler/lib/intel64:/opt/compilers_and_libraries_2016.1.150/linux/daal/lib/intel64_lin:/opt/compilers_and_libraries_2016.1.150/linux/ipp/lib/intel64:/opt/compilers_and_libraries_2016.1.150/linux/ipp/lib/mic:/opt/compilers_and_libraries_2016.1.150/linux/mkl/lib/intel64:/opt/compilers_and_libraries_2016.1.150/linux/mkl/lib/mic:/opt/compilers_and_libraries_2016.1.150/linux/mpi/mic/lib:/opt/compilers_and_libraries_2016.1.150/linux/mpi/intel64/lib:/opt/compilers_and_libraries_2016.1.150/linux/tbb/lib/intel64:/opt/compilers_and_libraries_2016.1.150/linux/tbb/lib/mic:/opt/compilers_and_libraries_2016.1.150/linux/mkl/benchmarks/hpcg/bin/lib/intel64:/opt/compilers_and_libraries_2016.1.150/linux/mkl/benchmarks/hpcg/bin/lib/mic:/opt/compilers_and_libraries_2016.1.150/linux/compiler/lib/intel64_lin:/opt/compilers_and_libraries_2016.1.150/linux/compiler/lib/intel64_lin_mic/:/opt/advisor_xe_2016.1.10.435553/lib64/pinruntime/:/opt/inspector_xe_2016.1.1.435552/lib64/pinruntime/:/opt/vtune_amplifier_xe_2016.1.1.434111/lib64/pinruntime/

export CPATH=${CPATH}:/opt/compilers_and_libraries_2016.1.150/linux/daal/include/:/opt/compilers_and_libraries_2016.1.150/linux/daal/include/algorithms:/opt/compilers_and_libraries_2016.1.150/linux/daal/include/services:/opt/compilers_and_libraries_2016.1.150/linux/compiler/include:/opt/compilers_and_libraries_2016.1.150/linux/ipp/include:/opt/compilers_and_libraries_2016.1.150/linux/ipp/tools/intel64/staticlib//opt/compilers_and_libraries_2016.1.150/linux/mkl/benchmarks/mp_linpack/include:/opt/compilers_and_libraries_2016.1.150/linux/mkl/include:/opt/compilers_and_libraries_2016.1.150/linux/mkl/include/fftw/:/opt/compilers_and_libraries_2016.1.150/linux/mkl/interfaces/:/opt/compilers_and_libraries_2016.1.150/linux/mpi/mic/include:/opt/compilers_and_libraries_2016.1.150/linux/mpi/intel64/include:/opt/compilers_and_libraries_2016.1.150/linux/tbb/include:/opt/compilers_and_libraries_2016.1.150/linux/tbb/include/tbb:/opt/compilers_and_libraries_2016.1.150/linux/tbb/include/tbb/internal/:/opt/compilers_and_libraries_2016.1.150/linux/tbb/include/tbb/machine/:/opt/compilers_and_libraries_2016.1.150/linux/tbb/include/serial/tbb/

I copied libm.so.6 and  libm-2.3.4.so from the glibc directory to the next higher one, because libc6 en glibc caused problems with some GNU functions. I still don't know in which library contains the libm_feature_flag. Suppose it should be libm.so.6 or libimf.so. I see this error for he first time. It didn't appear in my former compilations of WRF for example with the ifort and icc from composer_xe_2013.

Any suggestion to fix this problem will be welcome.

Many thanks

Thorsten

 

 

 

 


Viewing all articles
Browse latest Browse all 3108

Trending Articles



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