[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CHOLMOD library not found
From: |
John W. Eaton |
Subject: |
Re: CHOLMOD library not found |
Date: |
Tue, 19 Mar 2013 12:41:50 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 |
On 03/19/2013 05:00 AM, Francisco Godoy wrote:
Hi,
I am trying to compile octave-3.6.4 with 64 bit indexing. However
when running make I get an error because cholmod_start is not defined
I followed the instructions at:
http://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html
Hence, I recompiled lapack-3.4.2, qrupdate-1.1.2 and SuiteSparse.
Following the instructions on the site I moved all the libraries under
/etc/usr/lib and the suitesparse includes to /etc/usr/include/suitesparse
Under /etc/usr/include/suitesparse I have the following cholmod header files
* cholmod_blas.h
* cholmod_check.h
* cholmod_complexity.h
* cholmod_config.h
* cholmod_core.h
* cholmod.h
* cholmod_internal.h
* cholmod_io64.h
* cholmod_matrixops.h
* cholmod_modify.h
* cholmod_partition.h
* cholmod_supernodal.h
* cholmod_template.h
I can see that the function choldmod_start is define at cholmod_core.h
I am running the following configure command
Do you know what could I be doing wrong? How to fix this issue? Thanks
*./configure LD_LIBRARY_PATH="/etc/usr/lib"
CPPFLAGS="-I/etc/usr/include" LDFLAGS="-L/etc/usr/lib"
--with-blas="/etc/usr/lib/librefblas.a"
--with-lapack="/etc/usr/lib/liblapack.a"
--with-cholmod-libdir="/etc/usr/lib" --enable-64*
Do you know what could I be doing wrong? How to fix this issue?
Also I tried adding
*--with-cholmod="/etc/usr/include/suitesparse/cholmod_core.h"*
If you are using --enable-64, then I think you should be using the
cholmod_l_X functions anyway. I recently fixed some problems with the
configure script related to these checks:
http://hg.savannah.gnu.org/hgweb/octave/rev/eb572251b7c6
Also, whenever someone asks about --enable-64, I have to ask whether it
is really needed. Have you read
http://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html#Compiling-Octave-with-64_002dbit-Indexing
? Note that --enable-64 is not required for Octave to use more than 2GB
of memory, but to allow indexing of more than 2^31 elements in a single
array. Do you really need to use arrays that large?
jwe