2007年10月15日月曜日

mpichのバグ

どうやら先日のmpichの問題はバグらしいことがわかった。
コンパイル時に
-DMPICH_IGNORE_CXX_SEEK
オプションをつければ回避できる。
もしくは何よりも早く"mpi.h"をincludeしてやればよい。

下は先日のエラー。って先日の文章がなぜかそこまで書いてなかった・・。
/usr/local/mpich2/include/mpicxx.h:26:2: error: #error "SEEK_SET is #defined but must not be for the C++ binding of MPI"/usr/local/mpich2/include/mpicxx.h:30:2: error: #error "SEEK_CUR is #defined but must not be for the C++ binding of MPI"/usr/local/mpich2/include/mpicxx.h:35:2: error: #error "SEEK_END is #defined but must not be for the C++ binding of MPI"

0 件のコメント: