Skip to content

Conversation

@MiCurry
Copy link
Contributor

@MiCurry MiCurry commented Apr 17, 2019

This commit fixes the bug addressed in issue #207, that caused the PGI compiler 18.10 to fail upon reaching the PIO version compatibility check. This single commit moves the target file to the front of the compiler arguments, which fixes the problems.

This commit fixes the bug that made the PGI compiler 18.10 fail upon the PIO
version compatibility check. It was able to be fixed by moving the target file
to the beginning of the compiler arguments.
Copy link
Contributor

@mgduda mgduda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PGI compiler no longer fails on the PIO version checks in the top-level Makefile, and compilation still works with the Intel and GNU compilers.

@mgduda
Copy link
Contributor

mgduda commented Apr 17, 2019

@matthewhoffman @mark-petersen The changes in this PR only update the small test programs that are generated by the top-level Makefile, compiled, then deleted. Accordingly, I think it may not be necessary to run actual model simulations to test these changes. Verifying that the build process still works should be sufficient.

Copy link
Contributor

@mark-petersen mark-petersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested MPAS-Ocean compile with gnu on badger, and it all worked.

@mgduda
Copy link
Contributor

mgduda commented Apr 29, 2019

@matthewhoffman Was there any testing of this PR that you'd like to do with the land-ice core specifically?

Copy link
Member

@matthewhoffman matthewhoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved by inspection

@mgduda mgduda merged commit f2f4fbf into MPAS-Dev:develop May 2, 2019
mgduda added a commit that referenced this pull request May 2, 2019
This merge fixes a bug in the PIO compatibility check in the top-level Makefile,
wherein the PGI compilers failed to build any of the test programs due to
the order in which arguments were provided in the compilation command. The simple
fix is to move the source file to the front of the compiler arguments.

* framework/pio_pgi_fix:
  PIO Version Compatibility - PGI Bug Fix
mark-petersen added a commit to E3SM-Project/E3SM that referenced this pull request May 22, 2019
Includes:

1. LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56
2. clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164
3. merge coastal branch: MPAS-Dev/MPAS-Model#54
4. CONUS mesh update: MPAS-Dev/MPAS-Model#201
5. Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229
6. Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156
7. PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212

These changes do not alter E3SM standard cases or testing on next. COMPASS is
the MPAS testing infrastructure. LIGHT and coastal changes are protected by
flags and not used in normal E3SM tests.
jonbob added a commit to E3SM-Project/E3SM that referenced this pull request May 22, 2019
Update mpas source

This PR update the mpas-source git submodule but only includes changes that
will not impact E3SM. These changes include:
* LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56
* clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164
* merge coastal branch: MPAS-Dev/MPAS-Model#54
* CONUS mesh update: MPAS-Dev/MPAS-Model#201
* Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229
* Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156
* PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212

These changes do not alter E3SM standard cases or tested configurations.
COMPASS is the MPAS testing infrastructure. LIGHT and coastal changes
are protected by flags and not used in normal E3SM tests.

[NML]
[BFB]
jonbob added a commit to E3SM-Project/E3SM that referenced this pull request May 23, 2019
Update mpas source

This PR update the mpas-source git submodule but only includes changes that
will not impact E3SM. These changes include:
* LIGHT update (MPAS-Ocean Lagrangian particles): MPAS-Dev/MPAS-Model#56
* clean up ice shelf melt flag: MPAS-Dev/MPAS-Model#164
* merge coastal branch: MPAS-Dev/MPAS-Model#54
* CONUS mesh update: MPAS-Dev/MPAS-Model#201
* Major COMPASS upgrade to python 3: MPAS-Dev/MPAS-Model#229
* Eliminate outdated -DUNDERSCORE flag: MPAS-Dev/MPAS-Model#156
* PIO Version Compatibility Check - PGI Compiler Bug Fix: MPAS-Dev/MPAS-Model#212

These changes do not alter E3SM standard cases or tested configurations.
COMPASS is the MPAS testing infrastructure. LIGHT and coastal changes
are protected by flags and not used in normal E3SM tests.

[NML]
[BFB]
@MiCurry MiCurry deleted the framework/pio_pgi_fix branch July 27, 2020 16:48
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.

4 participants