This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help with ATLAS


Ignazio Di Napoli wrote:
[snip]
> g++  -g -O2  -L/usr/local/atlas/lib/ -llapack -lcblas -lf77blas -latlas
>  -o linprog.exe main.o matrix.o vector.o lipsol.o myexception.o
> matrix-io.o matrix-cmp.o matrix-ops.o matrix-pos.o matrix-fun.o
> matrix-lna.o matrix-stb.o sparsematrix.o
> 
> I get:
> 
> matrix-ops.o: In function `_ZNK6MatrixmlERKS_':
> /tesi/Progetto.min/build/src/../../src/matrix.h:175: undefined reference
> to `cblas_dgemm(CBLAS_ORDER, CBLAS_TRANSPOSE, CBLAS_TRANSPOSE, int, int,
> int, double, double const*, int, double const*, int, double, double*, int)'

Never put libraries first.

g++ -g -O2 -L/usr/local/atlas/lib/ -o linprog.exe main.o matrix.o vector.o
lipsol.o myexception.o matrix-io.o matrix-cmp.o matrix-ops.o matrix-pos.o
matrix-fun.o matrix-lna.o matrix-stb.o sparsematrix.o -llapack -lcblas -lf77blas
-latlas

The order could be also a problem.
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]