Macaulay2 / Macaulay2/M2

Set number of threads in libraries

Open
#1,892 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Engine threads
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

Should M2 call [`flint_set_num_threads`](http://flintlib.org/doc/threading.html) to use threading there? What about `openblas_set_num_threads` (see [this](https://fossies.org/linux/OpenBLAS/USAGE.md#how-can-i-use-openblas-in-multi-threaded-applications)?

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

No file or test is named. Start by reading the linked FLINT and OpenBLAS threading documentation, then locate where M2 configures or calls these libraries; done means deciding and implementing a clear threading strategy for both setters.

Written by the indexing model from the issue text.

Assessment

Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.