nomp-org / nomp-org/libnomp

Change `nomp_init()` API

Open
#150 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
C
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently, nomp_init() has the following signature:

int nomp_init(int argc, const char **argv);

This should be change similar to MPI_Init() as follows:

int nomp_init(int *argc, const char ***argv);

This way we can filter out and process --nomp-<arg> arguments and
their values and return the modified argc and argv variables without
--nomp-<arg> back to the user.

Contributor guide

No contributing guide indexed for this repository

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 by locating the nomp_init() declaration, implementation, and its callers, then compare the requested behavior with MPI_Init(). Update the API so --nomp- options and their values are removed from the returned argc and argv; done means callers receive the modified arguments through the new pointer parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
api, hpc
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.