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

Solve reappearing compilation issue on PPC machines with NVCC due to FMT bug #2759

Merged
merged 9 commits into from
Oct 26, 2023

Conversation

sframba
Copy link
Contributor

@sframba sframba commented Oct 12, 2023

Issue 2701 has appeared again, this time due to changes made in PR 2756.

The problem is still due to an unresolved bug in the FMT library. This time, it's the array1d< int > class that is not recognized as formattable by FMT. The same workaround applies.

Since now the FMT issue involves multiple objects, the original workaround is moved to the Format.hpp file, and the specialization to DataContext is removed. It is still only enabled by a specific flag in the host config file, which is disabled by default.

Hopefully, it will be possible to remove this workaround with some future update of the FMT library.

The fix is a sequel to PR #2702.

@sframba sframba added the type: bug Something isn't working label Oct 12, 2023
@sframba sframba self-assigned this Oct 12, 2023
@sframba sframba marked this pull request as ready for review October 16, 2023 14:54
@sframba sframba requested review from paveltomin and TotoGaz October 16, 2023 15:03
@sframba sframba added flag: ready for review ci: run CUDA builds Allows to triggers (costly) CUDA jobs and removed flag: ready for review labels Oct 16, 2023
@tbeltzun tbeltzun changed the title Solve reappearing compilation issue on PPC machines with NVCC ue to FMT bug Solve reappearing compilation issue on PPC machines with NVCC due to FMT bug Oct 18, 2023
@rrsettgast rrsettgast merged commit bb1469c into develop Oct 26, 2023
@rrsettgast rrsettgast deleted the bugfix/compilIssuePpcNvcc branch October 26, 2023 04:13
pradhyumna85 pushed a commit to pradhyumna85/GEOS that referenced this pull request Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci: run CUDA builds Allows to triggers (costly) CUDA jobs type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants