|
From: | Francisco Godoy |
Subject: | Re: CHOLMOD library not found |
Date: | Tue, 19 Mar 2013 22:42:45 -0700 |
On 03/19/2013 05:00 AM, Francisco Godoy wrote:
Hi,* cholmod_blas.h
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_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*./configure LD_LIBRARY_PATH="/etc/usr/lib"
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
--with-cholmod-libdir="/etc/usr/lib" --enable-64*
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="/etc/usr/include/suitesparse/cholmod_core.h"*
Do you know what could I be doing wrong? How to fix this issue?
Also I tried adding
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
[Prev in Thread] | Current Thread | [Next in Thread] |