Skip to content

Add SkalaXC Fortran API, documentation and tutorial - #153

Open
Sebastian Ehlert (awvwgk) wants to merge 3 commits into
skalaxc-cfrom
skalaxc-fortran
Open

Sebastian Ehlert (awvwgk) wants to merge 3 commits into
skalaxc-cfrom
skalaxc-fortran

Conversation

@awvwgk

Copy link
Copy Markdown
Member

Stack: 3/4 — Fortran API

Depends on #152 (C), above #151 (C++), and targets skalaxc-c.

  • Add the iso_c_binding module over the public C ABI and installed Fortran CMake component.
  • Preserve move-only ownership for all eight handle types, including rank-1/rank-2 arrays, with explicit move_from and exact-once finalizers.
  • Add numerical, assignment-rejection, lifecycle, installed-consumer and example tests; use existing locked Fortran toolchains in CI.
  • Add a separate Fortran API guide/tutorial and document compiler/module compatibility, errors, array layout and MPI lifetime.
  • Keep the existing GauXC, LibTorch and FTorch guides/examples unchanged.

Validation

In the skala environment: all 32 focused Fortran/C/C++ API and ABI tests passed, all three installed language consumers passed, the Fortran TPSS fixture example ran successfully, and Sphinx passed with warnings as errors.

Merge third, retargeting to main after the C layer lands. Python follows in its own PR.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Avoid the system f95 compiler when HDF5 modules come from the Pixi environment.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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