NetCDFのコンパイルリンク
    Top > Linux > エラー
    includeでのファイル探索先指定
     H08というモデルのコンパイルで詰まったときの話.  コンパイルしようとしたらこんなエラーが出た.  要するにhtcreatenc.Fのincludeで,必要な関数がinclude出来ていないということ.このときのオプションはコマンドにあるとおり,  INC = -I/usr/local/netcdf-4.4.1.1-intel64-v11.1.069/include  LIB = -L/usr/local/netcdf-4.4.1.1-intel64-v11.1.069/lib -lnetcdf -L/opt/intel/Compiler/11.1/069/lib -lirc だった. でinclude先の指定の仕方を確認して以下のように変更,再コンパイル.  INC = -I/usr/local/netcdf-4.4.1.1/include  LIB = -L/usr/local/netcdf-4.4.1.1/lib -lnetcdff -L/usr/local/netcdf-4.4.1.1/lib -lnetcdf -lnetcdf
    References
    [netCDF #FNE-136603]: error in using the netcdf library + https://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg10850.html