-
Notifications
You must be signed in to change notification settings - Fork 38
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 Intel MKL #308
Comments
Hi @samfux84, can you try only the following
|
Hi @ajaypanyala , thank you for your reply. I have tried with
omitting the BLAS_LIBRARIES variable, but I still get the same outcome:
The MKL installation is present in the path that I specified as LINALG_PREFIX:
|
Could you please post the file |
Sorry for the late reply. I was away for a bit more than a week and could only reproduce the issue this week.
|
if you are building on linux, the test for windows should fail. |
@jeffhammond I was asked by @ajaypanyala to provide the content of this file. It still does not explain why the error
happens with MKL |
@samfux84 The cmake error log does not seem to have any useful information. Could you please try checking out the branch |
@ajaypanyala Thank you for your reply. I have to stop for today, but I will continue to investigate the issue tomorrow and also test the branch issue308 and then provide you feedback. |
@ajaypanyala I cannot easily change the commit of GA that OpenMolcas checks out (not sure where I have to change this in the OpenMolcas CMake files. I tried to change it, but failed to succeed), so I had to manually repeat the steps that OpenMolcas is performing and make sure the correct branch "issue308" gets checked out. With that branch, the LAPACK library of MKL is actually found, when I omit the variable -D BLAS_LIBRARIES:
|
The |
@ajaypanyala Thank you for the update. I was already assuming that OpenMolcas uses an older commit of GA. I will try to change the OpenMolcas routines to use 3cb97b3 instead of the one that is currently used. This won't be trivial as I already changed the commit in the respective CMake files (when testing the issue308 branch), but the build then still fails, because OpenMolcas tries to apply a patch on some GA CMake files, which fails when I use a different branch. I will try to hack the OpenMolcas code to make it possible to use a different branch. Thank you very much for the good support. Best regards Sam |
Hi,
I am trying to build GA as part of OpenMolcas on a Linux cluster and would like to use the Intel MKL (ilp64) libraries as BLAS/LAPACK librarires.
But the build always failes with
The CMake command is:
cd /scratch/260965700.tmpdir/OpenMolcas/build/External/GlobalArrays/src/GlobalArrays-build && /cluster/apps/gcc-8.2.0/cmake-3.25.0-45vsyctxfmoqynitpwn6qiaqrlfn5mvr/bin/cmake -D CMAKE_INSTALL_PREFIX=/scratch/260965700.tmpdir/OpenMolcas/build/External/GlobalArrays_install -D CMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE -D BUILD_SHARED_LIBS=ON -D ENABLE_FORTRAN=ON -D ENABLE_CXX=OFF -D ENABLE_TESTS=OFF -D ENABLE_BLAS=ON -D LINALG_VENDOR=IntelMKL -D LINALG_PREFIX=/cluster/apps/nss/intel/oneapi/2022.1.2/mkl/2022.0.2 -D LINALG_THREAD_LAYER=sequential -D LINALG_REQUIRED_COMPONENTS=ilp64 -D "BLAS_LIBRARIES=/cluster/apps/nss/intel/oneapi/2022.1.2/mkl/2022.0.2/lib/intel64/libmkl_scalapack_ilp64.so;/cluster/apps/nss/intel/oneapi/2022.1.2/mkl/2022.0.2/lib/intel64/libmkl_gf_ilp64.so;/cluster/apps/nss/intel/oneapi/2022.1.2/mkl/2022.0.2/lib/intel64/libmkl_core.so;/cluster/apps/nss/intel/oneapi/2022.1.2/mkl/2022.0.2/lib/intel64/libmkl_gnu_thread.so;/cluster/apps/nss/intel/oneapi/2022.1.2/mkl/2022.0.2/lib/intel64/libmkl_blacs_openmpi_ilp64.so" -D ENABLE_I8=ON -D LINALG_REQUIRED_COMPONENTS=ilp64 "-GUnix Makefiles" /scratch/260965700.tmpdir/OpenMolcas/build/External/GlobalArrays/src/GlobalArrays
Is this a known problem and is there any fix to resolve it?
Best regards
Sam
The text was updated successfully, but these errors were encountered: