[MPICH] Compile errors with MPICH2 1.0.2

Mike Newton jmnewton at duke.edu
Mon Jun 13 09:09:00 CDT 2005


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'

-- 
Mike Newton <jmnewton at duke.edu>




More information about the mpich-discuss mailing list