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

cmake configure failed because of COMSA-2.6.6 #3364

Open
AntEffect opened this issue Apr 23, 2024 · 2 comments
Open

cmake configure failed because of COMSA-2.6.6 #3364

AntEffect opened this issue Apr 23, 2024 · 2 comments

Comments

@AntEffect
Copy link

AntEffect commented Apr 23, 2024

Configuring cmake for cp2k with option "DEFAULT", an error occurred as
"COSMA needs to be build with scalapack offloading support. COSTA_SCALAPACK and COSMA_SCALAPACK should probably be set properly"
in CMakelists.txt, with configure:

cmake .. -DCP2K_BUILD_OPTIONS=DEFAULT -DCP2K_SCALAPACK_VENDOR=MKL -DCP2K_BUILD_DBCSR=ON

COMSA-2.6.6 was installed with the script:

./install_cp2k_toolchain.sh --no-check-certificate --install-all --with-mkl=/opt/intel/oneapi/mkl/latest --mpi-mode=openmpi --with-cmake=install --with-gcc=system

Then I noticed that cosma_pxgemm should be built with BUILD_SHARED_LIBS=ON in COSMA-2.6.6‘s CMakelists.txt,
image,
while in the intallation script it's OFF
image
So I guess this may be a bug, is it?

@AntEffect AntEffect changed the title Failed 拖 failed because of Apr 23, 2024
@AntEffect AntEffect changed the title failed because of cmake configure failed because of COMSA-2.6.6 Apr 23, 2024
@AntEffect
Copy link
Author

AntEffect commented Apr 23, 2024

And the cmake configure passed and compilation was done after setting BUILD_SHARED_LIBS=ON and reinstalling COMSA-2.6.6.
image

@alas-go
Copy link

alas-go commented Jun 1, 2024

It seems that comsa-2.6.6 could not support cmake v3.29.3. using this version, the screen tells me that MPI_CXX could not be found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants