[MPICH] Problem during make when building for OS X 10.5, 64bit.
Rajeev Thakur
thakur at mcs.anl.gov
Wed Dec 12 16:40:29 CST 2007
You need to set CFLAGS to use the -m64 option as well.
Rajeev
> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Bryan Klein
> Sent: Wednesday, December 12, 2007 4:11 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: [MPICH] Problem during make when building for OS X
> 10.5, 64bit.
>
> I am using the source package for mpich2-1.0.6p1.
>
> I run configure with the following string:
> ./configure --enable-f90 --enable-sharedlibs=osx-gcc --disable-cxx
> 77=/opt/intel/fce/10.1.007/bin/ifort FFLAGS=-O3-axTP-heap-arrays-m64
> F90=/opt/intel/fce/10.1.007/bin/ifort
> F90FLAGS=-O3-axTP-heap-arrays-m64 2>&1 | tee c.txt
>
> configure runs successfully, then I type make and after running for a
> while I get:
>
> ranlib: archive member: ../../../lib/libmpich.a(setbotf.o) cputype
> (16777223) does not match previous archive members cputype (7) (all
> members must match)
> ranlib ../../../lib/libmpich.a
> ranlib: archive member: ../../../lib/libmpich.a(setbotf.o) cputype
> (16777223) does not match previous archive members cputype (7) (all
> members must match)
> ranlib: for architecture: i386 file: ../../../lib/libmpich.a(osserv.o)
> has no symbols
> make[3]: *** [.libstamp2] Error 1
> make[2]: *** [all-redirect] Error 1
> make[1]: *** [all-redirect] Error 2
> make: *** [all-redirect] Error 2
>
>
> Has anyone build mpich2 compatible with 64bit OS X 10.5.1 with Fortran
> support using ifort?
>
> Thank you for your help and advice,
> --
> Bryan Klein
> bryan.klein at nist.gov
>
> National Institute of Standards and Technology
> 100 Bureau Drive, Mail Stop 8663
> Gaithersburg MD 20899
> Phone: 301 975 5171
> Fax: 301 975 4052
>
>
More information about the mpich-discuss
mailing list