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

#### 操作步骤

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

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


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

```
cd netcdf-fortran-4.4.5
```


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

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


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

```
make -j
make install
```
