[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.9.6 build fails on an Opteron RHEL4
From: |
Fredrik Lingvall |
Subject: |
2.9.6 build fails on an Opteron RHEL4 |
Date: |
Mon, 12 Jun 2006 16:28:22 +0200 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060604) |
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
- 2.9.6 build fails on an Opteron RHEL4,
Fredrik Lingvall <=
- Re: 2.9.6 build fails on an Opteron RHEL4, Geoffrey Knauth, 2006/06/12
- 2.9.6 build fails on an Opteron RHEL4, John W. Eaton, 2006/06/12
- Re: 2.9.6 build fails on an Opteron RHEL4, Fredrik Lingvall, 2006/06/13
- Re: 2.9.6 build fails on an Opteron RHEL4, John W. Eaton, 2006/06/13
- Re: 2.9.6 build fails on an Opteron RHEL4, Fredrik Lingvall, 2006/06/14
- Re: 2.9.6 build fails on an Opteron RHEL4, David Bateman, 2006/06/14
- Re: 2.9.6 build fails on an Opteron RHEL4, Javier Fernández Baldomero, 2006/06/14
- Re: 2.9.6 build fails on an Opteron RHEL4, Francesco Potorti`, 2006/06/19
- Re: 2.9.6 build fails on an Opteron RHEL4, Javier Fernández Baldomero, 2006/06/20
Re: 2.9.6 build fails on an Opteron RHEL4, David Bateman, 2006/06/13