2017年9月6日水曜日

nclでlibgfortran.3.dylibが無いとエラーが出る。

$ ncl hakohige_v8_all_gray_hikaku.ncl 
dyld: Library not loaded: /opt/local/lib/libgcc/libgfortran.3.dylib
Referenced from: /opt/local/bin/ncl
Reason: image not found
Abort trap: 6

と出てしまった。

$ ls /opt/local/lib/libgcc/libgfortran.4.dylib 
/opt/local/lib/libgcc/libgfortran.4.dylib

と4はあるのでリンクを貼って走らせ直してみる。
$ sudo ln -sf /opt/local/lib/libgcc/libgfortran.4.dylib /opt/local/lib/libgcc/libgfortran.3.dylib

hakohige 11:40:34 $ ncl hakohige_v8_all_gray_hikaku.ncl 
 Copyright (C) 1995-2017 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.4.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
fatal:asciiread: Unable to open input file (/Volumes/HDD01/research/analysis/tcdetect3/result05_00-v5-3rd/20004/T1304-wrf-20004-d01-ALERA001-hPa.csv)
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 46 in file hakohige_v8_all_gray_hikaku.ncl




走った。違うエラーが出たけど。笑

1 件のコメント:

  1. これやると/opt/local/lib/libgcc/libgfortran.3.dylibと競合してgfortranが走らなくなった。
    ので、とりあえずシンボリックリンク貼った4は削除した。

    返信削除

githubの基本用語

ある仕事でGithubをちゃんと使うようになって、いろんな基本用語(知識)があやふやなことに気付いたのでメモ。 リポジトリ ファイルやディレクトリの状態を保存する場所。 手元の端末 にある「ローカルリポジトリ」とサーバなどネットワーク上にある「リモートリポジトリ」の...