<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 19 Dec 2016, at 12:48, Eloisa Bentivegna <<a href="mailto:eloisa.bentivegna@ct.infn.it">eloisa.bentivegna@ct.infn.it</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 19/12/16 07:57, Guy Pitman wrote:<br><blockquote type="cite">Further to my last email on this issue, <br><br>Can anyone tell me what version of gcc we should be using for the install?<br>I notice that the Mac Homebrew installation refers to gcc46 - but there<br>seems to be a problem running that on a Mac (it seemed to install OK<br>under home-brew but I get segmentation fault 11- doing gcc-46 —version)<br>:googling this, clang (Apple's LLVM-based C compiler) is intended to be<br>a compatible replacement for gcc? I also tried gcc49 but that gives a<br>problem with linking. If I use the clang compiler, I get a problem with<br> the *unknown type*<br>* name ‘CCTK_COMPLEX16’ etc.*<br></blockquote><br>Hi Guy!<br><br>There is an open ticket about compiling Cactus with clang:<br><br><a href="https://trac.einsteintoolkit.org/ticket/1933">https://trac.einsteintoolkit.org/ticket/1933</a><br><br>so I assume this road will not work.<br></blockquote><div><br></div><div>You will also need a fortran compiler, and many other libraries, so using macports or homebrew is probably the easiest solution.</div><br><blockquote type="cite">I suggest using what is specified in the optionlist, which for homebrew<br>and the latest ET release is gcc-6. If you experience linking problems,<br>it's probably a completely different issue: in that case, post again to<br>the list with the exact error message and we can try and solve that too.<br></blockquote><div><br></div><div>It can be quite tricky to get all the different parts of the optionlist correct for compiling the ET. </div><div><br></div><div>Guy, have you followed the exact instructions in either the homebrew or macports optionlists? I imagine it's quite annoying if you already have different compilers etc installed using macports or homebrew. I don't know a good solution to this. I also see that the instructions at <a href="https://docs.einsteintoolkit.org/et-docs/Simplified_Tutorial_for_New_Users">https://docs.einsteintoolkit.org/et-docs/Simplified_Tutorial_for_New_Users</a> don't say "Read the top of the optionlist and install the required packages", which they probably should.</div></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>-- </div><div>Ian Hinder</div><div><a href="http://members.aei.mpg.de/ianhin">http://members.aei.mpg.de/ianhin</a></div></div></div></div></div>
</div>
<br></body></html>