View Issue Details

IDProjectCategoryView StatusLast Update
0003975OpenFOAMBugpublic2023-04-18 09:28
ReporterPaolo70 Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
PlatformUnixOSOtherOS Version(please specify)
Product Version10 
Summary0003975: Allwmake fails when WM_LABEL_SIZE=64 is set
DescriptionWhen WM_LABEL_SIZE=32, Allwmake -j does the full job and OpenFOAM can be installed.
Not so when setting WM_LABEL_SIZE=64
I'm on 64 arch, thus WM_ARCH_OPTION=64 in either case.
It fails because of conflicting parameter types passed by functions syncTools::syncEdgeList
The first occurrence is on compiling nonConformalBoundary.C
Trying Allwmake -j -k tries to compile other code as well, but fails on them with the same issue, finally not installing anything.
Error occurs either compiling with gcc-8 or gcc-10
Details (along with a very basic system.info) in the uploaded zip file: wm_label_size_64_bug_report.zip
Steps To Reproduceset WM_LABEL_SIZE=64 in etc/bashrc
Allwmake -j
Additional InformationSystem Info:

#uname -a
Linux oO_Oo 5.11.13-gentoo #10 SMP Thu Jan 27 18:07:37 CET 2022 x86_64 Intel(R) Core(TM) i7-4702MQ CPU @ 2.20GHz GenuineIntel GNU/Linux

# eselect gcc list
 [1] x86_64-pc-linux-gnu-8.4.0
 [2] x86_64-pc-linux-gnu-12 *

TagsNo tags attached.

Relationships

duplicate of 0003858 resolvedwill OpenFOAM 10 cannot be compiled with 64 bits labels 

Activities

Paolo70

2023-04-17 20:13

reporter  

Paolo70

2023-04-17 20:15

reporter   ~0012998

to help with web search here is an extract of the log uploaded:

nonConformalBoundary/nonConformalBoundary.C: In member function ‘const Foam::labelList& Foam::nonConformalBoundary::ownerOrigBoundaryEdgeMeshEdge() const’:
nonConformalBoundary/nonConformalBoundary.C:398:9: error: no matching function for call to ‘Foam::syncTools::syncEdgeList(const Foam::polyMesh&, Foam::labelList&, Foam::labelList&, Foam::maxEqOp<long int>, int) const’
  397 | syncTools::syncEdgeList
      | ~~~~~~~~~~~~~~~~~~~~~~~
  398 | (
      | ^
  399 | mesh_,
      | ~~~~~~
  400 | ownerOrigAndProcBoundaryMeshEdges,
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  401 | rMap,
      | ~~~~~
  402 | maxEqOp<label>(),
      | ~~~~~~~~~~~~~~~~~
  403 | -1
      | ~~
  404 | );
      | ~

henry

2023-04-17 21:14

manager   ~0012999

commit d5b54df1766f2f6a6d268a4c8a60cb7499f80348
Author: Will Bainbridge <http://cfd.direct>
Date: Wed Jul 13 09:08:48 2022 +0100

    Corrections for compiling with 64 bit integers
    
    Resolves bug report https://bugs.openfoam.org/view.php?id=3858

Issue History

Date Modified Username Field Change
2023-04-17 20:13 Paolo70 New Issue
2023-04-17 20:13 Paolo70 File Added: wm_label_size_64_bug_report.zip
2023-04-17 20:15 Paolo70 Note Added: 0012998
2023-04-17 21:14 henry Note Added: 0012999
2023-04-18 09:28 henry Assigned To => henry
2023-04-18 09:28 henry Status new => closed
2023-04-18 09:28 henry Resolution open => duplicate
2023-04-18 09:28 henry Relationship added duplicate of 0003858