Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this code is traversed for Amber 19 too, don't we need a version check here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be harmless as is: if you're using a toolchain that includes FlexiBLAS, you'll use
-DBLA_VENDOR=FlexiBLAS
, which will cause a clear configuration error if the patches are not included (they most likely also work with Amber 19, I didn't check).The patch is available in fwautele/easybuild-easyconfigs#1, so it should become part of easybuilders/easybuild-easyconfigs#14386 soon (the patch for
Amber
20 is exactly the same as for AmberTools 21).If you're using a toolchain that doesn't include FlexiBLAS but does include OpenBLAS, you'll use
-DBLA_VENDOR=OpenBLAS
, which is what the CMake script does automatically already (we're just making that explicit now and taking control).For other toolchains, we don't specify
-DBLA_VENDOR
and we leave it up to the CMake scripts to figure out which BLAS/LAPACK to use, which is also what happens without these changes.Long story short: none of the existing easyconfigs should be "hurt" by the changes being made here...