help on compilation

6 views
Skip to first unread message

rep...@gmail.com

unread,
Jan 23, 2014, 11:03:32 AM1/23/14
to ester-...@googlegroups.com
Dear Francisco,

I'm trying to set up the code here at the Institute of Astronomy, KU Leuven. It compiles perfectly both on my laptop and on my home computer (debian linux systems). But on one of the nodes at the institute (fedora linux) I get the following error after issuing 'make'

/home/santiago/ester/src/../lib/libester.so: undefined reference to `cblas_dgemm'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/santiago/ester/src/../bin/star1d] Error 1

Just wondered if you have encountered such error or if you have any ideas on how to solve it. Thanks so much in advance!

Santiago

Paco Espinosa

unread,
Jan 23, 2014, 11:39:10 AM1/23/14
to rep...@gmail.com, ester-...@googlegroups.com
Dear Santiago,

This is a linker error, so it is related with the library that you are using for BLAS, that doesn't contain this function.
Can you tell me which compiler are you using? and what library for BLAS/LAPACK?
Also, if you have modified the file make.inc, note that the order of the external libraries is important, so it should be
-llapack -lblas and not the opposite (or liblapack.a libblas.a for static libraries).

Let me know if you manage to solve the problem.

Best regards,

Francisco

2014/1/23 <rep...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "ester-project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ester-projec...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages