[MPICH] Compile errors with MPICH2 1.0.2
Mike Newton
jmnewton at duke.edu
Mon Jun 13 15:14:00 CDT 2005
This worked great. No compile errors at all and completely 64-bit.
Thanks!
On Mon, 2005-06-13 at 14:24 -0500, Anthony Chan wrote:
> This is another way to configure mpich2 on 64 bit solaris box.
>
> /sandbox/chan/mpich2_work/mpich2-1.0.2/configure
> --prefix=/sandbox/chan/mpich2_work/install_102_shm_d64 --enable-f77
> --enable-f90 --with-device=ch3:shm --with-pm=gforker
> --with-jvmflags="-d64"
> CC="/opt/SUNWspro/bin/cc -xarch=v9b"
> F77="/opt/SUNWspro/bin/f77 -xarch=v9b"
> F90="/opt/SUNWspro/bin/f90 -xarch=v9b"
> LD=/usr/ccs/bin/ld
>
> The difference between this and the previous configure command is
> TRACE_CC=/opt/SUNWspro/bin/cc is replaced by --with-jvmflags="-d64".
> So everything will be compiled in 64-bit and the JVM will be involved
> in 64-bit mode as well.
>
> A.Chan
>
>
> On Mon, 13 Jun 2005, Anthony Chan wrote:
>
> >
> > 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
> > > --------------------------------------------------------------------
> > >
> > >
> >
>
--
Mike Newton <jmnewton at duke.edu>
More information about the mpich-discuss
mailing list