pub fn max_omp_num_threads() -> FailResult<u32>
{Ok({
    nonempty_var(MAX_OMP_NUM_THREADS)?
        .map(|s| s.parse())
        .fold_ok()?
        .unwrap_or(::num_cpus::get() as u32)
})}
/// Maximum possible setting for OMP_NUM_THREADS for a single process (to use the full
/// computing power of its node).
///
/// Using MPI seems to somehow fool the `num_cpus` crate into seeing fewer cores.
/// This should be manually set to the number of cores on a node.
Maximum possible setting for OMP_NUM_THREADS for a single process (to use the full
computing power of its node).

Using MPI seems to somehow fool the `num_cpus` crate into seeing fewer cores.
This should be manually set to the number of cores on a node.
Maximum possible setting for OMP_NUM_THREADS for a single process ( to use the full computing power of its node ) . Using MPI seems to somehow fool the ` num_cpus ` crate into seeing fewer cores . This should be manually set to the number of cores on a node .
pub fn max_omp_num_threads() -> FailResult<u32>
{Ok({
    nonempty_var(MAX_OMP_NUM_THREADS)?
        .map(|s| s.parse())
        .fold_ok()?
        .unwrap_or(::num_cpus::get() as u32)
})}
pub fn max_omp_num_threads ( ) -> FailResult < u32 > { Ok ( { nonempty_var ( MAX_OMP_NUM_THREADS ) ? . map ( | s | s . parse ( ) ) . fold_ok ( ) ? . unwrap_or ( :: num_cpus :: get ( ) as u32 ) } ) }
Maximum possible setting for OMP_NUM_THREADS for a single process (to use the full
computing power of its node).
Maximum possible setting for OMP_NUM_THREADS for a single process ( to use the full computing power of its node ) .