Skip to content

Commit

Permalink
Merge pull request #766 from jgphpc/MAINT-70
Browse files Browse the repository at this point in the history
[test] Update IPM check for PE/19.03
  • Loading branch information
vkarak committed Apr 17, 2019
2 parents f428382 + acce905 commit 4e8a1dc
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions cscs-checks/tools/profiling_and_debugging/ipm_mpi_omp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


@rfm.required_version('>=2.14')
@rfm.parameterized_test(['C'], ['C++'], ['F90'])
@rfm.parameterized_test(['C++'], ['F90'])
class Ipm(rfm.RegressionTest):
def __init__(self, lang):
super().__init__()
Expand All @@ -19,11 +19,13 @@ def __init__(self, lang):
'PrgEnv-intel': ['-O2', '-g', '-openmp'],
'PrgEnv-pgi': ['-O2', '-g', '-mp']
}
ipm_ver = '2.0.6'
tc_ver = '19.03'
self.ipm_modules = {
'PrgEnv-gnu': ['IPM/2.0.6-CrayGNU-18.08'],
'PrgEnv-cray': ['IPM/2.0.6-CrayCCE-18.08'],
'PrgEnv-intel': ['IPM/2.0.6-CrayIntel-18.08'],
'PrgEnv-pgi': ['IPM/2.0.6-CrayPGI-18.08']
'PrgEnv-gnu': ['IPM/%s-CrayGNU-%s' % (ipm_ver, tc_ver)],
'PrgEnv-cray': ['IPM/%s-CrayCCE-%s' % (ipm_ver, tc_ver)],
'PrgEnv-intel': ['IPM/%s-CrayIntel-%s' % (ipm_ver, tc_ver)],
'PrgEnv-pgi': ['IPM/%s-CrayPGI-%s' % (ipm_ver, tc_ver)]
}
self.sourcesdir = os.path.join('src', lang)
self.executable = './jacobi'
Expand All @@ -42,6 +44,8 @@ def __init__(self, lang):
'CRAYPE_LINK_TYPE': 'dynamic',
'PKG_CONFIG_PATH':
'$PAT_BUILD_PAPI_BASEDIR/lib64/pkgconfig:$PKG_CONFIG_PATH',
'LD_LIBRARY_PATH': '$PAT_BUILD_PAPI_BASEDIR/lib64:'
'$LD_LIBRARY_PATH',
# The list of available hardware performance counters depends
# on the cpu type:
# srun -n1 -t1 -Cgpu papi_avail
Expand All @@ -65,8 +69,7 @@ def setup(self, partition, environ, **job_opts):
self.build_system.cxxflags = prgenv_flags
self.build_system.fflags = prgenv_flags
self.build_system.ldflags = ['-lm', '`pkg-config --libs papi`',
'${IPM}']

'`pkg-config --libs pfm`', '${IPM}']
self.htmlrpt = 'index.html'
self.sanity_patterns = sn.all([
# check the job:
Expand Down

0 comments on commit 4e8a1dc

Please sign in to comment.