-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'agsalin/mpasli/albany-porting' into next (PR #414)
This adds compile and linking details for linking to the Albany solver under MPAS-LI. Albany is an unstructured-grid finite element code developed under the PISCEES SciDAC, that itself depends heavily on the Trilinos solver libraries. Because Albany+Trilinos is C++ code, and is VERY large, we decided at this point to NOT move these codes under ACME, but to pre-install them as external libraries on all the important platforms. (This decision can be revisited.) So, along with this pull request, I installed Albany+Trilinos on Edison, Mira, Titan, Melvin, and skybrigde/redsky. Mustang/Wolf also have Albany installs. This pull request includes an ALBANY_PATH variable in the config_compilers.xml block for each of these machines that points to the install. (Provenance for future Albany releases to ACME still needs to be figured out.) Linking ACME Fortran to Albany C++ was straightforward on Edison, melvin, skybridge, but was problematic on Titan and Mira. The C++ compilers that go along with the pgi and ibm compilers on those machines are too old to compile Albany. So, we compiled Albany with g++ on Titan and clang++ on Mira. It was possible to link the mixed languages and mixed compilers when the magic libraries were added to the link lines. This is also in config_compilers.xml. On mira, I needed to remove -qsmp=omp from LDFLAGS for all IBM compilers, since this was not found when linking with clang++. I replaced this flag with -lxlsmp and the code linked. I ran a B-compset and verified that this did not effect performance for non-Albany problems on Mira. As part of this pull request, a test was added for the MPASLIALB-ONLY compset. [BFB] for pre-existing tests, but adds a new test * agsalin/mpasli/albany-porting: Fix incorrect logic for velocity solver selection Add CXX_LIBS for Melvin so Albany links Add Albany build instructions for new Land Ice solver
- Loading branch information
Showing
4 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
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 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 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 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