---
title: Index SDK提示报错gfortran命令未找到-昇腾社区
description: 在安装OpenBLAS时，执行编译命令make FC=gfortran USE_OPENMP=1 –j提示报错gfortran：Command not found。
keywords: gfortran命令
url: https://www.hiascend.com/document/caselibrary/detail/topic_0000001658321144
section: (其他)
---

# Index SDK提示报错gfortran命令未找到-昇腾社区

URL: https://www.hiascend.com/document/caselibrary/detail/topic_0000001658321144
描述: 在安装OpenBLAS时，执行编译命令make FC=gfortran USE_OPENMP=1 –j提示报错gfortran：Command not found。
关键词: gfortran命令

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

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

Index SDK提示报错gfortran命令未找到

Index SDK提示报错gfortran命令未找到

2023/09/14

1.2k

问题信息

| 问题来源 | 产品大类 | 产品子类 | 关键字 |
| --- | --- | --- | ---|
| 官方 | 模型推理 | Index SDK | gfortran命令 |

#### 问题现象描述

在安装OpenBLAS时，执行编译命令make FC=gfortran USE_OPENMP=1 –j提示报错gfortran：Command not found。

#### 原因分析

缺失gfortran组件依赖。

#### 解决措施

请参考以下命令安装gfortran工具。

```
apt install -y gfortran
```

本页内容

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