動作環境
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.aファイルが見当たらない。
インストールが失敗しているのか。
http://qiita.com/7of9/items/193f19a750e3384c8d2e
NetCDFの情報をみる方法を調べた。
参考 https://groups.google.com/a/hycom.org/forum/#!topic/forum/YPp3H-93V3w
以下のコマンドを使うようだ。
$ nc-config --all
This netCDF 4.1.1 has been built with the following features:
--cc -> cc
--cflags -> -I/usr/include
--libs ->
--cxx -> c++
--has-c++ -> yes
--fc -> gfortran
--fflags -> -I/usr/include
--flibs ->
--has-f77 -> yes
--has-f90 -> yes
--has-dap -> yes
--has-nc2 -> yes
--has-nc4 -> yes
--has-hdf5 -> yes
--has-hdf4 -> no
--has-szlib -> no
--prefix -> /usr
--includedir-> /usr/include
--version -> netCDF 4.1.1
インクルードパスは分かるが、ライブラリパスは不明。