Skip to content

Build fails with CMake 3.17.3 on Cray environment #124

@awvwgk

Description

@awvwgk

Seems like we can find BLAS and LAPACK correctly pre-CMake 3.18 due to the missing BLAS::BLAS and LAPACK::LAPACK targets in this versions.

[ 89%] Linking Fortran executable multicharge
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lFALSE
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /opt/intel/compilers_and_libraries_2019.5.281/linux/compiler/lib/intel64_lin/libiomp5.a(ompt-general.o): in function `ompt_pre_init':
(.text+0x25f0): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
_deps/multicharge-build/app/CMakeFiles/multicharge-exe.dir/build.make:113: recipe for target '_deps/multicharge-build/app/multicharge' failed
make[2]: *** [_deps/multicharge-build/app/multicharge] Error 1
make[2]: Leaving directory '/.../SOURCE/DFTD4'
CMakeFiles/Makefile2:1013: recipe for target '_deps/multicharge-build/app/CMakeFiles/multicharge-exe.dir/all' failed
make[1]: *** [_deps/multicharge-build/app/CMakeFiles/multicharge-exe.dir/all] Error 2
make[1]: Leaving directory '/.../SOURCE/DFTD4'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/.../SOURCE/DFTD4'

Thanks to @drmewes for reporting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildBuild system related issues (platform, compilers)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions