chore(bld): fixes and cleanup#334
Merged
HaoZeke merged 6 commits intoTheochemUI:mainfrom Apr 5, 2026
Merged
Conversation
eOn Documentation PreviewDownload: documentation.zip Unzip and open |
The conda-forge GCC sysroot defines C math functions as macros in <math.h>, which conflict with C++ <cmath> declarations. Replace <math.h> includes with <cmath> in EMT/Asap and LJCluster sources.
Use add_project_arguments with language: 'cpp' so -Wno-* flags only apply to C++ compilation units. Keeps get_supported_arguments for MSVC compatibility (silently drops unsupported flags). Previously these went into _args which was applied to all targets including Fortran.
The test passed bare 'eonclient' string to the shell script, which failed after cd to the test workdir (relative path broke). Pass the meson executable target instead, and resolve with realpath in the script before cd. Replace fragile sleep(1) with socket file polling (up to 10s) and clean up stale socket files before starting.
Remove sccache from pixi dependencies, CI workflow env vars, Configure sccache steps, and native file wrappers. Direct compilation is simpler and avoids failures when GH Actions cache is unavailable.
d1d9c71 to
030cca5
Compare
Benchmark ResultsWarning 2 benchmark(s) regressed
Regressions
6 unchanged benchmark(s)
Details
Raw asv-spyglass output |
NWChem's Fortran i-PI driver truncates UNIX socket names to ~30 characters. Document this in the SocketNWChem potential section so users keep unix_socket_path short (under ~20 chars).
NWChem's Fortran i-PI driver silently truncates UNIX socket paths to ~30 characters, causing a mysterious connection failure. Validate the full path length (/tmp/ipi_<basename>) at initialization and throw a clear error with the max allowed length if it would be truncated.
73181fa to
25b418d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split from #333