@@ -22,20 +22,12 @@ def __init__(self, lang, linkage):
2222 self .lang = lang
2323 self .linkage = linkage
2424 self .descr = f'{ lang_names [lang ]} NetCDF { linkage .capitalize ()} '
25- self .valid_systems = ['daint:gpu' , 'daint:mc' ,
26- 'dom:gpu' , 'dom:mc' , 'kesch:cn' , 'tiger:gpu' ,
25+ self .valid_systems = ['daint:gpu' , 'daint:mc' , 'dom:gpu' , 'dom:mc' ,
2726 'arolla:cn' , 'tsa:cn' ]
28- if self .current_system .name in ['daint' , 'dom' , 'tiger' ]:
27+ if self .current_system .name in ['daint' , 'dom' ]:
2928 self .valid_prog_environs = ['PrgEnv-cray' , 'PrgEnv-gnu' ,
3029 'PrgEnv-intel' , 'PrgEnv-pgi' ]
3130 self .modules = ['cray-netcdf' ]
32- elif self .current_system .name == 'kesch' :
33- self .exclusive_access = True
34- if linkage == 'dynamic' :
35- self .valid_prog_environs = ['PrgEnv-pgi-nompi' ]
36-
37- if lang != 'f90' :
38- self .valid_prog_environs += ['PrgEnv-cray-nompi' ]
3931 elif self .current_system .name in ['arolla' , 'tsa' ]:
4032 self .exclusive_access = True
4133 self .valid_prog_environs = ['PrgEnv-gnu-nompi' , 'PrgEnv-pgi-nompi' ]
@@ -52,45 +44,7 @@ def __init__(self, lang, linkage):
5244
5345 @rfm .run_before ('compile' )
5446 def setflags (self ):
55- if self .current_system .name == 'kesch' :
56- if self .current_environ .name == 'PrgEnv-cray-nompi' :
57- self .modules = ['netcdf/4.4.1.1-gmvolf-17.02' ,
58- 'netcdf-c++/4.3.0-gmvolf-17.02' ,
59- 'netcdf-fortran/4.4.4-gmvolf-17.02' ]
60- self .build_system .cppflags = [
61- '-I$EBROOTNETCDF/include' ,
62- '-I$EBROOTNETCDFMINCPLUSPLUS/include' ,
63- '-I$EBROOTNETCDFMINFORTRAN/include'
64- ]
65- self .build_system .ldflags = [
66- '-L$EBROOTNETCDF/lib' ,
67- '-L$EBROOTNETCDFMINCPLUSPLUS/lib' ,
68- '-L$EBROOTNETCDFMINFORTRAN/lib' ,
69- '-L$EBROOTNETCDF/lib64' ,
70- '-L$EBROOTNETCDFMINCPLUSPLUS/lib64' ,
71- '-L$EBROOTNETCDFMINFORTRAN/lib64' ,
72- '-lnetcdf' , '-lnetcdf_c++4' , '-lnetcdff'
73- ]
74- elif self .current_environ .name == 'PrgEnv-pgi-nompi' :
75- self .modules = ['netcdf/4.6.1-pgi-18.5-gcc-5.4.0-2.26' ,
76- 'netcdf-c++/4.3.0-pgi-18.5-gcc-5.4.0-2.26' ,
77- 'netcdf-fortran/4.4.4-pgi-18.5-gcc-5.4.0-2.26' ]
78- self .build_system .ldflags = [
79- '-B' + self .linkage ,
80- '-L$EBROOTNETCDF/lib' ,
81- '-L$EBROOTNETCDFMINCPLUSPLUS/lib' ,
82- '-L$EBROOTNETCDFMINFORTRAN/lib' ,
83- '-L$EBROOTNETCDF/lib64' ,
84- '-L$EBROOTNETCDFMINCPLUSPLUS/lib64' ,
85- '-L$EBROOTNETCDFMINFORTRAN/lib64' ,
86- '-lnetcdf' , '-lnetcdf_c++4' , '-lnetcdff'
87- ]
88- self .build_system .fflags = [
89- '-I$EBROOTNETCDF/include' ,
90- '-I$EBROOTNETCDFMINCPLUSPLUS/include' ,
91- '-I$EBROOTNETCDFMINFORTRAN/include'
92- ]
93- elif self .current_system .name in ['arolla' , 'tsa' ]:
47+ if self .current_system .name in ['arolla' , 'tsa' ]:
9448 self .modules = ['netcdf' , 'netcdf-c++' , 'netcdf-fortran' ]
9549 self .build_system .cppflags = [
9650 '-I$EBROOTNETCDF/include' ,
0 commit comments