SpECTRE  v2026.06.30
Loading...
Searching...
No Matches
importers::OptionTags::NumThreads Struct Reference

Number of threads to use to accelerate the import with OpenMP, or 'Auto' to use all available threads. More...

#include <Tags.hpp>

Public Types

using type = Options::Auto<size_t>

Static Public Attributes

static constexpr Options::String help

Detailed Description

Number of threads to use to accelerate the import with OpenMP, or 'Auto' to use all available threads.

Member Data Documentation

◆ help

Options::String importers::OptionTags::NumThreads::help
staticconstexpr
Initial value:
=
"Number of threads to use to read and interpolate the volume data with "
"OpenMP, or 'Auto' to use all available threads. Keep this at 1 (serial) "
"unless you know the node is otherwise idle during the import (e.g. when "
"loading initial data), because the importer shares the node with the "
"Charm++ worker threads and additional threads can oversubscribe them. "
"Has no effect if the code was built without OpenMP support."

The documentation for this struct was generated from the following file:
  • src/IO/Importers/Tags.hpp