|
190 | 190 | Hash[Enum['task','energy','network','filesystem'],Integer[0]] $job_acct_gather_frequency = {'task' => 30,'energy' => 0,'network' => 0,'filesystem' => 0},
|
191 | 191 | Integer[0] $acct_gather_node_freq = 0,
|
192 | 192 | Enum['acct_gather_energy/none','acct_gather_energy/ipmi','acct_gather_energy/rapl'] $acct_gather_energy_type = 'acct_gather_energy/none',
|
193 |
| - Enum['acct_gather_infiniband/none','acct_gather_infiniband/ofed'] $acct_gather_infiniband_type = 'acct_gather_infiniband/none', |
| 193 | + Enum['acct_gather_interconnect/none','acct_gather_interconnect/ofed','acct_gather_infiniband/ofed'] $acct_gather_interconnect_type = 'acct_gather_interconnect/none', |
194 | 194 | Enum['acct_gather_filesystem/none','acct_gather_filesystem/lustre'] $acct_gather_filesystem_type = 'acct_gather_filesystem/none',
|
195 | 195 | Enum['acct_gather_profile/none','acct_gather_profile/hdf5'] $acct_gather_profile_type = 'acct_gather_profile/none',
|
196 | 196 |
|
|
333 | 333 | # Accounting gatherer configuration file
|
334 | 334 | if ('acct_gather_energy/ipmi' in $acct_gather_energy_type) or
|
335 | 335 | ('acct_gather_profile/hdf5' in $acct_gather_profile_type) or
|
336 |
| - ('acct_gather_infiniband/ofed' in $acct_gather_infiniband_type) { |
| 336 | + (['acct_gather_infiniband/ofed', 'acct_gather_interconnect/ofed'] in $acct_gather_interconnect_type) { |
337 | 337 | class{ '::slurm::config::acct_gather':
|
338 |
| - with_energy_ipmi => ('acct_gather_energy/ipmi' in $acct_gather_energy_type), |
339 |
| - with_profile_hdf5 => ('acct_gather_profile/hdf5' in $acct_gather_profile_type), |
340 |
| - with_infiniband_ofed => ('acct_gather_infiniband/ofed' in $acct_gather_infiniband_type), |
| 338 | + with_energy_ipmi => ('acct_gather_energy/ipmi' in $acct_gather_energy_type), |
| 339 | + with_profile_hdf5 => ('acct_gather_profile/hdf5' in $acct_gather_profile_type), |
| 340 | + with_interconnect_ofed => (['acct_gather_infiniband/ofed', 'acct_gather_interconnect/ofed'] in $acct_gather_interconnect_type), |
341 | 341 | }
|
342 | 342 |
|
343 | 343 | $acct_gather_conf_file = ['/etc/slurm/acct_gather.conf']
|
|
0 commit comments