[Users] failed build on local mac osx yosemite

Erik Schnetter schnetter at cct.lsu.edu
Wed May 20 08:26:23 CDT 2015


Comer

Maybe you have two different MPI implementations installed. What is the
output of "/opt/local/bin/mpiCC -showme"? What is the output of "port
installed | grep mpi"?

-erik

On Wed, May 20, 2015 at 9:20 AM, Comer Duncan <comer.duncan at gmail.com>
wrote:

> Hi Ian,
>
> I did make sure that all ports mentioned in the osx-macports.cfg  file
> were done before attempting a build.  I've followed your suggestion on
> rebuilding and have pasted the build log to http://pastebin.com/ka7c3QT5
>
> Thanks for your help.
>
> Comer
>
>
> On Tue, May 19, 2015 at 6:27 PM, Ian Hinder <ian.hinder at aei.mpg.de> wrote:
>
>>
>> On 19 May 2015, at 21:03, Comer Duncan <comer.duncan at gmail.com> wrote:
>>
>> I have tried to build the new release on my local macbook. I am running
>> Yosemite and am using the optionlist for macports.  Here is the part of the
>> make which chokes:
>> .
>> .
>> .
>> Undefined symbols for architecture x86_64:
>>   "MPI::Win::Free()", referenced from:
>>       vtable for MPI::Win in libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       vtable for MPI::Win in libthorn_Carpet.a(helpers.cc.o)
>>       vtable for MPI::Win in
>> libthorn_CarpetEvolutionMask.a(evolution_mask.cc.o)
>>       vtable for MPI::Win in libthorn_CarpetIOASCII.a(ioascii.cc.o)
>>       vtable for MPI::Win in libthorn_CarpetIOBasic.a(iobasic.cc.o)
>>       vtable for MPI::Win in libthorn_CarpetIOHDF5.a(Input.cc.o)
>>       vtable for MPI::Win in libthorn_CarpetIOHDF5.a(CarpetIOHDF5.cc.o)
>>       ...
>>   "MPI::Comm::Comm()", referenced from:
>>       MPI::Intercomm::Merge(bool) const in
>> libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       MPI::Intracomm::Split(int, int) const in
>> libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       MPI::Intracomm::Create(MPI::Group const&) const in
>> libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       MPI::Graphcomm::Clone() const in
>> libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       MPI::Cartcomm::Clone() const in
>> libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       MPI::Intracomm::Clone() const in
>> libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       MPI::Intracomm::Create_graph(int, int const*, int const*, bool)
>> const in libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       ...
>>   "MPI::Datatype::Free()", referenced from:
>>       vtable for MPI::Datatype in libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       vtable for MPI::Datatype in libthorn_Carpet.a(helpers.cc.o)
>>       vtable for MPI::Datatype in
>> libthorn_CarpetEvolutionMask.a(evolution_mask.cc.o)
>>       vtable for MPI::Datatype in libthorn_CarpetIOASCII.a(ioascii.cc.o)
>>       vtable for MPI::Datatype in libthorn_CarpetIOBasic.a(iobasic.cc.o)
>>       vtable for MPI::Datatype in libthorn_CarpetIOHDF5.a(Input.cc.o)
>>       vtable for MPI::Datatype in
>> libthorn_CarpetIOHDF5.a(CarpetIOHDF5.cc.o)
>>       ...
>>   "_ompi_mpi_cxx_op_intercept", referenced from:
>>       MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype
>> const&), bool) in libthorn_PeriodicCarpet.a(periodic.cc.o)
>>       MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype
>> const&), bool) in libthorn_Carpet.a(helpers.cc.o)
>>       MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype
>> const&), bool) in libthorn_CarpetEvolutionMask.a(evolution_mask.cc.o)
>>       MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype
>> const&), bool) in libthorn_CarpetIOASCII.a(ioascii.cc.o)
>>       MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype
>> const&), bool) in libthorn_CarpetIOBasic.a(iobasic.cc.o)
>>       MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype
>> const&), bool) in libthorn_CarpetIOHDF5.a(Input.cc.o)
>>       MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype
>> const&), bool) in libthorn_CarpetIOHDF5.a(CarpetIOHDF5.cc.o)
>>       ...
>> ld: symbol(s) not found for architecture x86_64
>> collect2: error: ld returned 1 exit status
>> make[1]: *** [/Users/comerduncan/Cactus/exe/cactus_sim] Error 1
>> make: *** [sim] Error 2
>>
>> Here is the build I did:
>>
>> simfactory/bin/sim build
>> --optionlist=/Users/comerduncan/Cactus/simfactory/mdb/optionlists/osx-macports.cfg
>>
>> Can you please help me figure out what went wrong?
>>
>>
>> Hi Comer,
>>
>> My guess would be that there might be more than one version of MPI
>> installed, or something in the MPI configuration script didn't work quite
>> right.  Did you install all the ports recommended in the comment in the
>> os-macports.cfg optionlist?  Can you post the output from the full build?
>> I suggest to remove the configuration
>>
>> rm -rf configs/sim
>>
>> and then build, keeping all output:
>>
>> simfactory/bin/sim build --optionlist=osx-macports.cfg >build.log 2>&1
>>
>> You could then copy and paste build.log into http://pastebin.com and
>> include the link in your reply (to avoid having a large attachment on the
>> mailing list).
>>
>> --
>> Ian Hinder
>> http://members.aei.mpg.de/ianhin
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
>
>


-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20150520/09ab242a/attachment-0001.html 


More information about the Users mailing list