Skip to content

CMake error when building v0.87.7 in CentOS 7 #233

@shadowleaves

Description

@shadowleaves

CMake seems to complain about missing fortran library for OpenBLAS but I have both gfortran and libgfortran installed at /usr/bin and usr/lib64 respectively. setting GFORTRAN_LIB=/usr/lib64 does not help either.

-- Appending /tmp/Elemental/include for Elemental's source includes
-- Appending /tmp/Elemental/build/include for Elemental's binary includes
CMake Warning at CMakeLists.txt:286 (message):
Build mode not specified, defaulting to Release build.

-- CXX11_COMPILER_FLAGS=-std=gnu++11
-- Using restrict keyword.
-- Will parse MPI header /usr/local/include/mpi.h
-- Appending /usr/local/include for MPI headers
-- Using prespecified OpenMP_C_FLAGS=-fopenmp
-- Using prespecified OpenMP_CXX_FLAGS=-fopenmp
-- Valgrind Prefix:
-- Could NOT find VALGRIND (missing: VALGRIND_INCLUDE_DIR VALGRIND_PROGRAM)
-- A library with BLAS API found.
-- A library with LAPACK API found.
CMake Error at cmake/external_projects/ElMath/OpenBLAS.cmake:43 (message):
Could not find gfortran library; please consider setting the GFORTRAN_LIB
variable.
Call Stack (most recent call first):
cmake/external_projects/ElMath.cmake:251 (include)
CMakeLists.txt:434 (include)

-- Configuring incomplete, errors occurred!
See also "/tmp/Elemental/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/Elemental/build/CMakeFiles/CMakeError.log".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions