d32013afe03d7b612eefb5b7649902273e925a08,cscs-checks/apps/spark/spark_check.py,SparkCheck,__init__,#SparkCheck#,15
Before Change
self.descr = "Simple calculation of pi with Spark"
self.valid_systems = ["daint:gpu", "daint:mc",
"dom:gpu", "dom:mc"]
self.valid_prog_environs = ["builtin"]
self.modules = ["Spark"]
self.sourcesdir = None
self.prerun_cmds = ["start-all.sh"]
self.postrun_cmds = ["stop-all.sh"]
self.num_tasks = 2
self.num_tasks_per_node = 1
pi_value = sn.extractsingle(r"Pi is roughly\s+(?P<pi>\S+)",
self.stdout, "pi", float)
self.sanity_patterns = sn.assert_lt(sn.abs(pi_value - math.pi), 0.01)
self.maintainers = ["TM", "TR"]
self.tags = {"production"}
After Change
@rfm.simple_test
class SparkCheck(SparkBaseCheck):
def __init__(self):
super().__init__()
self.descr = "Simple calculation of pi with Spark"
self.sourcesdir = None
@rfm.run_before("run")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 15
Instances Project Name: eth-cscs/reframe
Commit Name: d32013afe03d7b612eefb5b7649902273e925a08
Time: 2021-02-26
Author: rafael.sarmiento@cscs.ch
File Name: cscs-checks/apps/spark/spark_check.py
Class Name: SparkCheck
Method Name: __init__
Project Name: eth-cscs/reframe
Commit Name: 9ef73364c90324b28526a31b1906c04ffaf04e42
Time: 2020-11-13
Author: christopher.bignamini@gmail.com
File Name: cscs-checks/libraries/gridtools/gridtools_tests.py
Class Name: GridToolsCPURunCheck
Method Name: __init__
Project Name: eth-cscs/reframe
Commit Name: 9ef73364c90324b28526a31b1906c04ffaf04e42
Time: 2020-11-13
Author: christopher.bignamini@gmail.com
File Name: cscs-checks/libraries/gridtools/gridtools_tests.py
Class Name: GridToolsGPURunCheck
Method Name: __init__