help-octave
[Top][All Lists]
Advanced

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

Installing Octave on SGI Altix


From: John W. Eaton
Subject: Installing Octave on SGI Altix
Date: Wed, 30 Jan 2008 15:05:01 -0500

On 30-Jan-2008, Marco O Lanzagorta - CONTRACTOR wrote:

| 
| Hello,
| 
| I am having trouble trying to install Octave on a SGI Altix using the 
| intel 10.0.026 icc, ifort, and icpc compilers.
| 
| I am using the following options:
| 
| FC = ifort
| FFLAGS = -O3 -mp -ip -I/usr/local/include
| CC = icc
| CFLAGS = -O2 -mp -ip -I/usr/local/include
| CXX = icpc
| CXXFLAGS = -lstdc++ -O3 -mp -ip -I/usr/local/include
| LDFLAGS = -L/usr/local/lib
| 
| On execution of the following line: 
| 
| icpc -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc 
| -DHAVE_CONFIG_H -Wall -W -Wshadow -Wold-style-cast -lstdc++ -O3 -mp -ip 
| -I/usr\
| /local/include ./DLD-FUNCTIONS/sort.cc -o pic/sort.o
| 
| I get the following error:
| 
| ../liboctave/oct-sort.cc(149): error: more than one operator "<" matches 
| these operands:^M
|             function "operator<(const octave_int<uint32_t={unsigned 
| int}> &, const octave_int<int8_t={signed char}> &)"^M
|             function "operator<(const octave_int<int8_t={signed char}> 
| &, const octave_int<uint32_t={unsigned int}> &)"^M
|             function "operator<(const octave_int<uint32_t={unsigned 
| int}> &, const octave_int<int16_t={short}> &)"^M
|             function "operator<(const octave_int<int16_t={short}> &, 
| const octave_int<uint32_t={unsigned int}> &)"^M
|             function "operator<(const octave_int<uint32_t={unsigned 
| int}> &, const octave_int<int32_t={int}> &)"^M
| 
| 
| ... and many more lines like this one.
| 
| Looks like the intel compiler does not like the polymorphism of the
| Octave code.
| 
| Without actually having to go to change the code, do you any idea as
| to what may be the problem and how to solve it?

What version of Octave?  Is the error message trying to say thatthe
problem is on line 149 of sort.cc?  That's a blank line in the current
released version of Octave (3.0.0).

If you think you've found a bug, please send a complete report to
address@hidden  Please also read http://www.octave.org/bugs.html to
see what information you should include so someone might be able to
help you.

jwe


reply via email to

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