Conference Room SAD
[thread display] [new arrival display] [word search] [past log] [管理用]

Subject Re^5: SAD on Snow Leopard
Date: 2009/09/15(Tue) 21:06:49
Contributor管理人さん

> use ISO_C_BINDING
> 1
> Fatal Error: Can't open module file 'iso_c_binding.mod' for reading at (1): No such file or directory

ISO_C_BINDINGはFortran2003規格のもので、gcc4.3以降は標準で入っている筈です。
入れたgccが悪かったのか、パス設定が悪いのではないかと思います。
nm /usr/local/lib/gcc-4.4.x/x86_64/libgfortran.a |grep iso_c_binding
などでシンボルが入っているかどうか調べられるとと思います。

参考
http://gcc.gnu.org/onlinedocs/gcc-4.4.1/gfortran/Intrinsic-Modules.html#Intrinsic-Modules


- 関連一覧ツリー (Click ▼ to display all articles in a thread.)