Skip to content

Conversation

@ajocksch
Copy link
Contributor

@ajocksch ajocksch commented Feb 28, 2018

  • Also enables PrgEnv-pgi on Kesch.

Fixes #86.

@vkarak
Copy link
Contributor

vkarak commented Feb 28, 2018

@ajocksch I am changing the title of this PR, because the major contribution are the GPU direct tests, which is cool!

@vkarak vkarak changed the title prgenv_pgi on kesch Add regression tests for GPU direct. Feb 28, 2018
Copy link
Contributor

@victorusu victorusu left a comment

Choose a reason for hiding this comment

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

lgtm

def __init__(self, **kwargs):
super().__init__('openacc_fortran_check',
def __init__(self, num_tasks, **kwargs):
if (num_tasks == 1):
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove parentheses here.

self._pgi_flags = '-acc -ta=tesla:cc35'

self.num_tasks = num_tasks
if (self.num_tasks == 1):
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove parentheses here.

import os

from reframe.core.pipeline import RegressionTest
import reframe.utility.sanity as sn
Copy link
Contributor

Choose a reason for hiding this comment

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

Please swap these two statements.

import os

from reframe.core.pipeline import RegressionTest
import reframe.utility.sanity as sn
Copy link
Contributor

Choose a reason for hiding this comment

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

Please swap these two statements.

import reframe.utility.sanity as sn
from reframe.core.pipeline import RegressionTest

import reframe.utility.sanity as sn
Copy link
Contributor

Choose a reason for hiding this comment

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

The imports must be as follows:

import os 

import reframe.utility.sanity as sn
from reframe.core.pipeline import RegressionTest

from reframe.core.pipeline import RegressionTest
import reframe.utility.sanity as sn

class GpuDirectCudaCheck(RegressionTest):
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this test should go under cuda/.

@vkarak
Copy link
Contributor

vkarak commented Mar 5, 2018

@ajocksch Do you think you can manage this for this sprint?

@vkarak
Copy link
Contributor

vkarak commented Mar 6, 2018

@ajocksch The gpu_direct_cuda_check fails on Kesch. Is this expected?

@vkarak
Copy link
Contributor

vkarak commented Mar 6, 2018

@jenkins-cscs retry dom

@vkarak vkarak merged commit 64fd9e2 into master Mar 6, 2018
@vkarak vkarak deleted the frontend/prgenv_pgi_kesch branch March 6, 2018 15:02
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.

4 participants