Closed kolarji2 closed 2 years ago
A simple #include
of <stdio.h>
should fix this problem. Our CI setup is using an older gcc version and did not show this issue.
I confirm, after following modifications build was succesful:
_src/mpi_liggghts.h and src/mpiliggghts.cpp:
#include <cstdio>
_/src/region_mesh_hex.h and /src/region_meshhex.cpp
#include <vector>
Build of the current LIGGGHTS-PFM is failing for mpi_liggghts.cpp.
Archlinux 2022.01.01 gcc (GCC) 11.1.0 -- Found MPI_C: /usr/lib/openmpi/libmpi.so (found version "3.1") -- Found MPI_CXX: /usr/lib/openmpi/libmpi_cxx.so (found version "3.1") -- Found MPI: TRUE (found version "3.1")
Edit: This is caused by the new version gcc 10+.