GEOS-ESM / GEOS-ESM/GOCART

Port CA2G, SU2G, NI2G off implicit MAPL2 OpenMP aliases to explicit use MAPL

Open Beginner friendly
#413 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Fortran
Stars
29
Forks
22
Avg merge
1d 16h
Merged PRs (30d)
4

Description

Problem

CA2G, SU2G, and NI2G all do `use MAPL` without `only`, and use `MAPL_get_num_threads` and `MAPL_get_current_thread` which are currently aliases re-exported by MAPL2. This is implicit and fragile.

Solution

Replace with explicit `use MAPL, only: MAPL_get_num_threads => get_num_threads, MAPL_get_current_thread => get_current_thread` as was done for DU2G in #410.

Related

  • GOCART #410 (DU2G already ported)
  • MAPL #4730

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 CA2G, SU2G, and NI2G source entries and compare the completed DU2G port described in GOCART #410. Replace their implicit MAPL2 aliases with the explicit MAPL imports specified here, and confirm all three components use the named mappings without relying on re-exports.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.