Queries the list of software that can be installed in a cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListSoftwares

The operation that you want to perform. Set the value to ListSoftwares.

EhpcVersion String No 1.0.0

The version of the E-HPC client.

You can call the ListCurrentClientVersion operation to query the E-HPC client version.

OsTag String No CentOS_7.2_64

The image tag of the cluster.

You can use the ListImages to query the image tag of the cluster.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE7****

The ID of the request.

Softwares Array of SoftwareInfo

The list of the information about the software installed in the cluster.

SoftwareInfo
AccountType String nis

The service type of the domain account. Valid values:

  • nis
  • ldap
AccountVersion String 2.31

The version of the domain account service.

Applications Array of ApplicationInfo

The list of the software in the cluster.

ApplicationInfo
Name String cudnnt

The name of the software.

Required Boolean true

Indicates whether the software is required. Valid values:

  • 0: optional
  • 1: required
Tag String CUDNN_9.0

The tag of the software.

Version String 9.0

The version of the software.

EhpcVersion String 1.0.0

The version of the E-HPC client.

OsTag String CentOS_7.2_64

The image tag of the cluster.

SchedulerType String pbs

The type of the scheduler. Valid values:

  • pbs
  • pbs19
  • slurm
  • slurm19
  • slurm20
  • opengridscheduler
  • deadline
  • gridengine
  • cube
  • custom
SchedulerVersion String 18.1.1

The version of the scheduler.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=ListSoftwares
&<Common request parameters>

Sample success responses

XML format

<ListSoftwaresResponse>
      <RequestId>04F0F334-1335-436C-A1D7-6C044FE7****</RequestId>
      <Softwares>
            <SoftwareInfo>
                  <AccountVersion>2.31</AccountVersion>
                  <SchedulerVersion>18.1.1</SchedulerVersion>
                  <EhpcVersion>1.0.0</EhpcVersion>
                  <OsTag>CentOS_7.2_64</OsTag>
                  <SchedulerType>pbs</SchedulerType>
                  <AccountType>nis</AccountType>
                  <Applications>
                        <ApplicationInfo>
                              <Name>cuda-toolkit</Name>
                              <Required>0</Required>'
                              <Tag>CUDA_TOOLKIT_9.0</Tag>
                              <Version>9.0</Version>
                        </ApplicationInfo>
                        <ApplicationInfo>
                              <Name>cudnn</Name>
                              <Required>0</Required>
                              <Tag>CUDNN_9.0</Tag>
                              <Version>9.0</Version>
                        </ApplicationInfo>
                  </Applications>
            </SoftwareInfo>
      </Softwares>
</ListSoftwaresResponse>

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****",
    "Softwares": {
        "SoftwareInfo": [
            {
                "AccountVersion": "2.31",
                "SchedulerVersion": "18.1.1",
                "EhpcVersion": "1.0.0",
                "OsTag": "CentOS_7.2_64",
                "SchedulerType": "pbs",
                "AccountType": "nis",
                "Applications": {
                    "ApplicationInfo": [
                        {
                            "Name": "cuda-toolkit",
                            "Required": 0,
                            "Tag": "CUDA_TOOLKIT_9.0",
                            "Version": "9.0"
                        },
                        {
                            "Name": "cudnnt",
                            "Required": 0,
                            "Tag": "CUDNN_9.0",
                            "Version": "9.0"
                        }
                    ]
                }
            }
        ]
    }
}

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The service is temporarily unavailable.

For a list of error codes, visit the API Error Center.