Skip to content

Provide support for running without OpenMP #181

@mike-hobson

Description

@mike-hobson

Contact Details

@mike-hobson

Are there any linked Issues or Pull Requests?

ticket:4695

Brief description

It should be possible to build and run the LFRic codes without using OpenMP. However, at the moment, it is not.

Further details of the issue.

There are currently calls to the OpenMP library (e.g. omp_get_thread_num() and omp_get_max_threads()) inside PSyKAl-lite code that are not protected by OpenMP sentinels - so when OpenMP is turned off, it results in undefined references.

Also, it would be good to includes a test in the test suite that checks that the no OpenMP build/run still works (but I guess this would have to be in the Apps test suite - so not part of this Core ticket).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions