Skip to content

Conversation

@jameskermode
Copy link
Member

Summary

  • Update gapversion script to use .F90 file extensions instead of .f95
  • Add -lgomp link argument to meson.build for OpenMP support

Background

These changes fix build issues when building GAP with the meson build system. The gapversion script was looking for .f95 files which have been renamed to .F90, and the OpenMP library was not being linked correctly.

Test plan

  • Verified GAP builds successfully with meson
  • Verified gapversion script correctly identifies version
  • Verified OpenMP functionality works correctly

🤖 Generated with Claude Code

albapa and others added 7 commits April 9, 2025 17:29
- Update gapversion script to use .F90 file extensions instead of .f95
- Add -lgomp link argument to meson.build for OpenMP support

These changes fix build issues when building GAP with the meson build system.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Fixed format descriptor in gap_fit_module.F90 line 1603 to be compatible
with gfortran 15.1.0. Changed from:
  write(gp_label,'("GAP_"7(i0,"_")i0)')
to:
  write(gp_label,'("GAP_",7(i0,"_"),i0)')

This adds the required comma separators between format descriptors, which
gfortran 15.1.0 enforces more strictly. The generated unique IDs remain
identical in format.

Error fixed:
  Fortran runtime error: Missing comma between descriptors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants