i try to use atlas for multipliying two matrices using the
dgemm()-function. when i call the compiler with
g77 dgt.f -o dtg -lf77blas
i get the following error-message:
libf77blas.a(ATL_F77wrap_dgemm.o): In function `atl_f77wrap_dgemm__':
ATL_F77wrap_dgemm.o(.text+0x54): undefined reference to `ATL_dgemm'
what have i done wrong ?
thanks for any help, yours, uwe.
--
Uwe Schmitt | Institut für Angewandte Mathematik
Uwe.S...@num.uni-sb.de | Universität des Saarlandes
phone: +49 (0)681/302-2468 | Geb. 36.1, Zi. 4.17
fax: +49 (0)681/302-4435 | PF 151150
private: +49 (0)681/397052 | D-66041 Saarbrücken
I believe you need to link with -latlas as well as -lf77blas.
--
George Coulouris - http://www.tc.cornell.edu/~glc5/
| I believe you need to link with -latlas as well as -lf77blas.
thanks, that was it.
it also works if i link libblasopt.a alone.
| | I believe you need to link with -latlas as well as -lf77blas.
| thanks, that was it.
my problem was the order of the invication of the librarys !
if i use
g77 dgt.f libf77blas.a libatlas.a
i get no errormessage. but if i use
g77 dgt.f libatlas.a libf77blas.a
i get some errormessages about unresolved symbols.
strange, isn't it ?
Uwe> my problem was the order of the invication of the librarys !
Uwe> if i use
Uwe> g77 dgt.f libf77blas.a libatlas.a
Uwe> i get no errormessage. but if i use
Uwe> g77 dgt.f libatlas.a libf77blas.a
Uwe> i get some errormessages about unresolved symbols.
Uwe> strange, isn't it ?
If this is Unix, that's the way libraries are scanned. Libraries are
examined exactly once.
Ray