Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Adapt NetCDF test to Kesch #482

Merged
merged 5 commits into from
Oct 9, 2018
Merged

Conversation

ajocksch
Copy link
Contributor

for some reason the PrgEnv-pgi includes the netcdf library

pgc++, pgf90, ... do not need any -L -l arguments for compiling and linking with netcdf

Prg-Env-cray behaves differently

@ajocksch ajocksch self-assigned this Sep 27, 2018
@vkarak vkarak changed the title Checks/netcdf [test] Adapt NetCDF test to Kesch Sep 28, 2018
@vkarak vkarak added this to the ReFrame sprint 2018w39 milestone Sep 28, 2018
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

Apart from my comments, it seems that you have also broken the test on Dom. Check the Jenkins output.

self.valid_prog_environs = ['PrgEnv-pgi-nompi']
else:
self.valid_prog_environs = ['PrgEnv-cray-nompi',
'PrgEnv-pgi-nompi']
Copy link
Contributor

Choose a reason for hiding this comment

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

Rewrite this as

self.valid_prog_environs = ['PrgEnv-pgi-nompi']
if lang != 'f90':
    self.valid_prog_environs += ['PrgEnv-cray-nompi']

if self.current_system.name in ['daint', 'dom']:
self.modules = ['cray-netcdf']
elif self.current_system.name in ['kesch']:
pass
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the elif part here.

'-lnetcdf',
'-lnetcdf_c++4',
'-lnetcdff'
]
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a clear indication that the PrgEnv-cray-nompi and also the netcdf modules is not properly setup. Have you tried setting the corresponding variables inside the definition of the programming environment in ReFrame.

@vkarak
Copy link
Contributor

vkarak commented Sep 28, 2018

@ajocksch How this test relates to #351?

@vkarak
Copy link
Contributor

vkarak commented Oct 8, 2018

@jenkins-cscs retry dom

@vkarak vkarak assigned vkarak and ajocksch and unassigned ajocksch Oct 9, 2018
@codecov-io
Copy link

codecov-io commented Oct 9, 2018

Codecov Report

Merging #482 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #482      +/-   ##
==========================================
+ Coverage   91.39%   91.42%   +0.02%     
==========================================
  Files          70       70              
  Lines        8788     8788              
==========================================
+ Hits         8032     8034       +2     
+ Misses        756      754       -2
Impacted Files Coverage Δ
reframe/core/config.py 84.21% <0%> (+1.75%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc0df04...df4ec9c. Read the comment docs.

@vkarak vkarak merged commit dad3395 into reframe-hpc:master Oct 9, 2018
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.

3 participants