[SCore-users-jp] Re: [SCore-users] compile problem
???
shhan @ crk.co.kr
2004年 4月 7日 (水) 09:58:52 JST
Dear Kameyama Toyohisa san,
> > /opt/score/bin/mpicc -c -I../../MPP -I../../MPP/RSL -I../../pick \
> > -I../../MPP/debug -I../../MPP/RSL/RSL -DMPP1 -DIOR=2 -DIWORDSIZE=4 \
> > -DRWORDSIZE=4 -DLWORDSIZE=4 -DASSUME_HOMOGENEOUS_ENVIRONMENT=1 -DMPI \
> > -I/opt/score/mpi/mpich-1.2.5/i386-redhat7-linux2_4_gnu/include \
> > -I/opt/score/include milliclock.c
>
> If you use pgi compiler, you shuld use /opt/score/mpi/mpich-1.2.5/i386-redhat7-linux2_4_pgi/include header files.
> (In general, you may not specify mpi header and library path.)
>
Yes, I use pgi compiler for fortran.
I use pgf77 but I don't use pgcc but gcc,
so when I use mpicc, I use score library for gnu.
> > /opt/score/bin/mpif77 -o mm5.mpp ...
>
> > global_ops.o(.text+0x12d2): undefined reference to `__mth_i_kcmpz'
>
> Please check default compiler for mpicc and mpif77.
> __mth_i_kcmpz is in libpgc.a on PGI library.
> I want this library is linked by pgf77.
> If you use realy pgi compiler, and your libpgc.a dose not __mth_i_kcmpz
> symbol, you must re-compile MPI library.
> (We use PGI version 3.3, If you use different version, you may be could not
> use the library.)
>
I use PGI version 3.2 and I tried to re-compile MPI library by score-5.6.0.mpi.tar.gz in SCore CD.
I use following configure for re-compile, but make was failed, as you could see the following log.
I attach the configure.log file to this mail.
[root @ scoreM src]# ./configure -cc=gcc -fc=pgf77 -f90=pgf90 --with-device=ch_score -prefix=/usr/local/mpich-score > configure.log
/usr/src/redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src/mpe/configure: e: command not found
configure: warning: Cannot locate JAVA in known locations and $PATH !
configure: warning: Put JAVA in your path or supply it as an argument to configure
configure: warning: Cannot locate JAVA in known locations and $PATH !
configure: warning: Put JAVA in your path or supply it as an argument to configure
[root @ scoreM src]# make
...
gcc -DHAVE_MPICHCONF_H -I/usr/src/redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src/mpid/ch2 -
I/usr/src/redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src -I/usr/src/redhat/BUILD/score-src/r
untime/mpi/mpich-1.2.5/src/include -I/usr/src/redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src
/include -I/usr/src/redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src/mpid/ch_score -I/usr/src/
redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src/mpid/util -I/usr/src/redhat/BUILD/score-src/r
untime/mpi/mpich-1.2.5/src/mpid/util -DHAVE_GETTIMEOFDAY -DMPID_DEVICE_CODE -DMPID_SCORE_ZEROCOP
Y -DMPID_PKT_MAX_DATA_SIZE=9216 -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1 -DMPID_D
EBUG_NONE -DMPID_STAT_NONE -c adi2recv.c
In file included from /usr/src/redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src/mpid/ch_score/
chdef.h:68,
from /usr/src/redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src/mpid/ch2/packe
ts.h:375,
from mpiddev.h:23,
from adi2recv.c:9:
/usr/src/redhat/BUILD/score-src/runtime/mpi/mpich-1.2.5/src/mpid/ch_score/chdef_rma.h:7:19: scor
e.h: ?? ???? ????? ??
make[3]: *** [adi2recv.o] ?? 1
Exit status from make was 2
make[2]: *** [mpilib] ?? 1
make[1]: *** [mpi-modules] ?? 2
make: *** [mpi] ?? 2
If I don't use --with-device=ch_score or --with-device=ch_score2, re-compiling MPI library is ok,
but if I use this library for compiling MM5, SCore doesn't know MM5 execution file for SCore.
Regards,
Seok-Hee, Han
> from Kameyama Toyohisa
>
-------------- next part --------------
テキスト形式以外の添付ファイルを保管しました...
ファイル名: configure.log
型: application/octet-stream
サイズ: 24867 バイト
説明: 無し
URL: <http://new1.pccluster.org/pipermail/score-users-jp/attachments/20040407/c7511507/attachment.obj>
SCore-users-jp メーリングリストの案内