View Issue Details

IDProjectCategoryView StatusLast Update
0002473OpenFOAMBugpublic2017-02-22 20:14
ReporterSvensen Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformUnixOSOtherOS Version(please specify)
Product Versiondev 
Summary0002473: Cannot compile. Problem with UPStream
DescriptionDuring the compilation I've of the recent dev version I've got the following error:
========================================
Done ThirdParty Allwmake
========================================

Allwmake src
version changed from previous build
removing .o files corresponding to OpenFOAM/global/global.o ...
Allwmake src/Pstream
wmake dummy
icpc -std=c++11 -fp-trap=common -fp-model precise -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -diag-disable 327,654,1125,2289,2304,11062,11074,11076 -O3 -DNoRepository -IlnInclude -I. -I/mnt/data/users/dm4/vol12/ssindeev_96073/software/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/mnt/data/users/dm4/vol12/ssindeev_96073/software/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude -fPIC -c UPstream.C -o /mnt/data/users/dm4/vol12/ssindeev_96073/software/OpenFOAM/OpenFOAM-dev/platforms/linux64IccDPInt32Opt/src/Pstream/dummy/UPstream.o
/mnt/data/users/dm4/vol12/ssindeev_96073/software/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/List.H(69): error: "SLList" has already been declared in the current scope
  using SLList = LList<SLListBase, T>;
        ^

/mnt/data/users/dm4/vol12/ssindeev_96073/software/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/FixedList.H(68): error: "SLList" has already been declared in the current scope
  using SLList = LList<SLListBase, T>;
        ^

/mnt/data/users/dm4/vol12/ssindeev_96073/software/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/SLPtrList.H(43): error: "SLPtrList" has already been declared in the current scope
      using SLPtrList = LPtrList<SLListBase, T>;
            ^

compilation aborted for UPstream.C (code 2)
Tagscompilation, icc

Activities

henry

2017-02-22 19:07

manager   ~0007805

Which version of icpc?

Svensen

2017-02-22 20:02

reporter   ~0007806

icpc (ICC) 13.1.0 20130121

henry

2017-02-22 20:14

manager   ~0007807

icpc version 13 does not support enough of C++11 to compile OpenFOAM-dev, you will need to upgrade to version 16.

Issue History

Date Modified Username Field Change
2017-02-22 17:55 Svensen New Issue
2017-02-22 17:55 Svensen Tag Attached: compilation
2017-02-22 17:55 Svensen Tag Attached: icc
2017-02-22 19:07 henry Note Added: 0007805
2017-02-22 20:02 Svensen Note Added: 0007806
2017-02-22 20:14 henry Assigned To => henry
2017-02-22 20:14 henry Status new => resolved
2017-02-22 20:14 henry Resolution open => no change required
2017-02-22 20:14 henry Note Added: 0007807