-
Notifications
You must be signed in to change notification settings - Fork 16
add BLAS test #268
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
add BLAS test #268
Changes from 39 commits
c92b8b8
a0c85d6
7caae27
328741c
df66259
3ea8724
5a12683
c7dcd98
869a747
d2baddf
5ffa89c
489ce3f
d172ee0
581c552
d7d9c0b
92585e1
cb44619
89a44b7
8995cb2
c34f1d9
97e096c
47a8540
57c46f8
c6288bf
d4bc0b5
d14dbfc
cc51207
a803d02
92c9e09
9089a16
3bbd80e
4c92d69
d07ca75
a5b4e97
c1df749
cf39ca1
e603086
56aeed7
feea17e
bb06255
8a948e4
8c234f2
4618d49
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,17 +38,22 @@ class EESSI_Mixin(RegressionMixin): | |
| - Init phase: time_limit, measure_memory_usage, bench_name_ci | ||
| """ | ||
|
|
||
| # Set defaults for these class variables, can be overwritten by child class if desired | ||
| # Defaults for ReFrame variables that can be overwritten on the cmd line | ||
| measure_memory_usage = variable(bool, value=False) | ||
| exact_memory = variable(bool, value=False) | ||
| user_executable_opts = variable(str, value='') | ||
| thread_binding = variable(str, value='None') # takes priority over compact_thread_binding | ||
|
|
||
| # Set defaults for these class variables, can be overwritten by child class if desired | ||
| scale = parameter(SCALES.keys()) | ||
| bench_name = None | ||
| bench_name_ci = None | ||
| is_ci_test = False | ||
| num_tasks_per_compute_unit = 1 | ||
| always_request_gpus = None | ||
| require_buildenv_module = False | ||
| require_internet = False | ||
| compact_thread_binding = False | ||
|
|
||
| # Create ReFrame variables for logging runtime environment information | ||
| cvmfs_repo_name = variable(str, value='None') | ||
|
|
@@ -126,10 +131,17 @@ def EESSI_mixin_run_after_init(self): | |
| # Filter on which scales are supported by the partitions defined in the ReFrame configuration | ||
| hooks.filter_supported_scales(self) | ||
|
|
||
| hooks.filter_valid_systems_by_device_type(self, required_device_type=self.device_type) | ||
|
|
||
| hooks.set_modules(self) | ||
|
|
||
| if self.require_buildenv_module: | ||
| hooks.add_buildenv_module(self) | ||
|
|
||
| thread_binding = self.thread_binding.lower() | ||
| if thread_binding == 'true' or (thread_binding == 'none' and self.compact_thread_binding): | ||
|
||
| hooks.set_compact_thread_binding(self) | ||
|
|
||
| hooks.filter_valid_systems_by_device_type(self, required_device_type=self.device_type) | ||
|
|
||
| # Set scales as tags | ||
| hooks.set_tag_scale(self) | ||
|
|
||
|
|
@@ -210,10 +222,11 @@ def EESSI_mixin_log_runtime_info(self): | |
| path to the modulefile, EESSI software subdir, EESSI testsuite version""" | ||
| self.postrun_cmds.append('echo "EESSI_CVMFS_REPO: $EESSI_CVMFS_REPO"') | ||
| self.postrun_cmds.append('echo "EESSI_SOFTWARE_SUBDIR: $EESSI_SOFTWARE_SUBDIR"') | ||
| if self.module_name: | ||
| # Get full modulepath | ||
| get_full_modpath = f'echo "FULL_MODULEPATH: $(module --location show {self.module_name} 2>&1)"' | ||
| self.postrun_cmds.append(get_full_modpath) | ||
| if self.module_names: | ||
| for mod in self.module_names: | ||
| # Get full modulepath | ||
| get_full_modpath = f'echo "FULL_MODULEPATH: $(module --location show {mod} 2>&1)"' | ||
| self.postrun_cmds.append(get_full_modpath) | ||
|
|
||
| @run_before('run', always_last=True) | ||
| def EESSI_mixin_set_user_executable_opts(self): | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # WARNING: do not remove this file. | ||
| # It is needed to autogenerate documentation from this repo. |
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.
I might be missing something, but why do we need both this and
compact_thread_binding?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.
i was under the impression that you can't override the
thread_bindingvariablein a test class, but that's actually not true. you can override it, but not in a base class.fixed in 8a948e4