help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CHOLMOD library not found


From: Francisco Godoy
Subject: Re: CHOLMOD library not found
Date: Tue, 19 Mar 2013 22:42:45 -0700

Hi John,

   Thanks for your reply.

   I tried your changes and had no success. Moreover now I get that UMFPACK, CHOLMOD and CXSparse are not found. 

    Also the configure file seems to still be looking for the old choldmod_start instead of the cholmod_l_start. And this happens to the other libraries as well. Basically it looks like it is not picking up the $USE_64_BIT_IDX_T flag.  Also I tried changing the line +if test $USE_64_BIT_IDX_T = yes; to +if test $USE_64_BIT_IDX_T; and still get the same result. 

   I am probably missing something that is more basic. But I have no idea what could that be. 

   Thanks for your help

   Francisco Godoy


On Tue, Mar 19, 2013 at 9:41 AM, John W. Eaton <address@hidden> wrote:
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]