|
|
Extragalactic
Astrophysics &
Observational Cosmology Group
|
ZEBRA
The Zurich Extragalactic Bayesian Redshift Analyzer |
|
|
|
FAQ
When I compile ZEBRA I get the message "deprecated conversion from string constant to 'char*'"
Solution: Don't worry. You can safely ignore this message.
I compiled zebra sucessefully, but when I try to start it I get "error while loading shared libraries": liblapackpp.so ...
Explanation:This means you have linked the dynamic library of lapackpp to ZEBRA, but during executing time the system cannot find this library.
Solution A: Include the path to the library in your LD_LIBRARY_PATH, e.g. put into your .bashrc a command like export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:path-to-lapackpp-lib .
Solution B: If you have compiled the static library of lapackpp, you can link it to ZEBRA instead. Include --enable-lapackpp-static in the ./configure call and recompile ZEBRA.
I have problems with gsl - It does not find the cblas libraries
Solution:
Add the flag -lgslcblas when compiling, either directly in the makefile (replace -lgsl with -lgsl -lgslcblas), or
as a macro (LDFLAGS='-lgslcblas') when calling the makefile
I cannot compile ZEBRA on Mac OSX (Intel) - No compiler is found
Explanation: Please install the Xtools that come with MacOS X.
I cannot compile ZEBRA on Mac OSX (Intel) - I cannot install lapackpp
Solution:
1. Make sure that g77 and lapack are installed on your system (lapackpp
needs them)
2. Go to http://lapackpp.sourceforge.net/
and download the latest version
3. tar -zxvf
lapackpp-version.tar.gz
4. cd
lapackpp-version
5. ./configure or ./configure FLIBS="-L/sw/lib
-lfrtbegin -lg2c -lSystem"
whichever works
6. make
7. sudo make install (you need
administrator rights to do install lapackpp in the standard directories)
Please help us improving this FAQ. Send us the problems you encountered:
|
|
last modification 13/Jul/10
|
|
|
|
|