In libparmetis/gkmpi.c there are a few "if" blocks that are missing braces and the file fails to compile (GNU Fortran (GCC) 10.3.1 20210422).
Also in line 307 of the same file the line:
if (sendcounts >= INT_MAX || recvcount >= INT_MAX || sdispls[i] >= INT_MAX)
should be modified to:
if (sendcounts[i] >= INT_MAX || recvcount >= INT_MAX || sdispls[i] >= INT_MAX)
In libparmetis/gkmpi.c there are a few "if" blocks that are missing braces and the file fails to compile (GNU Fortran (GCC) 10.3.1 20210422). Also in line 307 of the same file the line: if (sendcounts >= INT_MAX || recvcount >= INT_MAX || sdispls[i] >= INT_MAX) should be modified to: if (sendcounts[i] >= INT_MAX || recvcount >= INT_MAX || sdispls[i] >= INT_MAX)