<div dir="ltr">Hi Ian,<div><br></div><div>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 <a href="http://pastebin.com/ka7c3QT5">http://pastebin.com/ka7c3QT5</a> </div><div><br></div><div>Thanks for your help.</div><div><br></div><div>Comer</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 19, 2015 at 6:27 PM, Ian Hinder <span dir="ltr"><<a href="mailto:ian.hinder@aei.mpg.de" target="_blank">ian.hinder@aei.mpg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div class="h5"><div>On 19 May 2015, at 21:03, Comer Duncan <<a href="mailto:comer.duncan@gmail.com" target="_blank">comer.duncan@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">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:<div>.</div><div>.</div><div>.</div><div><div>Undefined symbols for architecture x86_64:</div><div> "MPI::Win::Free()", referenced from:</div><div> vtable for MPI::Win in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> vtable for MPI::Win in libthorn_Carpet.a(helpers.cc.o)</div><div> vtable for MPI::Win in libthorn_CarpetEvolutionMask.a(evolution_mask.cc.o)</div><div> vtable for MPI::Win in libthorn_CarpetIOASCII.a(ioascii.cc.o)</div><div> vtable for MPI::Win in libthorn_CarpetIOBasic.a(iobasic.cc.o)</div><div> vtable for MPI::Win in libthorn_CarpetIOHDF5.a(Input.cc.o)</div><div> vtable for MPI::Win in libthorn_CarpetIOHDF5.a(CarpetIOHDF5.cc.o)</div><div> ...</div><div> "MPI::Comm::Comm()", referenced from:</div><div> MPI::Intercomm::Merge(bool) const in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> MPI::Intracomm::Split(int, int) const in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> MPI::Intracomm::Create(MPI::Group const&) const in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> MPI::Graphcomm::Clone() const in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> MPI::Cartcomm::Clone() const in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> MPI::Intracomm::Clone() const in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> MPI::Intracomm::Create_graph(int, int const*, int const*, bool) const in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> ...</div><div> "MPI::Datatype::Free()", referenced from:</div><div> vtable for MPI::Datatype in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> vtable for MPI::Datatype in libthorn_Carpet.a(helpers.cc.o)</div><div> vtable for MPI::Datatype in libthorn_CarpetEvolutionMask.a(evolution_mask.cc.o)</div><div> vtable for MPI::Datatype in libthorn_CarpetIOASCII.a(ioascii.cc.o)</div><div> vtable for MPI::Datatype in libthorn_CarpetIOBasic.a(iobasic.cc.o)</div><div> vtable for MPI::Datatype in libthorn_CarpetIOHDF5.a(Input.cc.o)</div><div> vtable for MPI::Datatype in libthorn_CarpetIOHDF5.a(CarpetIOHDF5.cc.o)</div><div> ...</div><div> "_ompi_mpi_cxx_op_intercept", referenced from:</div><div> MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool) in libthorn_PeriodicCarpet.a(periodic.cc.o)</div><div> MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool) in libthorn_Carpet.a(helpers.cc.o)</div><div> MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool) in libthorn_CarpetEvolutionMask.a(evolution_mask.cc.o)</div><div> MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool) in libthorn_CarpetIOASCII.a(ioascii.cc.o)</div><div> MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool) in libthorn_CarpetIOBasic.a(iobasic.cc.o)</div><div> MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool) in libthorn_CarpetIOHDF5.a(Input.cc.o)</div><div> MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool) in libthorn_CarpetIOHDF5.a(CarpetIOHDF5.cc.o)</div><div> ...</div><div>ld: symbol(s) not found for architecture x86_64</div><div>collect2: error: ld returned 1 exit status</div><div>make[1]: *** [/Users/comerduncan/Cactus/exe/cactus_sim] Error 1</div><div>make: *** [sim] Error 2</div></div><div><br></div><div>Here is the build I did:</div><div><br></div><div>simfactory/bin/sim build --optionlist=/Users/comerduncan/Cactus/simfactory/mdb/optionlists/osx-macports.cfg<br></div><div><br></div><div>Can you please help me figure out what went wrong?</div></div></blockquote><div><br></div></div></div><div>Hi Comer,</div><div><br></div><div>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</div><div><br></div><div><span style="white-space:pre-wrap">        </span>rm -rf configs/sim</div><div><br></div><div>and then build, keeping all output:</div><div><br></div><div><span style="white-space:pre-wrap">        </span>simfactory/bin/sim build --optionlist=osx-macports.cfg >build.log 2>&1</div><div><br></div><div>You could then copy and paste build.log into <a href="http://pastebin.com" target="_blank">http://pastebin.com</a> and include the link in your reply (to avoid having a large attachment on the mailing list).</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div><span class="HOEnZb"><font color="#888888"><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>-- </div><div>Ian Hinder</div><div><a href="http://members.aei.mpg.de/ianhin" target="_blank">http://members.aei.mpg.de/ianhin</a></div></div></div></div></div>
</div>
<br></font></span></div></blockquote></div><br></div>