Announcement

Collapse
No announcement yet.

OpenMP behaviour and environment variables

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • OpenMP behaviour and environment variables

    For GCC-built apps, adding the OMP_PROC_BIND=true environment variable to PTS gives much better result stability; it's not needed with the Intel CC, which pins OpenMP threads by default. On systems with many cores, OMP_PROC_BIND is also needed to get reasonable application behaviour.

    Perhaps environment variables starting OMP_ could be passed through?

    Anyway, this doesn't pass it through to the test. Any tips?

    --- a/pts-core/objects/client/pts_client.php
    +++ b/pts-core/objects/client/pts_client.php
    @@ -399,6 +399,7 @@ class pts_client
    'LD_LIBRARY_PATH' => null,
    'CC' => null,
    'CXX' => null,
    + 'OMP_PROC_BIND' => null,
    'LIBGL_DRIVERS_PATH' => null
    )
Working...
X