Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Aug 15, 2018

  • Adapt the stream microbenchmark regression test to
    use build systems.

  • Use the new regression test syntax.

Closes #391

* Adapt the stream microbenchmark regression test to
  use build systems.

* Use the new regression test syntax.
@teojgo teojgo self-assigned this Aug 15, 2018
@teojgo teojgo requested a review from vkarak August 15, 2018 17:59
@teojgo teojgo changed the title Adapt stream microbenchmark test to build systems [test] Adapt stream microbenchmark test to build systems Aug 15, 2018
self.current_environ.variables['OMP_NUM_THREADS'] = \
str(self.num_cpus_per_task)
self.current_environ.variables['OMP_NUM_THREADS'] = str(
self.num_cpus_per_task)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like setting the variables attribute of the current environment directly. Besides, I don't think that they will be loaded. You should set self.variables instead and call super().setup(...) later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same applies for the OMP_PROC_BIND.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything fits in a single line here.

self.current_environ.variables['OMP_NUM_THREADS'] = \
str(self.num_cpus_per_task)
self.current_environ.variables['OMP_NUM_THREADS'] = str(
self.num_cpus_per_task)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything fits in a single line here.

@vkarak
Copy link
Contributor

vkarak commented Sep 13, 2018

@teojgo The failure on Kesch is expected. I will merge this one.

@vkarak
Copy link
Contributor

vkarak commented Sep 13, 2018

@jenkins-cscs retry daint dom

@vkarak vkarak added this to the ReFrame sprint 2018w35 milestone Sep 13, 2018
@vkarak vkarak merged commit 71d0461 into reframe-hpc:master Sep 13, 2018
@teojgo teojgo deleted the regression_test/stream_build_systems branch September 18, 2018 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants