-
Notifications
You must be signed in to change notification settings - Fork 360
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
Add PETSc external library support for ALM #349
Merged
Merged
Conversation
This file contains 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
- This has been added in a general way, following exactly how Trilinos support occurs in ACME/CESM. In other words, any component can set a XXX_USE_PETSC env variable, and if any of these are set, a master USE_PETSC var is set which will add PETSc libs to the linking stage. - Currently only CLM uses PETSc. - PETSc builds will only work on machines where PETSC_PATH has been set in machines-acme/config_compilers.xml, which currently is nowhere. - The current approach follows Matt Hoffman's approach of adding support for Albany library in ACME.
- Previously, '-mkl=cluster' is added by default when intel compiler is selected. - On Edison, when PETSc module is loaded, the inclusion of '-mkl=cluster' results in a compiler error. - Now '-mkl=cluster' flag is added for all machines, except Edison. - For Edison, loading of cray-libsci module avoids the need of specifying '-mkl=cluster' (see note at https://www.nersc.gov/users/software/programming-libraries/math-libraries/mkl/).
Closed
Closing this PR as few cases are failing to compile on Edison. |
Is this ready to go? |
|
Ready to go |
jeff-cohere
pushed a commit
that referenced
this pull request
Oct 14, 2015
Add PETSc external library support for ALM Adds support of PETSc (http://www.mcs.anl.gov/petsc/) within ACME. * Presently support of PETSc is tested on the following machines: * Edison, * Titan, * Mira, and * Cetus. * PETSc is required for the variably saturated flow model (VSFM) being developed for ALMv1. * Support for PETSc is added following the same framework used for other external libraries (e.g. Albany, Trilinos) [BFB] [LG-118]
All right, I'm taking this one to master. |
jeff-cohere
pushed a commit
that referenced
this pull request
Oct 20, 2015
Add PETSc external library support for ALM Adds support of PETSc (http://www.mcs.anl.gov/petsc/) within ACME. * Presently support of PETSc is tested on the following machines: * Edison, * Titan, * Mira, and * Cetus. * PETSc is required for the variably saturated flow model (VSFM) being developed for ALMv1. * Support for PETSc is added following the same framework used for other external libraries (e.g. Albany, Trilinos) [BFB] [LG-118]
jgfouca
pushed a commit
that referenced
this pull request
Feb 27, 2018
Add PETSc external library support for ALM Adds support of PETSc (http://www.mcs.anl.gov/petsc/) within ACME. * Presently support of PETSc is tested on the following machines: * Edison, * Titan, * Mira, and * Cetus. * PETSc is required for the variably saturated flow model (VSFM) being developed for ALMv1. * Support for PETSc is added following the same framework used for other external libraries (e.g. Albany, Trilinos) [BFB] [LG-118]
yunpengshan2014
pushed a commit
that referenced
this pull request
Apr 2, 2024
Streamflow Scatter Plot and Updates
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.
Adds support of PETSc (http://www.mcs.anl.gov/petsc/) within ACME.
being developed for ALMv1.
for other external libraries (e.g. Albany, Trilinos)
[BFB]
[LG-118]