[SCore-users-jp] Omni OpenMPにおけるセグメンテーション違反
Yutaro Kamo
e6837 @ g.maizuru-ct.ac.jp
2010年 10月 27日 (水) 17:16:50 JST
ご返答ありがとうございます。
> もしかしたら,
> Omni/OpenMP の download page
> http://www.hpcs.cs.tsukuba.ac.jp/omni-openmp/download/download-omni.html
> から Omni2 を取ってきて Omni/SCASH-MPI
> (tar の中の
> Omni2/doc/omni-scash-mpi.html
> )
> を使ったら動くかも知れません.
>
このとおりにソースをダウンロードしてコンパイルしたところ
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;
というソースをコメントアウトして make & make installしたところバイナリができたので、score附属サンプルのomp-helloを
/usr/local/bin/omcc -omniconfig=scash-mpi omp-hello.c
でコンパイルし実行したところ
# 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.
-----------------------------------------------------------------------------
と出力されました。
出力どおりlambootを実行し、今度は以下のコマンドで実行したところ
mpirun -np 2 -score ./omp-hello
log on ...
FEP:ERROR Unable to get resource requests.
FEP:ERROR '/home/kamotti92/./omp-hello' might not be an SCore application.
と出力され、実行できませんでした。
そもそもコメントアウトした時点でまちがっているのでしょうか?
もし御存じでしたら、ご助言お願いします。
--
_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄
舞鶴工業高等専門学校 電気情報工学科 学生
加茂 勇太郎
e6837 @ g.maizuru-ct.ac.jp
_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄_/ ̄
SCore-users-jp メーリングリストの案内