LoginSignup
1
2

More than 5 years have passed since last update.

linux > locate > ファイルの場所を表示 > netcdf.aは見当たらなかった

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関連のnetcdf.aが見当たらない状況になっている。

@tukiyo3 さんのコメントにてファイル検索にldd, locate, findなどを教えていただいた。

RedHat5.2からのlinuxユーザ(その前はFreeBSDユーザ)で、実はlocateを使ったことがありませんでした(もしくは忘れてました)。

# locate libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/32/libgcc.a
# locate netcdf.a

netcdf.aは入ってないようです。

問題の切り分けができました。
情報感謝です。

# yum list installed | grep netcdf
netcdf.x86_64           4.1.1-3.el6.5   @epel                                   
netcdf-devel.x86_64     4.1.1-3.el6.5   @epel                                   
netcdf4-python.x86_64   1.0.2-1.el6     @epel         

上記のパッケージでは足りないのかは調査中。

解決しました。
http://qiita.com/7of9/items/9ab581c15fe89127f429

1
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
1
2