[mpich-discuss] MPICH 2 installation errors

sasha lambert lambert.sasha at gmail.com
Thu Aug 12 15:05:05 CDT 2010


I'm attempting to configure MPICH 2 to use gcc and gfortran compilers, but
receiving incompatibility error messages. Would it happen to do with 32-bit
vs 64-bit incompatibilities? If so, how can i get around this?

For some reason i'm not getting a c.txt file output, so i've pasted the bash
input/output below.

Thnx.

Sasha


sasha-lamberts-macbook-pro:mpich2-1.2.1p1 sashalambert$ sudo
/users/sashalambert/downloads/mpich2-1.2.1p1/configure
-prefix=/usr/local/bin/mpich2-install/ --enable-cxx --enable-f70
--enable-f90 --enable-threads=multiple --with-thread-package-posix
--enable-debuginfo 2>&1 | tee c.txt
tee: c.txt: Permission denied
Password:
Configuring MPICH2 version 1.2.1p1 with
 '-prefix=/usr/local/bin/mpich2-install/' '--enable-cxx' '--enable-f70'
'--enable-f90' '--enable-threads=multiple' '--with-thread-package-posix'
'--enable-debuginfo'
Running on system: Darwin sasha-lamberts-macbook-pro.local 10.4.0 Darwin
Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010;
root:xnu-1504.7.4~1/RELEASE_I386 i386
Executing mpich2prereq in
/users/sashalambert/downloads/mpich2-1.2.1p1/src/mpid/ch3 with
Executing mpich2prereq in
/users/sashalambert/downloads/mpich2-1.2.1p1/src/mpid/ch3/channels/nemesis
sourcing
/users/sashalambert/downloads/mpich2-1.2.1p1/src/pm/mpd/mpich2prereq
sourcing
/users/sashalambert/downloads/mpich2-1.2.1p1/src/pm/hydra/mpich2prereq
sourcing
/users/sashalambert/downloads/mpich2-1.2.1p1/src/pm/gforker/mpich2prereq
sourcing /users/sashalambert/downloads/mpich2-1.2.1p1/src/pm/mpd/setup_pm
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking whether the compiler defines __func__... yes
checking whether the compiler defines __FUNC__... no
checking whether the compiler sets __FUNCTION__... yes
checking whether C compiler accepts option -O2... yes
checking whether routines compiled with -O2 can be linked with ones compiled
without -O2... yes
checking for type of weak symbol alias support... no
checking whether __attribute__ ((weak)) allowed... yes
checking whether __attribute ((weak_import)) allowed... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking whether Fortran 77 compiler accepts option -O2... yes
checking whether routines compiled with -O2 can be linked with ones compiled
without -O2... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran...
 -L/usr/local/lib/gcc/i386-apple-darwin9.0.0/4.3.0
-L/usr/local/lib/gcc/i386-apple-darwin9.0.0/4.3.0/../../.. -lgfortranbegin
-lgfortran
checking whether gfortran accepts the FLIBS found by autoconf... yes
checking whether C can link with
 -L/usr/local/lib/gcc/i386-apple-darwin9.0.0/4.3.0
-L/usr/local/lib/gcc/i386-apple-darwin9.0.0/4.3.0/../../.. -lgfortranbegin
-lgfortran... yes
checking for linker for Fortran main programs... Use Fortran to link
programs
checking whether Fortran 77 and C objects are compatible... no
checking for file... file
configure: error: ****  Incompatible Fortran and C Object File Types!  ****
F77 Object File Type produced by "gfortran  -O2" is : : Mach-O object i386.
 C  Object File Type produced by "gcc  -O2" is : : Mach-O 64-bit object
x86_64.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100812/fe077533/attachment.htm>


More information about the mpich-discuss mailing list