ocaml / ocaml/ocaml.org

Calling Fortran Libraries, some fixes needed

Open
#458 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation stalled
Dominant language
Markdown
Stars
192
Forks
389
Avg merge
23h 8m
Merged PRs (30d)
20

Description

Hi,

the section Calling Fortran Libraries in the documentation could use some small fixes. The first one is that the file gtd6.f is not easily found anymore, Maybe it is better to include a small fortran function in the text?
Another part is describing the choice of CAML_param5 macro better, the text indicates it always have to be used.
The part with fortran types integer and real is not clear, the fortran real is single precision. I don't remember now, but maybe f2.h needs to be included.
I can help out with these points if needed, let know. It was quite some time I played with calling fortran codes and i'm a bit rusty.

Best regards,
Jörgen

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the documentation section titled “Calling Fortran Libraries” and review its references to gtd6.f, CAML_param5, Fortran integer and real types, and f2.h. Done means clarifying how to find or demonstrate gtd6.f, when CAML_param5 is needed, and the type and header guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran, ocaml
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.