delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/02/06:09:04

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Ignazio Di Napoli <neclepsio AT gmail DOT com>
Subject: Help with ATLAS
Date: Fri, 02 Mar 2007 10:32:55 +0100
Lines: 28
Message-ID: <es8r06$ido$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi everyone.
I downloaded, compiled and installed ATLAS. Now in my 
/usr/local/atlas/lib I have the 4 ATLAS .a.
But, when I try to compile my program with:

g++ -I. -I../../src  -I/usr/local/atlas/include/    -g -O2 -MT 
matrix-ops.o -MD -MP -MF .deps/matrix-ops.Tpo -c
-o matrix-ops.o ../../src/matrix-ops.cpp
mv -f .deps/matrix-ops.Tpo .deps/matrix-ops.Po

And link with:

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)'


Can anybody help me? I've tried everything... I'm going crazy!

Ignazio


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019