<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Okay I'm assuming the -m64 CFLAGS is what I wanted, so thanks for that, but now i get the error that my fortran compiler is incompatibel with my GCC<div><br></div><div>Thanks,</div><div><br></div><div>D.<br><div><br></div><div><div><div>$ export CFLAGS=-m64; ./configure --prefix=/Users/russo/build/mpich2 --enable-sharedlibs=osx-gcc</div><div>Configuring MPICH2 version 1.1rc1 with &nbsp;'--prefix=/Users/russo/build/mpich2' '--enable-sharedlibs=osx-gcc' 'CFLAGS=-m64'</div><div>Running on system: Darwin kovalchuk.nedos.net 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386</div><div>Executing mpich2prereq in /Users/russo/build/mpich2-1.1rc1/src/mpid/ch3 with&nbsp;</div><div>Executing mpich2prereq in /Users/russo/build/mpich2-1.1rc1/src/mpid/ch3/channels/nemesis</div><div>sourcing /Users/russo/build/mpich2-1.1rc1/src/pm/mpd/mpich2prereq</div><div>sourcing /Users/russo/build/mpich2-1.1rc1/src/pm/hydra/mpich2prereq</div><div>sourcing /Users/russo/build/mpich2-1.1rc1/src/pm/gforker/mpich2prereq</div><div>sourcing /Users/russo/build/mpich2-1.1rc1/src/pm/mpd/setup_pm</div><div>checking for gcc... gcc</div><div>checking for C compiler default output file name... a.out</div><div>checking whether the C compiler works... yes</div><div>checking whether we are cross compiling... no</div><div>checking for suffix of executables...&nbsp;</div><div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div><div>checking whether gcc accepts -g... yes</div><div>checking for gcc option to accept ISO C89... none needed</div><div>checking how to run the C preprocessor... gcc -E</div><div>checking whether the compiler defines __func__... yes</div><div>checking whether the compiler defines __FUNC__... no</div><div>checking whether the compiler sets __FUNCTION__... yes</div><div>checking whether C compiler accepts option -O2... yes</div><div>checking whether routines compiled with -O2 can be linked with ones compiled without -O2... yes</div><div>checking for type of weak symbol alias support... no</div><div>checking whether __attribute__ ((weak)) allowed... yes</div><div>checking whether __attribute ((weak_import)) allowed... yes</div><div>checking for g77... no</div><div>checking for xlf... no</div><div>checking for f77... no</div><div>checking for frt... no</div><div>checking for pgf77... no</div><div>checking for cf77... no</div><div>checking for fort77... no</div><div>checking for fl32... no</div><div>checking for af77... no</div><div>checking for xlf90... no</div><div>checking for f90... no</div><div>checking for pgf90... no</div><div>checking for pghpf... no</div><div>checking for epcf90... no</div><div>checking for gfortran... no</div><div>checking for g95... g95</div><div>checking whether we are using the GNU Fortran 77 compiler... yes</div><div>checking whether g95 accepts -g... yes</div><div>checking whether Fortran 77 compiler accepts option -O2... yes</div><div>checking whether routines compiled with -O2 can be linked with ones compiled without -O2... yes</div><div>checking how to get verbose linking output from g95... -v</div><div>checking for Fortran 77 libraries of g95... &nbsp;-L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4/ -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4 -L/opt/local/lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4/ -L/usr/lib/gcc// -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4/// -L/opt/local/lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4/// -L/usr/lib// -lf95 -lm -lSystemStubs -lmx</div><div>checking whether g95 accepts the FLIBS found by autoconf... yes</div><div>checking whether C can link with &nbsp;-L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4/ -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4 -L/opt/local/lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4/ -L/usr/lib/gcc// -L/opt/local/bin/../lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4/// -L/opt/local/lib/gcc-lib/i386-apple-darwin9.6.0/4.0.4/// -L/usr/lib// -lf95 -lm -lSystemStubs -lmx... yes</div><div>checking for linker for Fortran main programs... Use Fortran to link programs</div><div>checking whether Fortran 77 and C objects are compatible... no</div><div>checking for file... file</div><div>configure: error: **** &nbsp;Incompatible Fortran and C Object File Types! &nbsp;****</div><div>F77 Object File Type produced by "g95 &nbsp;-O2" is : : Mach-O object i386.</div><div>&nbsp;C &nbsp;Object File Type produced by "gcc -m64 -O2" is : : Mach-O 64-bit object x86_64.</div><div><br></div></div><div><br></div><div><div>On Jun 1, 2009, at 17:30 , Rajeev Thakur wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Please send us the output of configure and make (the output printed on<br>the screen).<br><br>Rajeev <br><br><blockquote type="cite">-----Original Message-----<br></blockquote><blockquote type="cite">From: <a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a> <br></blockquote><blockquote type="cite">[<a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mailto:mpich-discuss-bounces@mcs.anl.gov</a>] On Behalf Of <br></blockquote><blockquote type="cite">Dmitry Nedospasov<br></blockquote><blockquote type="cite">Sent: Monday, June 01, 2009 6:00 AM<br></blockquote><blockquote type="cite">To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br></blockquote><blockquote type="cite">Subject: [mpich-discuss] MPICH2 on Mac OS x86-64<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-----BEGIN PGP SIGNED MESSAGE-----<br></blockquote><blockquote type="cite">Hash: SHA1<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hello,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm trying to compile MPICH2 for Mac OS, but the subsequent <br></blockquote><blockquote type="cite">mpi programs that i compile, complain that:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">ld warning: in /opt/local/lib/libcrypto.dylib, file is not of <br></blockquote><blockquote type="cite">required architecture<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I was curious is there a way to force the architecture to be <br></blockquote><blockquote type="cite">Mac OS x86-64?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Dmitry<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-----BEGIN PGP SIGNATURE-----<br></blockquote><blockquote type="cite">Version: GnuPG v1.4.9 (Darwin)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">iEYEARECAAYFAkojtJsACgkQdm82SADo56rOQwCeLA6ZZ6BgiSQhHaKpQH/lLeNT<br></blockquote><blockquote type="cite">4cMAnjj93Tte6yfuMYXKc2ebGD96z2Ii<br></blockquote><blockquote type="cite">=VyjT<br></blockquote><blockquote type="cite">-----END PGP SIGNATURE-----<br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br></div></div></body></html>