[SCore-users-jp] [SCore-users] building mpich 2
Oliver Weihe
OWeihe @ deltacomputer.de
2002年 4月 5日 (金) 00:16:47 JST
Dear SCore users,
I installed SCore 5.0.0 on an intel-system running with Redhat 7.2.
Everything seems to work fine.
Then I tried to recompile mpich because I want to use the pgi compilers
(15-day trial version).
First I untarred the sources "score", "mpi" and "build" to
/opt/score5.0.0/score-src.
Then I patched these files with the Patch which Kameyama Toyohisa posted
here (
http://www.pccluster.org/pipermail/score-users/2002-April/000040.html ).
After that I set up my /opt/score5.0.0/etc/compilers/site file. It looks
like this:
-----------------------------------
gnu /usr/bin/gcc /usr/bin/g++ /usr/bin/g77 -
pgi /opt/pgi/linux86/bin/pgcc /opt/pgi/linux86/bin/pgCC /opt/pgi/linux86/
bin/pgf77 /opt/pgi/linux86/bin/pf90
-----------------------------------
After ./configure and make ( in /opt/score5.0.0/score-src ) I looked at
the output-files located at
/opt/score5.0.0/score-src/out.master/
at the end of mpi.build I saw this:
----------------------------------
if [ -n "-I" ] ; then \
/opt/score/bin/scoref77 -I. -compiler=pgi -O -c
/opt/score5.0.0/score-src/runtime/mpi/mpich-1.2.0/src/src/env/initfcmn.f
; \
else \
if [ ! -s initfcmn.f ] ; then cp
/opt/score5.0.0/score-src/runtime/mpi/mpich-1.2.0/src/src/env/initfcmn.f
. ; fi ; \
/opt/score/bin/scoref77 -compiler=pgi -O -c initfcmn.f ; \
fi
NOTE: your evaluation license will expire in 8 days, 5.56 hours.
Waiting for 5 seconds...
For a permanent license, please read the order acknowledgement
that you received. Connect to https://www.pgroup.com/License with
the username and password in the order acknowledgement.
Name: *****
User: *****
Email: *****
Hostid: PGI=*****
PGFTN-S-0034-Syntax error at or near ) (./../../include/mpif.h: 184)
PGFTN-S-0034-Syntax error at or near ) (./../../include/mpif.h: 185)
0 inform, 0 warnings, 2 severes, 0 fatal for mpir_init_fcm
make[5]: *** [initfcmn.o] Fehler 2
Exit status from make was 2
make[4]: *** [mpilib] Fehler 1
make[3]: *** [mpi] Fehler 2
make[3]: Verlassen des Verzeichnisses Verzeichnis
»/opt/score5.0.0/score-src/runtime/mpi/mpich-1.2.0/build.i386-redhat7-lin
ux2_4_pgi«
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/opt/score5.0.0/score-src/runtime/mpi/mpich-1.2.0«
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/opt/score5.0.0/score-src/runtime/mpi«
----------------------------------
/opt/score5.0.0/score-src/runtime/mpi/mpich-1.2.0/build.i386-redhat7-linu
x2_4_pgi/include/mpif.h
looks like this:
----------------------------------
184: PARAMETER (MPI_ADDRESS_KIND=)
185: PARAMETER (MPI_OFFSET_KIND=)
----------------------------------
but
/opt/score5.0.0/score-src/runtime/mpi/mpich-1.2.0/build.i386-redhat7-linu
x2_4/include/mpif.h
and
/opt/score5.0.0/score-src/runtime/mpi/mpich-1.2.0/build.i386-redhat7-linu
x2_4_gnu1ul/include/mpif.h
looks like this:
----------------------------------
184: PARAMETER (MPI_ADDRESS_KIND=4)
185: PARAMETER (MPI_OFFSET_KIND=4)
----------------------------------
after I edit this two lines in
/opt/score5.0.0/score-src/runtime/mpi/mpich-1.2.0/src/include/mpif.h.in
from
184: PARAMETER (MPI_ADDRESS_KIND=@ADDRESS_KIND@)
185: PARAMETER (MPI_OFFSET_KIND=@OFFSET_KIND@)
to
184: PARAMETER (MPI_ADDRESS_KIND=4)
185: PARAMETER (MPI_OFFSET_KIND=4)
the I could compile and use mpich without any problems.
Is this a problem in SCore on only on my system ?
Oliver Weihe
_______________________________________________
SCore-users mailing list
SCore-users @ pccluster.org
http://www.pccluster.org/mailman/listinfo/score-users
SCore-users-jp メーリングリストの案内