MPM Graph test compilation failing

There is a compilation error in develop, at related to the Graph class.

My compilation setting is the same as the default using gcc

    cmake ..                        \
    -DCMAKE_BUILD_TYPE=Release      \
    -DCMAKE_CXX_COMPILER=g++        \
    -DNO_KAHIP=True                 \
    make -j16

The is a MPI test function. Since you are compiling with -DNO_KAHIP, MPI is not active hence graph class is not initialized. I’ll create a hotfix to add a include guards to avoid this error when compiling with -DNO_KAHIP=True.

1 Like

Thanks for this! :smile:

1 Like

The updated version of mpm code has this issue fixed:


The compilation worked but I couldn’t run the mpmtest. Is this still within the same problem or is it for a different reason?

Mine is working okay @thiagordonho

1 Like

I solved the issue. I just needed to run ldconfig. Thank you @bodhinandach

1 Like