Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with CMake 3.17.3 on Cray environment #124

Closed
awvwgk opened this issue Sep 6, 2021 · 1 comment
Closed

Build fails with CMake 3.17.3 on Cray environment #124

awvwgk opened this issue Sep 6, 2021 · 1 comment
Labels
bug Something isn't working build Build system related issues (platform, compilers)

Comments

@awvwgk
Copy link
Member

awvwgk commented Sep 6, 2021

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.

@awvwgk awvwgk added bug Something isn't working build Build system related issues (platform, compilers) labels Sep 6, 2021
@awvwgk
Copy link
Member Author

awvwgk commented Sep 6, 2021

Building with CMake 3.17.0 and Intel 19.1 does work without issues. Seems to be either a CMake 3.17.3 specific issue or a Cray specific issue (or both, which is most likely).

@awvwgk awvwgk closed this as completed May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Build system related issues (platform, compilers)
Projects
None yet
Development

No branches or pull requests

1 participant