File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 66import os
77
88import reframe as rfm
9+ import reframe .utility .os_ext as os_ext
910import reframe .utility .sanity as sn
1011
1112
@@ -113,6 +114,14 @@ def setflags(self):
113114 def cray_linker_workaround (self ):
114115 # NOTE: Workaround for using CCE < 9.1 in CLE7.UP01.PS03 and above
115116 # See Patch Set README.txt for more details.
116- if (self .current_system .name == 'dom' and
117- self .current_environ .name == 'PrgEnv-cray' ):
117+ cle = os_ext .cray_cle_info ()
118+ if not cle :
119+ return
120+
121+ if (cle .release == '7.0.UP01' and cle .patchset >= '03' ):
118122 self .variables ['LINKER_X86_64' ] = '/usr/bin/ld'
123+
124+ @rfm .run_before ('run' )
125+ def cdt2006_cpp_workaround (self ):
126+ if (os_ext .cray_cdt_version () == '20.06' and self .lang == 'cpp' ):
127+ self .modules += ['cray-hdf5/1.10.6.1' ]
You can’t perform that action at this time.
0 commit comments