The actual error message is """ CMake Error at CMakeLists.txt:298 (message): MPIIO package needs LAMMPS to be build with MPI Call Stack (most recent call first): CMakeLists.txt:304 (pkg_depends) """
It seems to mean MPI is not found. After removing QUIET from find_package(MPI): -- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1") -- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1") -- Could NOT find MPI_Fortran (missing: MPI_Fortran_WORKS) -- Could NOT find MPI (missing: MPI_Fortran_FOUND) (found version "3.1") CMake Error at CMakeLists.txt:298 (message): MPIIO package needs LAMMPS to be build with MPI Call Stack (most recent call first): CMakeLists.txt:304 (pkg_depends) The package B-D on fortran-compiler. The package is virtual, and we see here why is that considered a problem to B-D on a virtual package. Previously gfortran was installed during the build, now flang07 is installed. Yet mpif90 says "The Open MPI wrapper compiler was unable to find the specified compiler gfortran in your PATH." Install gfortran fixes this problem. -- WBR, wRAR
signature.asc
Description: PGP signature