help-octave
[Top][All Lists]
Advanced

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

Re: 2.9.6 build fails on an Opteron RHEL4


From: Geoffrey Knauth
Subject: Re: 2.9.6 build fails on an Opteron RHEL4
Date: Mon, 12 Jun 2006 13:56:56 -0400

I was able to ./configure, make, make install 2.9.5 on AMD 64 / Ubuntu 6.06.

I'll email you my config.log privately, since it's 271K.

Geoffrey
--
Geoffrey S. Knauth | http://knauth.org/gsk


On Jun 12, 2006, at 10:28, Fredrik Lingvall wrote:

My Octave 2.9.6 (and 2.9.5) build fails every time on the CSparse.cc file.
The machine is an 2 cpu dual-core machine running RedHat EL4.

How should I configure octave to avoid this?

My current setup:


* CFLAGS/CXXFLAGS/FFLAGS:

-I$HOME/work/OPTERON/usr/local/include -O3 -m64 -Wall -funroll-loops
-march=opteron -mtune=opteron -pthread

* LDFLAGS:

-L$HOME/work/OPTERON/usr/local/lib



./configure --prefix=$HOME/work/OPTERON/usr/local
--with-blas=$HOME/work/OPTERON/usr/local/lib/libBLAS.so
--with-lapack=$HOME/work/OPTERON/usr/local/lib/libLAPACK.so --with-f77
--enable-64 --enable-shared --enable-dl --with-umfpack --with-colamd
--with-ccolamd --with-cholmod --with-cxsparse --with-fftw

...

Octave is now configured for x86_64-unknown-linux-gnu

  Source directory:     .
  Installation prefix:  /ifi/fenris/a05/fl/work/OPTERON/usr/local
  C compiler:           gcc   -Wall -W -Wshadow
-I/ifi/fenris/a05/fl/work/OPTERON/usr/local/include -O3 -m64 -Wall
-funroll-loops -march=opteron -mtune=opteron -pthread
  C++ compiler:         g++   -Wall -W -Wshadow -Wold-style-cast
-I/ifi/fenris/a05/fl/work/OPTERON/usr/local/include -O3 -m64 -Wall
-funroll-loops -march=opteron -mtune=opteron -pthread
  Fortran compiler:     f77
-I/ifi/fenris/a05/fl/work/OPTERON/usr/local/include -O3 -m64 -Wall
-funroll-loops -march=opteron -mtune=opteron -pthread
Fortran libraries: -L/ifi/fenris/a05/fl/work/OPTERON/usr/ local/lib
-L/usr/lib/gcc/x86_64-redhat-linux/3.4.4
-L/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../.. -L/lib/../lib64
-L/usr/lib/../lib64 -lz -lfrtbegin -lg2c -lm -lgcc_s -lpthread
  BLAS libraries:
/ifi/fenris/a05/fl/work/OPTERON/usr/local/lib/libLAPACK.so
/ifi/fenris/a05/fl/work/OPTERON/usr/local/lib/libBLAS.so
  FFTW libraries:       -lfftw3
  GLPK libraries:
  UMFPACK libraries:    -lumfpack
  COLAMD libraries:     -lcolamd
  CCOLAMD libraries:    -lccolamd
  CHOLMOD libraries:    -lcholmod
  CXSPARSE libraries:   -lcxsparse
  HDF5 libraries:
  LIBS:                 -lreadline  -lncurses -ldl -lz -lm
  Default pager:        less
  gnuplot:              gnuplot

  Do internal array bounds checking:  false
  Build static libraries:             false
  Build shared libraries:             true
  Dynamic Linking:                    true (dlopen)
  Include support for GNU readline:   true
  64-bit array dims and indexing:     true

configure: WARNING: I didn't find gperf, but it's only a problem if you
need to reconstruct oct-gperf.h
configure: WARNING: HDF5 library not found. Octave will not be able to
save or load HDF5 data files.
configure:


make

....

g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast
-I/ifi/fenris/a05/fl/work/OPTERON/usr/local/include -O3 -m64 -Wall
-funroll-loops -march=opteron -mtune=opteron -pthread CSparse.cc -o
pic/CSparse.o
CSparse.cc: In function `SparseComplexMatrix operator*(const
SparseComplexMatrix&, const SparseMatrix&)':
CSparse.cc:7792: error: call of overloaded
`SparseComplexMatrix(octave_idx_type&, octave_idx_type&, int)' is ambiguous
CSparse.h:89: note: candidates are:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, octave_idx_type)
CSparse.h:57: note:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, double)
CSparse.h:54: note:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, Complex)
CSparse.cc: In function `SparseComplexMatrix operator*(const
SparseMatrix&, const SparseComplexMatrix&)':
CSparse.cc:7798: error: call of overloaded
`SparseComplexMatrix(octave_idx_type&, octave_idx_type&, int)' is ambiguous
CSparse.h:89: note: candidates are:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, octave_idx_type)
CSparse.h:57: note:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, double)
CSparse.h:54: note:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, Complex)
CSparse.cc: In function `SparseComplexMatrix operator*(const
SparseComplexMatrix&, const SparseComplexMatrix&)':
CSparse.cc:7804: error: call of overloaded
`SparseComplexMatrix(octave_idx_type&, octave_idx_type&, int)' is ambiguous
CSparse.h:89: note: candidates are:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, octave_idx_type)
CSparse.h:57: note:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, double)
CSparse.h:54: note:
SparseComplexMatrix::SparseComplexMatrix(octave_idx_type,
octave_idx_type, Complex)
make[2]: *** [pic/CSparse.o] Error 1
make[2]: Leaving directory
`/ifi/fenris/p13/fl/OPTERON/octave-2.9.6/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/ifi/fenris/p13/fl/OPTERON/octave-2.9.6'
make: *** [all] Error 2


/Fredrik
_______________________________________________
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]