Skip to content

Drop obsolete seed patch from Fortran build - #295

Merged
neuromechanist merged 2 commits into
devfrom
fix/build-amica-seed-patch
Aug 23, 2026
Merged

neuromechanist merged 2 commits into
devfrom
fix/build-amica-seed-patch

Conversation

@neuromechanist

Copy link
Copy Markdown
Member

The weekly macOS slow job's first calibration run failed (auto-filed #294): benchmarks/fortran/build_amica.sh still applied a pre-#235 sed patch replacing the old ifort-only size-2 random_seed(PUT=...) line, whose anchor check now fails because #235 rewrote the seeding to the portable form (random_seed(size=nseed) + allocated seedvec, sccn/amica PR #54). The patch is not just mis-anchored but harmful: if it matched, it would replace #235's deterministic seed-param behavior with a clock seed.

Fix: remove the sed patch entirely and replace the guard with an anchor check for the post-#235 portable seeding line, so future source drift still fails loudly at build time rather than at runtime. Verified locally: the build compiles clean through mpif90 on Apple Silicon with the fix.

Closes #294.

@neuromechanist
neuromechanist merged commit f1a4b8e into dev Aug 23, 2026
8 checks passed
@neuromechanist
neuromechanist deleted the fix/build-amica-seed-patch branch August 23, 2026 22:55
This was referenced Aug 23, 2026
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.

Weekly macOS slow run failed

1 participant