[mpich-discuss] MPICH 3.1rc2 build error on Darwin.
Jeff Hammond
jeff.science at gmail.com
Mon Jan 13 09:06:55 CST 2014
I always build MPICH from git by hand. MacPorts broke my toolchain such that I could not compile MPICH or MPI-free Fortran applications. I believe GCC and/or binutils stuff was improperly told to generate/work with 32bit objects. Replacing MacPorts with Homebrew solved my problems. I suppose I could have reinstalled MacPorts (since it worked fine for me for over a year before self-destructing) but an expert advised me to switch.
Jeff
Sent from my iPhone
> On Jan 13, 2014, at 12:39 AM, "Eric A. Borisch" <eborisch at gmail.com> wrote:
>
> He's building with icc/ifort, so it's not being done via MacPorts. I don't think he even needs MP or Homebrew installed to build MPICH, just Intel's tools (and Xcode).
>
> Building with 'make V=1' (or configuring with --disable-silent-rules) will provide more insight into what is going on. If you do have MP or Homebrew installed, you can rule out most interaction by removing their locations (/opt/local/bin, or /usr/local/bin, respectively) from PATH.
>
> Jeff, I'm sorry to year you were unhappy with the (MP) tools. FWIW, it's been reworked to have a standardized MPICH version (with GCC's Fortan and the system's default C compiler) that is installed for use by any (macports-built) package that needs it.
>
> Thanks,
> - Eric
>
>> On Sunday, January 12, 2014, Jeff Hammond wrote:
>> Might be the MacPorts garbage that bit me a while back too. If GCC fails, I suggest wiping MacPorts and installing Homebrew and the associated toolchain.
>>
>> Jeff
>>
>> Sent from my iPhone
>>
>> > On Jan 12, 2014, at 7:58 PM, Rajeev Thakur <thakur at mcs.anl.gov> wrote:
>> >
>> > It sounds like a 32-bit, 64-bit incompatibility between some installed compilers/linker. Are you able to build with gcc?
>> >
>> >
>> >> On Jan 10, 2014, at 3:09 PM, "Salmon, Rene" <salmr0 at bp.com> wrote:
>> >>
>> >>
>> >> Hi,
>> >>
>> >> Just trying to build MPICH 3.1rc2 on a Mac. The build seems to work but fails while trying to compile the examples. This is using the intel compilers.
>> >>
>> >> ifort,icc version 14.0.0.074
>> >>
>> >> Here is the config line.
>> >> ./configure CC=icc CXX=icpc F77=ifort FC=ifort --enable-fc
>> >>
>> >>
>> >> error message.
>> >>
>> >> make[4]: Nothing to be done for `all'.
>> >> make[4]: Nothing to be done for `all-am'.
>> >> Making all in .
>> >> Making all in .
>> >> Making all in examples
>> >> CCLD cpi
>> >> Undefined symbols for architecture x86_64:
>> >> "_MPI_Bcast", referenced from:
>> >> _main in cpi.o
>> >> "_MPI_Comm_rank", referenced from:
>> >> _main in cpi.o
>> >> "_MPI_Comm_size", referenced from:
>> >> _main in cpi.o
>> >> "_MPI_Finalize", referenced from:
>> >> _main in cpi.o
>> >> "_MPI_Get_processor_name", referenced from:
>> >> _main in cpi.o
>> >> "_MPI_Init", referenced from:
>> >> _main in cpi.o
>> >> "_MPI_Reduce", referenced from:
>> >> _main in cpi.o
>> >> "_MPI_Wtime", referenced from:
>> >> _main in cpi.o
>> >> ld: symbol(s) not found for architecture x86_64
>> >> make[2]: *** [cpi] Error 1
>> >> make[1]: *** [all-recursive] Error 1
>> >> make: *** [all] Error 2
>> >>
>> >> Thank you.
>> >>
>> >> Rene
>> >> _______________________________________________
>> >> discuss mailing list discuss at mpich.org
>> >> To manage subscription options or unsubscribe:
>> >> https://lists.mpich.org/mailman/listinfo/discuss
>> >
>> > _______________________________________________
>> > discuss mailing list discuss at mpich.org
>> > To manage subscription options or unsubscribe:
>> > https://lists.mpich.org/mailman/listinfo/discuss
>> _______________________________________________
>> discuss mailing list discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140113/a3a53f1e/attachment.html>
More information about the discuss
mailing list