[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling with ACML
From: |
Martijn |
Subject: |
compiling with ACML |
Date: |
Fri, 17 Jun 2011 00:22:49 +0200 |
Hi,
Since this is not opencl related I start a new tread.
I am trying to link octave to the AMD Core Math Library (ACML)
The configure script is invoked as:
./configure LDFLAGS=-L/usr/lib/mesa
-L/usr/local/acml4.4.0/gfortran64/lib
FFLAGS=-I/usr/local/acml4.4.0/gfortran64/include
-prefix=/usr/local/octave-acml --enable-shared --enable-dl
--with-blas=acml --with-lapack=acml
But if I look to the output:
Installation prefix: /usr/local/octave-acml
Fortran compiler gfortran -I/usr/local/acml4.4.0/gfortran64/include
Fortran libraries: -L/usr/lib/mesa
-L/usr/local/acml4.4.0/gfortran64/lib
-L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2
-L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../..
-L/usr/lib/x86_64-linux-gnu -lgfortran -lm
BLAS libraries: -lblas
LAPACK libraries: -llapack
So the FFLAGS an the LDFLAGS are correctly interpreted, but the standard
blas and lapack libraries are used. Do I need to specify them
differently, or do I really have to use the standard (netlib?)
libraries?
I am using octave on linux (Ubuntu 11.04, octave 3.4.0 source)
Martijn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- compiling with ACML,
Martijn <=