---
title: 安装NETCDF-Fortran
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/openmind_kunpengmitgcm_02_0008.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/openmind_kunpengmitgcm_02_0008.html
indexId: fb7a1cf3b0dc598547f961ba47b7f3a14b0a3481ac771122867247675f2e688477
---
# 安装NETCDF-Fortran

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令解压NETCDF-Fortran安装包。

```
tar -zxvf netcdf-fortran-4.4.5.tar.gz
```


3. 执行以下命令进入解压后的目录。

```
cd netcdf-foortran-4.4.5
```


4. 执行以下命令进行编译配置。

```
./configure --prefix=
/path/to/NETCDF
--build=aarch64-linux --disable-static --enable-shared --enable-parallel-tests --enable-large-file-tests
```


5. 执行以下命令进行编译安装。

```
make
make install
```
