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

Update config with nvhpc compile flags #624

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

byrnHDF
Copy link
Collaborator

@byrnHDF byrnHDF commented Feb 26, 2024

No description provided.

@byrnHDF byrnHDF added Component - Build CMake, Autotools Component - C Library Core C library issues Type - Improvement Improvements that don't add a new feature or functionality Priority - 0. Blocker ⛔ This MUST be merged for the release to happen labels Feb 26, 2024
@byrnHDF byrnHDF self-assigned this Feb 26, 2024
# asserts and other library debug code. Compiling with -O1 also does not appear
# to have these issues, so set maximum optimization level to -O1 for now until
# it can be determined whether these issues are compiler-specific or issues
# in the library.
Copy link
Member

Choose a reason for hiding this comment

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

You shouldn't need this in HDF4. That bug is probably HDF5-specific.

DEBUG_CFLAGS="-g -Mbounds"
DEBUG_CPPFLAGS=
#PROD_CFLAGS="-fast"
PROD_CFLAGS="" # -fast implies -O2 and -O2+ currently has test failures.
Copy link
Member

Choose a reason for hiding this comment

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

Probably don't need to sweat higher optimization in the Autotools due to the HDF5 bug, either

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just keeping it consistent with the othe files

@lrknox lrknox merged commit 90c8a38 into HDFGroup:master Feb 26, 2024
45 checks passed
@byrnHDF byrnHDF deleted the master-nvhpc-flags branch February 27, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build CMake, Autotools Component - C Library Core C library issues Priority - 0. Blocker ⛔ This MUST be merged for the release to happen Type - Improvement Improvements that don't add a new feature or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants