Page 1 of 1

CosmoMC: symbol lookup error

Posted: April 12 2006
by Ana Vasile
Hello!

I am back again with a question.
When running cosmomc on Scientific Linux (with intel fortran 9.0) one of the first errors I got was:

./cosmomc: symbol lookup error: ./cosmomc: undefined symbol: _intel_fast_memset

I've solved it by adding (as root) the path to the bin directory in fortran (e.g. /opt/intel/fc/9.0/bin) to ld.so.conf and then running ldconfig

Now I am trying to run cosmomc on a cluster which has Rocksclusters (a Red Hat Enterprise 3 flavor) and again, the same error, but this time I don't have root.
Do you have any ideeas how to solve this without root rights?

Thank you,

Ana

P.S. The "error" messages from my previous topic are gone in the new version of cosmomc!

CosmoMC: symbol lookup error

Posted: May 03 2006
by David Larson
I just ran into this problem myself (with some code I wrote, not cosmomc). I've solved it by setting LD_LIBRARY_PATH environmental variable to point to the location of the .so files that I need. Since I'm using bash, I have the following line in my .bashrc file:

export LD_LIBRARY_PATH=/opt/intel/mkl/8.0.2/lib/32:/opt/intel/fc/9.0/lib:/usr/lib:/usr/local/lib

I don't know if this will help. I may have a nonstandard install of ifort, since intel provides .rpm files and I'm running a debian-based linux system.

CosmoMC: symbol lookup error

Posted: May 04 2006
by Ana Vasile
Thank you very much David for your help, it worked!!!