调用ListSoftwares查询E-HPC支持安装的软件列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String ListSoftwares

系统规定参数。取值:ListSoftwares

EhpcVersion String 1.0.0

E-HPC产品版本号,您可以调用ListCurrentClientVersion接口查询产品版本号。

OsTag String CentOS_7.2_64

操作系统镜像标签,您可调用ListImages接口查询镜像列表。

返回数据

名称 类型 示例值 描述
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

请求ID。

Softwares Array of SoftwareInfo

软件信息列表。

SoftwareInfo
AccountType String nis

域账号服务类型。可能值:

  • nis
  • ldap
AccountVersion String 2.31

域账号服务版本。

Applications Array of ApplicationInfo

集群应用软件列表。

ApplicationInfo
Name String cudnnt

软件名称。

Required Boolean true

是否必选软件。

Tag String CUDNN_9.0

软件标签。

Version String 9.0

软件版本。

EhpcVersion String 1.0.0

E-HPC版本。

OsTag String CentOS_7.2_64

操作系统镜像标签。

SchedulerType String pbs

调度器类型。可能值:

  • pbs
  • slurm
  • opengridscheduler
  • deadline
SchedulerVersion String 18.1.1

调度器软件版本。

示例

请求示例

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=ListSoftwares
&<公共请求参数>

正常返回示例

XML格式

<ListSoftwaresResponse>
      <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</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格式

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
    "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"
                        }
                    ]
                }
            }
        ]
    }
}

错误码

HttpCode 错误码 错误信息 描述
503 ServiceUnavailable The request has failed due to a temporary failure of the server 请求失败,服务暂时不可用

访问错误中心查看更多错误码。