[SCore-users-jp] Re: [SCore-users] compile problem

kameyama @ pccluster.org kameyama @ pccluster.org
2004年 3月 23日 (火) 18:38:11 JST


In article <014a01c410b6$60be8f10$e79e4b86 @ shhanevo> =?ks_c_5601-1987?B?x9G8rsjx?= <shhan @ crk.co.kr> wrotes:
> /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.)

> /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.)

                       from Kameyama Toyohisa
_______________________________________________
SCore-users mailing list
SCore-users @ pccluster.org
http://www.pccluster.org/mailman/listinfo/score-users



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