CAMB help

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
preshanth jagannathan
Posts: 8
Joined: September 15 2006
Affiliation: University of Calgary

CAMB help

Post by preshanth jagannathan » March 13 2008

./camb params.ini
dyld: Library not loaded: libguide.dylib
Referenced from: /Users/preshanthjagannathan/IUCAA/CAMB_sources/./camb
Reason: image not found
Trace/BPT trap


this is what happens when i run camb... its a mac osx and ifort 10.0.006 and gcc4.0. This trouble has started after i had to reinstall my os due to my old hard disk crash. Suggestions are welcome.

Pascal Vaudrevange
Posts: 50
Joined: March 26 2006
Affiliation: DESY
Contact:

CAMB help

Post by Pascal Vaudrevange » March 14 2008

What do you mean by ifort 10.0.006 and gcc4.0? Which of those did you use to compile?

See suggestions here:

http://cosmocoffee.info/viewtopic.php?t=1086

Probably your LD_LIBRARY_PATH (or the MacOS equivalent) is not set properly.

preshanth jagannathan
Posts: 8
Joined: September 15 2006
Affiliation: University of Calgary

CAMB help

Post by preshanth jagannathan » March 14 2008

$(PATH_TO_COMPILER)/ifortvars.sh (if you use bash)

i have done that already.. its first thing the complier instructions asks me to do... see custom programs in fortran work... i can't figure out why i get that error with camb.

Pascal Vaudrevange
Posts: 50
Joined: March 26 2006
Affiliation: DESY
Contact:

CAMB help

Post by Pascal Vaudrevange » March 14 2008

Try a

Code: Select all

 strace -e open ./camb params.ini
It should tell you which files it tries to open. Check where it is looking for libguide.dylib.

Pascal

Post Reply