help-octave
[Top][All Lists]
Advanced

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

Installing Octave on SGI Altix


From: Marco O Lanzagorta - CONTRACTOR
Subject: Installing Octave on SGI Altix
Date: Wed, 30 Jan 2008 13:18:07 -0500
User-agent: Mutt/1.4i

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?

Thanks in advance,

Marco


-- 
===========================================================================
Dr. Marco Lanzagorta (Contractor)     email: address@hidden
Research Computers Group - Code 5593  phone: (202) 767-8427
Center for Computational Science      fax  : (202) 404-7402
US Naval Research Laboratory
4555 Overlook Ave, S.W.
Washington, DC 20375
===========================================================================



reply via email to

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