LoginSignup
1

More than 5 years have passed since last update.

WPS > error: error while loading shared libraries: libnetcdf.so.11: cannot open shared object file: No such file or directory

Last updated at Posted at 2017-06-06
動作環境
Xeon E5-2620 v4 (8コア) x 2
32GB RAM
CentOS 6.8 (64bit)
gcc version 4.9.2 (とgfortran): Software Collections (SCL) で有効にした状態
NCAR Command Language Version 6.3.0
Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37) 
Python 3.6.0 on virtualenv

WRF(Weather Research and Forecasting Model)に関して。
前処理のWPS実行でのエラー。

GFortran v4.9.2にてNetCDF v4.4.1.1をインストールした環境で、WPS実行時に以下のエラーが出る。

$ ./geogrid.exe 
./geogrid.exe: error while loading shared libraries: libnetcdf.so.11: cannot open shared object file: No such file or directory

参考: https://code.mpimet.mpg.de/boards/2/topics/939

.bashrcに以下を追加した。

# 2017/06/06 for geogrid.exe with GFortran v4.9.2
LD_LIBRARY_PATH=/usr/local/netcdf-4.4.1.1/gcc492/lib/:$LD_LIBRARY_PATH

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