Skip to content

GAMG with cyclicAMI and mergeLevels > 1 crashes in parallel

Summary

With merging multiple levels of pairwise agglomeration crashes when using cyclicAMI.

Steps to reproduce

In incompressible mixerVesselAMI2D tutorial add mergeLevels to fvSolution

    "pcorr.*"
    {
        solver          GAMG;
        smoother        GaussSeidel;
        ..
        mergeLevels     2;
        ..
    }

Relevant logs and/or images

on above tutorial on 4 procs:

[2] #1  Foam::sigSegv::sigHandler(int)[1] #1  Foam::sigSegv::sigHandler(int) in ~/OpenFOAM/OpenFOAM-plus/work/develop/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[2] #2  ? in ~/OpenFOAM/OpenFOAM-plus/work/develop/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #2  ? in /lib64/libpthread.so.0
[2] #3  virtual thunk to Foam::cyclicAMIGAMGInterface::neighbPatchID() const in /lib64/libpthread.so.0
[1] #3  virtual thunk to Foam::cyclicAMIGAMGInterface::neighbPatchID() const in ~/OpenFOAM/OpenFOAM-plus/work/develop/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
[2] #4  Foam::cyclicAMIGAMGInterface::internalFieldTransfer(Foam::UPstream::commsTypes, Foam::UList<int> const&) const in ~/OpenFOAM/OpenFOAM-plus/work/develop/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
[1] #4  Foam::cyclicAMIGAMGInterface::internalFieldTransfer(Foam::UPstream::commsTypes, Foam::UList<int> const&) const in ~/OpenFOAM/OpenFOAM-plus/work/develop/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so

Environment information

  • OpenFOAM version : v2212
  • Operating system :
  • Hardware info :
  • Compiler :

Possible fixes