Class: Azure::BatchAI::Mgmt::V2018_05_01::Models::CustomMpiSettings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-05-01/generated/azure_mgmt_batchai/models/custom_mpi_settings.rb

Overview

Custom MPI job settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#command_lineString

runtime on each compute node.

Returns:

  • (String)

    Command line. The command line to be executed by mpi



17
18
19
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/custom_mpi_settings.rb', line 17

def command_line
  @command_line
end

#process_countInteger

job execution. The default value for this property is equal to nodeCount property

Returns:

  • (Integer)

    Process count. Number of processes to launch for the



22
23
24
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/custom_mpi_settings.rb', line 22

def process_count
  @process_count
end

Class Method Details

.mapperObject

Mapper for CustomMpiSettings class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/2018-05-01/generated/azure_mgmt_batchai/models/custom_mpi_settings.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CustomMpiSettings',
    type: {
      name: 'Composite',
      class_name: 'CustomMpiSettings',
      model_properties: {
        command_line: {
          client_side_validation: true,
          required: true,
          serialized_name: 'commandLine',
          type: {
            name: 'String'
          }
        },
        process_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'processCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end