Skip to content

Multithreaded tests #762

@juhanikataja

Description

@juhanikataja

Elmer is becoming increasingly multithreaded with OpenMP but none of the tests are executed with more than 1 threads (OMP_NUM_THREADS is not set).

An easy fix would be 5319f82 .

Are there drawbacks for setting OMP_NUM_THREADS=4 everywhere? Possibly (MPI) parallel tests might not like massive oversubscription of cores?

Also ctest is run with -j$(nproc) option for parallel execution of tests which causes oversubscription again but that might not be too big of an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions