Support setting the OMP_NUM_THREADS environment variable. #1320
Labels
alert: NEED ACCOUNT KEY
Need to assign an account key to this issue
METplus: Configuration
priority: high
High Priority
requestor: UK Met Office
United Kingdom Met Office
required: FOR DEVELOPMENT RELEASE
Required to be completed in the development release for the assigned project
type: new feature
Make it do something new
Milestone
Describe the New Feature
MET issue dtcenter/MET#1926 and corresponding PR dtcenter/MET#1977 adds an initial level of OpenMP support to MET for the met-10.1.0_beta5 development release. The initial implementation applies only to the computation of the fractional coverage fields computed by Ensemble-Stat and Gen-Ens-Prod. However, this support will be expanded in future versions.
The OMP_NUM_THREADS environment variable defines the number of threads to be used by OpenMP. If left unset, a single thread is used by default. Recommend adding a new METplus configuration option to define the number of threads the used. The functionality for this is very simple. Just take the setting from the [config] section and use it set the OMP_NUM_THREADS environment variable prior to running the MET tools.
One question is what name to use for the [config] section entry.
Acceptance Testing
List input data types and sources.
Describe tests required for new functionality.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the new feature down into sub-issues.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
New Feature Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: