[mpich-discuss] MPICH 3.1rc2 build error on Darwin.

Jeff Hammond jeff.science at gmail.com
Sun Jan 12 21:51:21 CST 2014


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



More information about the discuss mailing list