Bug#923466: lammps: FTBFS (dh_auto_configure fails)

Andrey Rahmatullin wrar at debian.org
Thu Feb 28 19:00:43 GMT 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190301/1bf96879/attachment.sig>


More information about the debian-science-maintainers mailing list