Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import sys |
||
6 | class VerifyMILACluster(VerifySlurmCluster): |
||
7 | |||
8 | WALLTIME = 60 |
||
9 | CORES_PER_NODE = 8 |
||
10 | GPUS_PER_NODE = 2 |
||
11 | |||
12 | def get_arguments(self, **kwargs): |
||
13 | |||
14 | set_defaults( |
||
15 | kwargs, |
||
16 | coresPerCommand=1, |
||
17 | gpusPerCommand=0, |
||
18 | walltime=self.WALLTIME, |
||
19 | coresPerNode=self.CORES_PER_NODE, |
||
20 | gpusPerNode=self.GPUS_PER_NODE) |
||
21 | |||
22 | return kwargs |
||
23 | |||
24 | def verify_simple_task_with_constraints(self, **kwargs): |
||
25 | |||
26 | set_defaults( |
||
27 | kwargs, |
||
28 | gpusPerCommand=1, |
||
29 | sbatchFlags='"-C\"gpu12gb\""') |
||
30 | |||
31 | self.base_verification(**kwargs) |
||
32 | |||
39 |