Skip to content
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 7 commits into from
Oct 20, 2015

Conversation

bishtgautam
Copy link
Contributor

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]

Gautam Bisht added 6 commits September 22, 2015 11:17
- 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/).
@bishtgautam
Copy link
Contributor Author

Closing this PR as few cases are failing to compile on Edison.

@bishtgautam bishtgautam closed this Oct 9, 2015
@bishtgautam bishtgautam reopened this Oct 14, 2015
@jeff-cohere
Copy link
Contributor

Is this ready to go?

@bishtgautam
Copy link
Contributor Author

  • The failing acme_developer tests on Edison were fixed in dd2cbee
  • All acme_developer tests compiled successfully except:
    • SMS.hcru_hcru.I1850CRUCLM45CN: Failed because of bad processor layout. This will be fixed in a future PR.
    • PEA_P1_M.f45_g37_rx1: Failed as it uses MPILIB=mpi-serial. Need to decide if
      • mpi-serial will be supported on Edison, or
      • MPILIB=mpt will be used for this test on Edison.

@bishtgautam
Copy link
Contributor Author

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]
@jeff-cohere
Copy link
Contributor

All right, I'm taking this one to master.

@jeff-cohere jeff-cohere merged commit dd2cbee into master Oct 20, 2015
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]
@jeff-cohere jeff-cohere deleted the bishtgautam/lnd/add-petsc branch October 20, 2015 19:51
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants