---
title: 使用msProf工具做算子仿真调优时报错161001-昇腾社区
description: 使用msProf工具的msprof op simulator功能进行算子仿真调优，以基于可执行文件方式执行命令时，报错提示“aclnnSqrtGetWorkspaceSize failed. ERROR: 161001”，并且子进程以状态码139退出，导致仿真任务失败，无法完成算子调优。 执行命令为：msprof op simulator --soc-version=Ascend910B --ou
keywords: msProf;算子仿真调优;161001
url: https://www.hiascend.com/document/caselibrary/detail/topic_0000002517601046
section: (其他)
---

# 使用msProf工具做算子仿真调优时报错161001-昇腾社区

URL: https://www.hiascend.com/document/caselibrary/detail/topic_0000002517601046
描述: 使用msProf工具的msprof op simulator功能进行算子仿真调优，以基于可执行文件方式执行命令时，报错提示“aclnnSqrtGetWorkspaceSize failed. ERROR: 161001”，并且子进程以状态码139退出，导致仿真任务失败，无法完成算子调优。 执行命令为：msprof op simulator --soc-version=Ascend910B --ou
关键词: msProf;算子仿真调优;161001

昇腾文档 [了解详情](https://www.hiascend.com/document)

故障案例 [了解详情](https://www.hiascend.com/document/caselibrary)

使用msProf工具做算子仿真调优时报错161001

使用msProf工具做算子仿真调优时报错161001

2026/02/05

503

问题信息

| 问题来源 | 产品大类 | 关键字 |
| --- | --- | ---|
| 社区工单 | 算子开发 | msProf、算子仿真调优、161001 |

#### 问题现象描述

使用msProf工具的msprof op simulator功能进行算子仿真调优，以基于可执行文件方式执行命令时，报错提示“aclnnSqrtGetWorkspaceSize failed. ERROR: 161001”，并且子进程以状态码139退出，导致仿真任务失败，无法完成算子调优。

执行命令为：msprof op simulator --soc-version=Ascend910B --output=./output_data ./execute_sqrt_op

#### 原因分析

以基于可执行文件方式使用msprof op simulator开启算子仿真调优时，--soc-version参数需要指定为用户实际使用的芯片型号（如Ascend910B4）。

#### 解决措施

参考如下操作获取具体芯片型号，并指定给--soc-version参数（参考文档 [了解详情](https://www.hiascend.com/document/detail/zh/canncommercial/82RC1/devaids/optool/atlasopdev_16_0083.html)）：

步骤1、使用 npu-smi info 命令查询具体芯片型号

图1查询具体芯片型号

步骤2、根据具体芯片型号修改执行命令。

以图1为例，执行命令为：msprof op simulator --soc-version=Ascend910B1 --output=./output_data ./execute_sqrt_op


- 问题信息
- 问题现象描述
- 原因分析
- 解决措施
