Skip to content

chore(bld): fixes and cleanup#334

Merged
HaoZeke merged 6 commits intoTheochemUI:mainfrom
HaoZeke:fix/build-and-ci-cleanup
Apr 5, 2026
Merged

chore(bld): fixes and cleanup#334
HaoZeke merged 6 commits intoTheochemUI:mainfrom
HaoZeke:fix/build-and-ci-cleanup

Conversation

@HaoZeke
Copy link
Copy Markdown
Collaborator

@HaoZeke HaoZeke commented Apr 5, 2026

Split from #333

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 5, 2026

eOn Documentation Preview

Download: documentation.zip

Unzip and open index.html to view.

HaoZeke added 4 commits April 5, 2026 17:09
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.
@HaoZeke HaoZeke force-pushed the fix/build-and-ci-cleanup branch from d1d9c71 to 030cca5 Compare April 5, 2026 15:12
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 5, 2026

Benchmark Results

Warning

2 benchmark(s) regressed

Count
🔴 Regressed 2
⚪ Unchanged 6

Regressions

Benchmark Before After Ratio
🔴 bench_eonclient.TimePointMorsePt.time_point_evaluation 7.42±0ms 8.38±0ms 1.13x
🔴 bench_eonclient.TimeSaddleSearchMorseDimer.time_saddle_search_dimer 43.5±0ms 53.2±0ms 1.22x
6 unchanged benchmark(s)
Benchmark Before After Ratio
bench_eonclient.TimeMinimizationLJCluster.peakmem_minimization_lbfgs 25.1M 27.2M ~1.08x
bench_eonclient.TimeMinimizationLJCluster.time_minimization_lbfgs 22.3±0ms 24.0±0ms ~1.08x
bench_eonclient.TimeNEBMorsePt.peakmem_neb 25.1M 27.2M ~1.08x
bench_eonclient.TimeNEBMorsePt.time_neb 399±0ms 397±0ms ~1x
bench_eonclient.TimePointMorsePt.peakmem_point_evaluation 25.1M 27.2M ~1.08x
bench_eonclient.TimeSaddleSearchMorseDimer.peakmem_saddle_search_dimer 25.1M 27.2M ~1.08x
Details
  • Base: 9b8784a8
  • Head: 25b418d3
  • Runner: ubuntu-22.04
Raw asv-spyglass output
All benchmarks:

| Change   | Before   | After    |   Ratio | Benchmark (Parameter)                                                  |
|----------|----------|----------|---------|------------------------------------------------------------------------|
|          | 25.1M    | 27.2M    |    1.08 | bench_eonclient.TimeMinimizationLJCluster.peakmem_minimization_lbfgs   |
|          | 22.3±0ms | 24.0±0ms |    1.08 | bench_eonclient.TimeMinimizationLJCluster.time_minimization_lbfgs      |
|          | 25.1M    | 27.2M    |    1.08 | bench_eonclient.TimeNEBMorsePt.peakmem_neb                             |
|          | 399±0ms  | 397±0ms  |    1    | bench_eonclient.TimeNEBMorsePt.time_neb                                |
|          | 25.1M    | 27.2M    |    1.08 | bench_eonclient.TimePointMorsePt.peakmem_point_evaluation              |
| +        | 7.42±0ms | 8.38±0ms |    1.13 | bench_eonclient.TimePointMorsePt.time_point_evaluation                 |
|          | 25.1M    | 27.2M    |    1.08 | bench_eonclient.TimeSaddleSearchMorseDimer.peakmem_saddle_search_dimer |
| +        | 43.5±0ms | 53.2±0ms |    1.22 | bench_eonclient.TimeSaddleSearchMorseDimer.time_saddle_search_dimer    |

HaoZeke added 2 commits April 5, 2026 17:32
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.
@HaoZeke HaoZeke force-pushed the fix/build-and-ci-cleanup branch from 73181fa to 25b418d Compare April 5, 2026 15:39
@HaoZeke HaoZeke merged commit 582586a into TheochemUI:main Apr 5, 2026
12 checks passed
@HaoZeke HaoZeke deleted the fix/build-and-ci-cleanup branch April 5, 2026 15:41
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.

1 participant