-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Compiling with AMD AOCL? #980
Comments
Hey @btglau, you can try setting the path to your AOCL BLAS by setting some cmake variables in the pyscf/pyscf/lib/CMakeLists.txt Lines 73 to 85 in 9291e74
|
My cluster department responded with: "Considerable testing showed that AOCC/AOCL, at the current time, is not particularly performant compared to other options. The LAPACK implementation is incomplete, and still quite complicated to incorporate into your code. There is some drop-in support, but it's not always straightforward." With the conclusion that compiling with MKL is the best practice as of now. I will update in the future if there is any progress with AMD's compilers. |
It's probably better to use MKL and the "famous" setting |
Just be aware that support for that env variable ( |
Hello devs,
Can pyscf be compiled with the AMD equivalent of MKL, AOCL?
Are the AOCL libraries a drop in replacement for the functional that pyscf needs from other BLAS? I assume that to be the case, although the closed source bits of AOCL, such as LibM and amd_memcpy, look like they require changes to code.
Ideally, there would be a substitution for:
cmake -DBLA_VENDOR=Intel10_64lp_seq ..
however, CMake FINDBLAS does not seem to support AOCL yet, as I found a code in molcas' CMakeLists that addresses this issue:
https://github.com/Molcas/OpenMolcas/blob/master/CMakeLists.txt#L1271
The text was updated successfully, but these errors were encountered: