Skip to content

Configure GPU execution from simple.in - #519

Merged
krystophny merged 5 commits into
mainfrom
feat/gpu-config-namelist
Aug 13, 2026
Merged

Configure GPU execution from simple.in#519
krystophny merged 5 commits into
mainfrom
feat/gpu-config-namelist

Conversation

@krystophny

@krystophny krystophny commented Aug 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Configure GPU mode, backend, integrator, Landreman controls, scheduling, and profiling through the config namelist in simple.in.
  • Keep gpu_method = 'auto': native CUDA selects tuned DOPRI; OpenACC selects the supported fast Euler path. Explicit methods remain available where supported.\n- Reduce the GPU build interface to -DSIMPLE_ENABLE_OPENACC=ON or -DSIMPLE_ENABLE_CUDA=ON; defaults provide the remaining settings. OpenACC uses managed memory by default and keeps compiler flags target-scoped so libneo flags do not conflict.\n- Shorten the README and GPU documentation to match the configuration.\n\n## Validation\n\n- Clean GNU build of simple.x.\n- CPU test_gpu_orbit_bench, test_gpu_midpoint_bench, and test_gpu_landreman_segments pass.\n- Legacy SIMPLE_GPU_* variables were set during the segmented test and were ignored; the namelist controlled the run.\n- Final acluster Tesla T4 smoke test: job 21383373, commit 289279b, minimal OpenACC configure, and the three GPU tests using the established libneo/Fortnum checkouts.

@krystophny
krystophny merged commit 99bc0e4 into main Aug 13, 2026
6 of 7 checks passed
@krystophny
krystophny deleted the feat/gpu-config-namelist branch August 13, 2026 16:24
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