add support for building NWChem on top of external GlobalArrays + also define $LAPACK_LIB (required for NWChem 7.x)#2043
Merged
boegel merged 4 commits intoeasybuilders:developfrom Apr 26, 2020
Conversation
boegel
requested changes
Apr 26, 2020
| # BLAS and ScaLAPACK | ||
| self.setvar_env_makeopt('BLASOPT', '%s -L%s %s %s' % (os.getenv('LDFLAGS'), os.getenv('MPI_LIB_DIR'), | ||
| os.getenv('LIBSCALAPACK_MT'), libmpi)) | ||
| MPI_LIB_DIRS = ' '.join('-L' + d for d in os.getenv('MPI_LIB_DIR').split()) |
Member
There was a problem hiding this comment.
@Micket Style-wise, this should be lower case since it's not a constant, but a variable.
mpi_lib_dirs = ' '.join('-L' + d for d in os.getenv('MPI_LIB_DIR').split())
boegel
approved these changes
Apr 26, 2020
Member
boegel
left a comment
There was a problem hiding this comment.
lgtm, tested with existing NWChem easyconfigs + easybuilders/easybuild-easyconfigs#10479
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
WIP
It is now required to set
LAPACK_LIBas well. Shouldn't hurt to set it for older NWchem either, so I skipped the messy if-version stuff.External GlobalArrays is a big benefit, so that it doesn't download and builds it's own (sometimes buggy) version.
I'm not sure what to do with