-
Notifications
You must be signed in to change notification settings - Fork 103
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
Conversation
There was a problem hiding this 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'] |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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' | ||
] |
There was a problem hiding this comment.
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.
@jenkins-cscs retry dom |
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
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