[SCore-users-jp] Omni OpenMPにおけるセグメンテーション違反

Kameyama Toyohisa kameyama @ pccluster.org
2010年 10月 27日 (水) 18:09:52 JST


亀山です.

(10/27/10 17:16), Yutaro Kamo Wrote:
> このとおりにソースをダウンロードしてコンパイルしたところ
> omsc_vm_handler.c: In function `scash_vm_handler':
> omsc_vm_handler.c:102: error: `sc' undeclared (first use in this function)
> omsc_vm_handler.c:102: error: (Each undeclared identifier is reported only once
> omsc_vm_handler.c:102: error: for each function it appears in.)
> 
> と出て、makeに失敗してしまいます。
> 該当ソースの102行目の
> GET_FAULT_INFO;
> というソースをコメントアウトして

多分, ここの処理は 72 行目の
    //struct sigcontext*  sc;
を活かすことだと思います.

> # scrun -nodes=2 ./omp-hello
> -----------------------------------------------------------------------------
> 
> It seems that there is no lamd running on the host comp01.maizuru-ct.ac.jp.
> 
> This indicates that the LAM/MPI runtime environment is not operating.
> The LAM/MPI runtime environment is necessary for MPI programs to run
> (the MPI program tired to invoke the "MPI_Init" function).
> 
> Please run the "lamboot" command the start the LAM/MPI runtime
> environment.  See the LAM/MPI documentation for how to invoke
> "lamboot" across multiple machines.
> -----------------------------------------------------------------------------
> と出力されました。

こちらはまた別の問題で, SCore の mpi ではなく lam を使用して
作成してしまったようです.
configure のとき
    --with-mpidir=
で MPI ディレクトリを指定する必要があるそうです.
指定した directory のしたに lib/mpich.a が存在することを仮定しているので,
多分,
   /opt/score/6.0.2/mpi/mpich-1.2.5/i386-centos4-linux2_6_gnu
あたりを指定することになると思います.

Kameyama Toyohisa



SCore-users-jp メーリングリストの案内