Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

unusual warning when linking with boost--ipo looking for dylib in nonexistent directory

$
0
0

I am compiling a C++ program under Mac OS 10.9.4 using icpc 14.0.1 (student version). I use several libraries I have built using icpc to avoid problems I have had when they were compiled with g++. During linking I get the following warning:

$ mpic++ -o dynamix-ga obj/initializer.o obj/main.o obj/mutator.o obj/objective.o obj/output.o obj/parser.o -ldynamix -lga-mpi -lsundials_cvode -lsundials_nvecserial -lboost_mpi -lboost_serialization -mkl -fopenmp
ipo: warning #11012: unable to find /Volumes/bpart/users/mstester/nightly/makebuild1/20131011_000000/dev/build_objs/efi2mac_d0p0flexlm/lib/libirng.dylib

My program runs correctly as far as I can tell, but I am wondering where this warning comes from--that path is not one I have on my computer, and it looks like one left over from building and testing the Intel installer package.

I have only noticed this warning since I started using boost.

Here are the outputs showing relevant environment variables:

$ echo $CXXFLAGS
 -O0 -Wall -std=c++11 -fopenmp -xHOST -no-prec-div -mkl -no-multibyte-chars
$ mpic++ -show

icpc -I/Users/andyras/bin/openmpi-1.8.1-intel-14.0.1/include -L/Users/andyras/bin/openmpi-1.8.1-intel-14.0.1/lib -lmpi_cxx -lmpi
$ locate libirng.dylib

/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib/libirng.dylib

$ echo $CPATH

/opt/intel/composer_xe_2013_sp1.1.103/mkl/include:/opt/intel/composer_xe_2013_sp1.1.103/tbb/include:/Users/andyras/bin/boost-1.55.0-intel-14.0.1/include:/Users/andyras/bin/GAlib-mpi-openmpi-1.8.1-intel-14.0.1/include:/Users/andyras/bin/dynamix-2014-07-23-intel-14.0.1/include:/Users/andyras/bin/cvode-2.7.0-intel-14.0.1/include:/Users/andyras/bin/openmpi-1.8.1-intel-14.0.1/include:/opt/intel/composer_xe_2013_sp1.1.103/mkl/include:/opt/intel/composer_xe_2013_sp1.1.103/tbb/include

$ echo $LD_LIBRARY_PATH

/Users/andyras/bin/boost-1.55.0-intel-14.0.1/lib:/Users/andyras/bin/GAlib-mpi-openmpi-1.8.1-intel-14.0.1/lib:/Users/andyras/bin/dynamix-2014-07-23-intel-14.0.1/lib:/Users/andyras/bin/cvode-2.7.0-intel-14.0.1/lib:/Users/andyras/bin/openmpi-1.8.1-intel-14.0.1/lib

$ echo $DYLD_LIBRARY_PATH

/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib:/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.1.103/ipp/../compiler/lib:/opt/intel/composer_xe_2013_sp1.1.103/ipp/lib:/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib:/opt/intel/composer_xe_2013_sp1.1.103/mkl/lib:/opt/intel/composer_xe_2013_sp1.1.103/tbb/lib:/Users/andyras/bin/boost-1.55.0-intel-14.0.1/lib:/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib:/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.1.103/ipp/../compiler/lib:/opt/intel/composer_xe_2013_sp1.1.103/ipp/lib:/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib:/opt/intel/composer_xe_2013_sp1.1.103/mkl/lib:/opt/intel/composer_xe_2013_sp1.1.103/tbb/lib

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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