1
0

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.

2019-10-08 WPS > setupエラー > Your Fortran + NETCDF did not run successfully.

Last updated at Posted at 2019-10-08
動作環境
動作環境 CentOS Linux release 7.7.1908 (Core)

WRF (Weather Research and Forecasting Model)関連。

状況

  • NETCDF(C API, FORTRAN API)のセットアップ完了
  • WRFのセットアップ完了
  • WPSの./configureにて以下のエラーになる
    • Enter selection [1-40] では「3」を選択
Testing for NetCDF, C and Fortran compiler

This installation NetCDF is 64-bit
C compiler is 64-bit
Fortran compiler is 64-bit


Your Fortran + NETCDF did not run successfully.

対処

NETCDFのインストール先は/usr/local/netcdf-4.7.1/gcc44/である。

.bashrcの設定に以下の行を追加したら解決した。

# for WPS configure (2019-10-08)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/netcdf-4.7.1/gcc44/lib/
1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?