安装NETCDF-C
操作步骤
- 使用PuTTY工具,以root用户登录服务器。
- 执行以下命令解压NETCDF-C安装包。
tar zxvf netcdf-c-4.7.0.tar.gz yum install curl.aarch64 libcurl.aarch64 libcurl-devel.aarch64 -y
- 执行以下命令进入解压后的目录。
cd netcdf-c-4.7.0
- 执行以下命令进行配置。
./configure --prefix=$NETCDF --build=aarch64-linux --enable-fortran --disable-static --enable-shared --with-pic --enable-parallel-tests --enable-pnetcdf --enable-large-file-tests --enable-largefile CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort
- 执行以下命令进行编译安装。
make -j 16 make install
父主题: 配置编译环境