Hard-coded values in NNLS solver

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Start in lib/linalg/NNLS.cpp at lines 66 and 163, then trace how n_proc_max_for_partial_matrix_ and nb affect matrix distribution. Determine why 15 and 3 were chosen and whether users should configure them; the issue is done only when the intended behavior and any required configurability or documentation are agreed and covered appropriately.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Line 66 and 163 of lib/linalg/NNLS.cpp use hard-coded values of n_proc_max_for_partial_matrix_ = 15 and nb = 3, which seem to be used mainly for distributing the matrix.

  • There is no sufficient description as to why these values are chosen.
  • For better scalability of this solver, shouldn't these values be determined by the users?
Dominant language
C++
Stars
236
Forks
47
PR merge metrics
No merged PRs in 30d

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.

More from llnl/libROM

All issues in llnl/libROM

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.