[SCore-users-jp] ハイブリッドMPI-OpenMP プログラムの実行

Yoshio Ogawa ogawa @ sowa.is.uec.ac.jp
2004年 7月 12日 (月) 13:51:33 JST


亀山様

電通大の小川です。お世話になっております。


> > mpif77のデフォルトのコンパイラはintelとなっています。
> (中略)
> > 管理ノード・計算ノード共にRed Hat Linux 7.3をインストールし、SCore5.6.1を
> > マニュアルに沿ってバイナリRPMでインストールを行いました。
> > その後、Intel Compiler 7.1をインストールし、
> > cp /opt/score/etc/compilers/site.sample.intel /opt/score/etc/compilers/site
> > としました。
>
> とすると, ここで使用される MPI library は Intel compiler version 6 で
> コンパイルしたものです.
> /opt/score/etc/compilers/site の intel を intel7 にしてみてください.
> こちらは Intel compiler version 7 でコンパイルしたものです.

先程このように設定し実行しましたが動作できませんでした。前回報告
しました動作状況となっています。
念のために /opt/score/etc/compilers/site を載せておきます。
--------------------------------------------
# site file example for Intel compiler
# PGI compiler
mpicc  intel7=icc gnu=gcc
mpic++  intel7=icc gnu=g++
mpif77  intel7=ifc gnu=g77
mpif90   intel7=ifc
mpc++  intel7=icc gnu=g++
omcc  intel7=icc gnu=egcs
omf77  intel7=icc gnu=egcs
scorecc  gnu=gcc intel7=icc
scorec++ gnu=g++ intel7=icc
scoref77 gnu=g77 intel7=ifc
scoref90 intel7=ifc
--------------------------------------------


> これで失敗したら, compile 時に -nockpt をつけてみてください.

こちらはエラーが出てしまいコンパイルが出来ませんでした。エラーメッセージを
以下に示します。
--------------------------------------------
$mpif77 -o f_hybrid f_hybrid.f -openmp -fpp -static -nockpt
   program HYBRID_TEST_FORTRAN

      integer*8 MPI_DISPLACEMENT_CURRENT
              ^
Warning 2 at (248:/opt/score5.6.0/mpi/mpich-1.2.5/i386-redhat7-linux2_4_intel7/include/mpif.h) :
Type size specifiers are an extension to standard Fortran 95
f_hybrid.f(13) : (col. 0) remark: OpenMP DEFINED REGION WAS PARALLELIZED.

285 Lines Compiled
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(wrapsyscall.o): In function `close_hook':
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:94: undefined reference to `score_vsyscall'
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(wrapsyscall.o): In function `fcntl_hook':
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:102: undefined reference to `score_vsyscall'
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(wrapsyscall.o): In function `fsync_hook':
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:110: undefined reference to `score_vsyscall'
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(wrapsyscall.o): In function `lseek_hook':
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:118: undefined reference to `score_vsyscall'
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(wrapsyscall.o): In function `msync_hook':
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:126: undefined reference to `score_vsyscall'
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(wrapsyscall.o):/usr/src/redhat/BUILD/score5.6
.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redhat7-linux2_4/linuxthreads/wraps
yscall.c:134: more undefined references to `score_vsyscall' follow
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(wrapsyscall.o): In function
`__pthread_install_scwrap':
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:181: undefined reference to `score_scwrap'
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:182: undefined reference to `score_scwrap'
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:183: undefined reference to `score_scwrap'
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:184: undefined reference to `score_scwrap'
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/wrapsyscall.c:185: undefined reference to `score_scwrap'
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(wrapsyscall.o):/usr/src/redhat/BUILD/score5.6
.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redhat7-linux2_4/linuxthreads/wraps
yscall.c:186: more undefined references to `score_scwrap' follow
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(ptfork.o): In function `fork_hook':
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/ptfork.c:102: undefined reference to `score_vsyscall'
/opt/score5.6.0/lib/i386-redhat7-linux2_4/libpthread.a(ptfork.o): In function
`__pthread_atfork_init':
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/ptfork.c:118: undefined reference to `score_scwrap'
/usr/src/redhat/BUILD/score5.6.0-5.6.0/score-src/SCore/sclib/scwrap/example/pthread/build.i386-redha
t7-linux2_4/linuxthreads/ptfork.c:119: undefined reference to `score_scwrap'
--------------------------------------------

よろしくお願い致します。


==============================================
     電気通信大学 大学院 情報システム学研究科
情報ネットワーク学専攻 分散処理学講座 吉永研究室
         小川 善生 (Yoshio Ogawa)
         E-mail : ogawa @ sowa.is.uec.ac.jp
==============================================




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