0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NetCDF > link > netcdf.inc > netcdf-fortran-4.2 が必要

0
Last updated at Posted at 2016-10-26
動作環境
Xeon E5-2620 v4 (8コア) x 2
32GB RAM
CentOS 6.8 (64bit)
openmpi-1.8.x86_64 とその-devel
mpich.x86_64 3.1-5.el6とその-devel
gcc version 4.4.7 (とgfortran)

netcdf-4.4.1.tar.gzをmakeでインストールした。

netcdf.incnetcdf.aも見つからない。

netcdf.incについては以下が参考になる。
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11504.html

The netcdf.inc file is used for the netCDF Fortran-77 interface, but the netcdf-4.2.1.1 software you have installed is only for the netCDF C interface and utilities.
To build and install the netCDF Fortran library, you should download the netcdf-fortran-4.2 distribution from

NetCDFでnetcdf.incを使うFortranプログラムを使う場合、以下の流れのようだ。

  1. netcdfインストール (C関連)
  2. netcdf-fortran インストール (Fortranライブラリ)

http://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html
にも書いてあるが分かりにくい。

Fotranライブラリ
http://www.unidata.ucar.edu/downloads/netcdf/index.jsp

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?