Skip to content

Commit

Permalink
skip QS/H2O-512 benchmark if too many nodes requested
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Moors committed Aug 2, 2024
1 parent c1cd6d5 commit 03e591a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eessi/testsuite/tests/apps/cp2k/cp2k.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ def run_after_setup(self):
self.skip_if(self.bench_name == 'QS/H2O-512' and self.num_tasks < min_cores,
f'Skipping benchmark {self.bench_name}: less than {min_cores} cores requested ({self.num_tasks})')

# Skip QS/H2O-512 benchmark if too many nodes requested
max_nodes = 8
self.skip_if(self.bench_name == 'QS/H2O-512' and self.num_nodes > max_nodes,
f'Skipping benchmark {self.bench_name}: more than {max_nodes} nodes requested ({self.num_nodes})')

# Set OMP_NUM_THREADS environment variable
hooks.set_omp_num_threads(self)

Expand Down

0 comments on commit 03e591a

Please sign in to comment.