[MPICH] Compile errors with MPICH2 1.0.2
Anthony Chan
chan at mcs.anl.gov
Mon Jun 13 12:11:44 CDT 2005
The following configure command works on our solaris box:
/sandbox/chan/mpich2_work/mpich2-1.0.2/configure
--prefix=/sandbox/chan/mpich2_work/install_102_shm --enable-f77
--enable-f90 --with-pm=gforker
CC="/opt/SUNWspro/bin/cc -xarch=v9b"
F77="/opt/SUNWspro/bin/f77 -xarch=v9b"
F90="/opt/SUNWspro/bin/f90 -xarch=v9b"
TRACE_CC=/opt/SUNWspro/bin/cc
LD=/usr/ccs/bin/ld | tee c.txt ; make | tee m.txt ;
make install ; make installcheck
If there is still error, send us your configure and make output, i.e.
c.txt and m.txt.
A.Chan
On Mon, 13 Jun 2005, Dieter an Mey wrote:
> I guess you forgot to add
> -xarch=v9b
> to the link command, in order to tell the linke to build a 64 bit binary.
>
> best regards
> Dieter
>
>
> Mike Newton wrote:
>
> > I ran into the following errors while trying to compile MPICH2 1.0.2.
> >
> > My Environment:
> > SunFire 12K domain of 12 CPUs
> > Solaris 9
> > Sun Studio Pro Compilers (C & Fortran)
> >
> > Environment varibles:
> > CC=/opt/SUNWspro/bin/cc
> > FC=/opt/SUNWspro/bin/f90
> > F77=/opt/SUNWspro/bin/f77
> > F90=/opt/SUNWspro/bin/f90
> > CFLAGS=-xarch=v9b
> > FFLAGS=-xarch=v9b
> >
> > Configure statement:
> > ./configure --prefix=/usr/local/mpich2 --enable-f77 --enable-f90 \
> > --with-device=ch3:shm --with-pm=gforker
> >
> > Errors:
> >
> > /opt/SUNWspro/bin/cc -
> > o /fs/users/sysadmin/jmnewton/Build/mpich2-1.0.2/src/mpe2/src/slog2sdk/trace_rlog/bin/rlog_print trace_input.o rlogutil.o trace_print.o
> > ld: fatal: file trace_input.o: wrong ELF class: ELFCLASS64
> > ld: fatal: File processing errors. No output written
> > to /fs/users/sysadmin/jmnewton/Build/mpich2-1.0.2/src/mpe2/src/slog2sdk/trace_rlog/bin/rlog_print
> > make[5]: *** [rlog_print] Error 1
> > make[4]: *** [all] Error 2
> > make[3]: [all] Error 2 (ignored)
> > make[2]: Leaving directory
> > `/fs/users/sysadmin/jmnewton/Build/mpich2-1.0.2/src/mpe2'
> >
> > /opt/SUNWspro/bin/cc -o mpiexec mpiexec.o -L../util -lmpiexec \
> > -L../../../lib -lmpich -lrt -lrt -lnsl -lsocket
> > ld: fatal: file mpiexec.o: wrong ELF class: ELFCLASS64
> > ld: fatal: File processing errors. No output written to mpiexec
> > make[3]: *** [mpiexec] Error 1
> > make[3]: Leaving directory
> > `/fs/users/sysadmin/jmnewton/Build/mpich2-1.0.2/src/pm/gforker'
> >
>
>
> --
> --------------------------------------------------------------------
> Dieter an Mey
> High Performance Computing Hochleistungsrechnen
> RWTH Aachen University Rechen- und Kommunikations-
> Center for Computing and Communication zentrum der RWTH Aachen
> phone: ++49-(0)241-80-24377 Seffenter Weg 23
> fax: ++49-(0)241-80-22134 52074 Aachen, Germany
> email: anmey at rz.rwth-aachen.de
> --------------------------------------------------------------------
>
>
More information about the mpich-discuss
mailing list