help-octave
[Top][All Lists]
Advanced

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

Re: CAMD


From: Joe Koski
Subject: Re: CAMD
Date: Tue, 08 Aug 2006 09:41:52 -0600
User-agent: Microsoft-Entourage/11.2.5.060620

Mats,

On my Mac, I downloaded, built and installed the CAMD library from the same
site as UMFPACK, etc. It is not mentioned anywhere, but there are some
unresolved files from libcamd.a when you build octave. To link it (in the
bash shell) I did an

  export LIBS=-lcamd

Before I did ./configure and make.

Joe


on 8/8/06 12:55 AM, Mats Hedlund at address@hidden wrote:

> Has anyone a hint to this?
> 
> 
> main.o  \
> -L../liboctave -L../libcruft -L../src -Wl,-rpath
> -Wl,/usr/local/octave-2.9.7/lib/octave-2.9.7 \
> -loctinterp -loctave  -lcruft    \
> -lumfpack -lamd -lcolamd \
> -lcholmod -lccolamd -lcxsparse  \
> -lreadline  -lncurses -ldl -lz -lm  -L/usr/local/lib
> -L/usr/local/fortran/g95-install/bin/../lib/gcc-lib/i68
> 6-pc-linux-gnu/4.0.3/
> -L/usr/local/fortran/g95-install/bin/../lib/gcc-lib/i686-pc-linux-gnu/4.0.3
> -L/usr/lib/ gcc// -L/lib//
> -L/usr/local/fortran/g95-install/bin/../lib/gcc-lib/i686-pc-linux-gnu/4.0.3///
> -L/usr/lib// -l z -lf95 -lm
> ../liboctave/liboctave.so: undefined reference to `camd_realloc'
> ../liboctave/liboctave.so: undefined reference to `camd_printf'
> ../liboctave/liboctave.so: undefined reference to `camd_calloc'
> ../liboctave/liboctave.so: undefined reference to `camd_2'
> ../liboctave/liboctave.so: undefined reference to `METIS_NodeND'
> ../liboctave/liboctave.so: undefined reference to
> `METIS_NodeComputeSeparator'
> ../liboctave/liboctave.so: undefined reference to `camd_free'
> ../liboctave/liboctave.so: undefined reference to `camd_malloc'
> collect2: ld returned 1 exit status
> make[2]: *** [octave] Error 1
> make[2]: Leaving directory `/usr/local/octave-2.9.7/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/usr/local/octave-2.9.7'
> make: *** [all] Error 2
> 
> 
> I have compiled UFsparse, which seemed ok, and put in /usr/local/lib
> and /usr/local/include. Then:
> 
> ./configure --with-f77=g95 --prefix=/usr/local/octave-2.9.7
> --enable-shared --disable-static CFLAGS="-g -O2 -I/usr/local/include"
> CXXFLAGS="-g -O2 -I/usr/local/include" LDFLAGS="-L/usr/local/lib"
> 
> comes out pretty good (well, still missing
> nan.h,ieef.h,floatingpoint.h,direct.h and fftw3.h), finding
> umfpack,colamd,ccolamd,cholmod and cxsparse.
> Then doing make for octave finally spits out the error above. Seems to
> indicate that some functions in CAMD and METIS is missing. But as far as
> I can see CAMD and METIS compiled just fine. And configure doesn't
> indicate any need for CAMD and doesn't complain. By the way, I'm on a
> suse 10.1 and using g95.
> 
> Any hints?
> Thanks.
> 
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave




reply via email to

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