Skip to content

Commit 045127d

Browse files
jameskermodeclaude
andcommitted
Fix meson build configuration for GAP
- 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>
1 parent e91523a commit 045127d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

gapversion

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# of file (or the file GAP_VERSION if it exists). The gapversion
55
# is the UNIX timestap of the most recently changed file.
66

7-
GAP_FILES="descriptors.f95 descriptors_wrapper.f95 \
8-
gp_predict.f95 \
9-
clustering.f95 gp_fit.f95 \
10-
gap_fit_module.f95 gap_fit.f95"
7+
GAP_FILES="descriptors.F90 descriptors_wrapper.F90 \
8+
gp_predict.F90 \
9+
clustering.F90 gp_fit.F90 \
10+
gap_fit_module.F90 gap_fit.F90"
1111

1212
GAP_ROOT=$(dirname "$0")
1313

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ GAP = library('GAP',
2020
mpi_dep,
2121
],
2222
link_with : [libAtoms,fox],
23+
link_args: ['-lgomp'],
2324
)

0 commit comments

Comments
 (0)