Linker problems with LD_LIBRARY_PATH

Linker problems with LD_LIBRARY_PATH

imagem de mcass

Hi
I am haveing trouble getting icc to link the mkl libraries using -LD_LIBRARY_PATH rather than the specific path. With the specific path it all works fine but using -LD_LIBRARY_PATH it complains can't fine -lmkl_lapack etc.
echo $LD_LIBRARY_PATH gives:-
/opt/intel/mkl701/lib/32:/opt/intel/intel_fc_80/lib:/opt/intel/intel_cc_80/lib
Which looks right to me (I source the env vars in bashrc)
and using
-L/opt/intel/mkl701/lib/32 works fine
using
-L/opt/intel/mkl701/lib/32:/opt/intel/intel_fc_80/lib:/opt/intel/intel_cc_80/lib
or -LD_LIBRARY_PATH
Doesn't any suggestions?

1 post / 0 new
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.