COIN-OR::LEMON - Graph Library

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#84 closed defect (fixed)

Support icc

Reported by: Alpar Juttner Owned by: Balazs Dezso
Priority: major Milestone: LEMON 1.0 release
Component: core Version: hg main
Keywords: Cc:
Revision id:

Description (last modified by Alpar Juttner)

  • Trying to compile with icc-9.0, it hangs on compiling lemon/arc_parser.cc (it allocates more and more memory and it doesn't stop doing that). This is quite obviously a serious compiler bug thus there is nothing to do with it.
  • With icc-10.1, the problems occur when compiling test/kruskal_test.cc.

With the default configuration, icc generates an incredible amount of 'remarks', making impossible to see what is happening. Thus I suggest using this configuration at first (on lime.cs.elte.hu).

./configure CXX=/opt/intel/cce/10.1/bin/icpc CXXFLAGS=-g --enable-demo --enable-benchmark

This ticket is somewhat related to ticket:7.

Attachments (1)

icc_compatibility_fixes.patch (1.8 KB) - added by Balazs Dezso 11 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by Alpar Juttner

Description: modified (diff)

comment:2 in reply to:  1 ; Changed 11 years ago by Alpar Juttner

Owner: changed from Alpar Juttner to Balazs Dezso

I investigated it a little bit more, and it turned out that the only problem is in the mutable declaration in StoreBoolMap

It is a little bit strange, as there are other mutable declarations in the repo but icc doesn't complain about them. Is it possible that those are not tested?

comment:3 in reply to:  2 ; Changed 11 years ago by Alpar Juttner

Replying to alpar:

I investigated it a little bit more, and it turned out that the only problem is in the mutable declaration in StoreBoolMap

MSVC also seems to complain about this stuff.

Changed 11 years ago by Balazs Dezso

comment:4 Changed 11 years ago by Balazs Dezso

The uploaded solves the compatibility problems with ICC 10.1 .

comment:5 Changed 11 years ago by Alpar Juttner

Resolution: fixed
Status: newclosed

Fixed in [b82dc494bafc].

comment:6 in reply to:  3 ; Changed 11 years ago by Peter Kovacs

Replying to alpar:

I investigated it a little bit more, and it turned out that the only problem is in the mutable declaration in StoreBoolMap

MSVC also seems to complain about this stuff.

See also ticket #36.
And what about ticket #7? It is also an icc-compatibility problem.

Should we reopen this ticket?

comment:7 in reply to:  6 Changed 11 years ago by Alpar Juttner

Replying to kpeter:

Should we reopen this ticket?

Now, the repository compiles with the icc version 10.1, while The bug with version 9.0 is probably not our business. Thus I see no reason to reopen.

Note: See TracTickets for help on using tickets.