<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Cormer:<div class=""><br class=""></div><div class="">till the problem is sorted out you can just have a try modifying just 3 files in CarpetIOHDF5/src</div><div class="">namely:</div><div class=""><br class=""></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">=======================================================</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">diff --git a/CarpetIOHDF5/src/</span><a href="http://GetAllActive.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">GetAllActive.cc</a><span style="font-family: Menlo-Regular; font-size: 11px;" class="">&nbsp;b/CarpetIOHDF5/src/</span><a href="http://GetAllActive.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">GetAllActive.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">index bb92f4a..bb5d2da 100644</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">--- a/CarpetIOHDF5/src/</span><a href="http://GetAllActive.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">GetAllActive.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+++ b/CarpetIOHDF5/src/</span><a href="http://GetAllActive.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">GetAllActive.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">@@ -8,8 +8,14 @@</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">&nbsp;@@*/</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;cassert&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">-</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;cstdlib&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;cstring&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;list&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;sstream&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;string&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;vector&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;map&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;algorithm&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include "cctk.h"</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">diff --git a/CarpetIOHDF5/src/</span><a href="http://Output.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">Output.cc</a><span style="font-family: Menlo-Regular; font-size: 11px;" class="">&nbsp;b/CarpetIOHDF5/src/</span><a href="http://Output.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">Output.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">index ecef6b8..da82b87 100644</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">--- a/CarpetIOHDF5/src/</span><a href="http://Output.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">Output.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+++ b/CarpetIOHDF5/src/</span><a href="http://Output.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">Output.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">@@ -1,7 +1,12 @@</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;cassert&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;cstdlib&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;cstring&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;list&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;sstream&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;string&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;vector&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;map&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;algorithm&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include "cctk.h"</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include "cctk_Arguments.h"</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">diff --git a/CarpetIOHDF5/src/</span><a href="http://OutputSlice.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">OutputSlice.cc</a><span style="font-family: Menlo-Regular; font-size: 11px;" class="">&nbsp;b/CarpetIOHDF5/src/</span><a href="http://OutputSlice.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">OutputSlice.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">index 43763fb..82a4db6 100644</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">--- a/CarpetIOHDF5/src/</span><a href="http://OutputSlice.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">OutputSlice.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+++ b/CarpetIOHDF5/src/</span><a href="http://OutputSlice.cc" style="font-family: Menlo-Regular; font-size: 11px;" class="">OutputSlice.cc</a><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">@@ -1,9 +1,12 @@</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;cassert&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">-#include &lt;cctype&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">-#include &lt;climits&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">-#include &lt;cmath&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;cstdlib&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;cstring&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;list&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;sstream&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;string&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;vector&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;map&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">+#include &lt;algorithm&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;map&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">#include &lt;string&gt;</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><br style="font-family: Menlo-Regular; font-size: 11px;" class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">========================================================</span><br style="font-family: Menlo-Regular; font-size: 11px;" class=""></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">Just these changes at the begining of the three files.</span></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">I am sorry not having more time for detail but here in Italy</span></div><div class=""><span style="font-family: Menlo-Regular; font-size: 11px;" class="">is already 7:00pn on &nbsp;Friday .&nbsp;</span></div><div class=""><br class=""></div><div class="">Roberto</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">Il giorno 22/mag/2015, alle ore 18:41, Comer Duncan &lt;<a href="mailto:comer.duncan@gmail.com" class="">comer.duncan@gmail.com</a>&gt; ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Ian,<div class=""><br class=""></div><div class="">I have downloaded a new version from scratch of Hilbert and have checked that I have installed all recommended macports, to wit:</div><div class=""><br class=""></div><div class=""><div class="">ComerMacProRetina:~ comerduncan$ port installed pkgconfig gcc49 fftw-3 gsl jpeg zlib hdf5 &nbsp;openmpi openssl</div><div class="">The following ports are currently installed:</div><div class="">&nbsp; fftw-3 @3.3.4_1 (active)</div><div class="">&nbsp; fftw-3 @3.3.4_1+universal</div><div class="">&nbsp; gcc49 @4.9.2_1 (active)</div><div class="">&nbsp; gsl @1.16_3 (active)</div><div class="">&nbsp; gsl @1.16_3+gcc46</div><div class="">&nbsp; hdf5 @1.8.13_0+cxx+gcc46</div><div class="">&nbsp; hdf5 @1.8.14_0+cxx+fortran+gfortran</div><div class="">&nbsp; hdf5 @1.8.14_0+cxx+gcc46</div><div class="">&nbsp; hdf5 @1.8.15_0+cxx+fortran+gfortran (active)</div><div class="">&nbsp; hdf5 @1.8.15_0+cxx+gcc46</div><div class="">&nbsp; jpeg @9a_1 (active)</div><div class="">&nbsp; openmpi @1.7.5_3 (active)</div><div class="">&nbsp; openssl @1.0.1j_0</div><div class="">&nbsp; openssl @1.0.1j_0+universal</div><div class="">&nbsp; openssl @1.0.2_0+universal</div><div class="">&nbsp; openssl @1.0.2a_0</div><div class="">&nbsp; openssl @1.0.2a_0+universal (active)</div><div class="">&nbsp; pkgconfig @0.28_0 (active)</div><div class="">&nbsp; zlib @1.2.8_0</div><div class="">&nbsp; zlib @1.2.8_0+universal (active)</div></div><div class=""><br class=""></div><div class="">I then put in the new version of <a href="http://detect.pl/" class="">detect.pl</a> that Frank recommended.&nbsp; When I build using the osx-macports config file, I still (today!) get a crash before the build completes.&nbsp; I am sort of at a loss about what to do further. I could completely nuke macports and reinstall all, which will take quite a while, but can do that if there is a good chance that it will help. &nbsp;</div><div class=""><br class=""></div><div class="">Do you have some recommendations of other things to try before the nuke option?</div><div class=""><br class=""></div><div class="">Thanks.</div><div class=""><br class=""></div><div class="">Comer</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, May 22, 2015 at 12:34 PM, Ian Hinder <span dir="ltr" class="">&lt;<a href="mailto:ian.hinder@aei.mpg.de" target="_blank" class="">ian.hinder@aei.mpg.de</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><br class=""><div class=""><span class=""><div class="">On 22 May 2015, at 16:10, Roberto De Pietri &lt;<a href="mailto:roberto.depietri@unipr.it" target="_blank" class="">roberto.depietri@unipr.it</a>&gt; wrote:</div><br class=""><blockquote type="cite" class="">Hi Ian:<br class=""><br class=""><br class="">Thanks for the answer. I followed exactly your procedure and I was very surprised of having<br class="">a failing compilation. Than I starting tracing back the problem. <br class="">* All the thorns except one were compiling correctly.<br class="">* The failing thorn was CarpetIOHDF5 and of the 5 source files present only 3 failed<br class="">* The error was very strange because the only real problem was related to <br class=""> &nbsp;a system include “/opt/local/lib/gcc49/gcc/x86_64-apple-darwin14/4.9.2/include/mmintrin.h”<br class=""> &nbsp;and was related to conversion using AVX intel intrinsic. The error were of the type:<br class=""><br class=""> &nbsp;error: can’t convert between vector values of different size<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);<br class=""></blockquote><div class=""><br class=""></div></span><div class="">There is a stackoverflow post (<a href="http://stackoverflow.com/questions/19043109/gcc-4-8-1-combining-c-code-with-c11-code" target="_blank" class="">http://stackoverflow.com/questions/19043109/gcc-4-8-1-combining-c-code-with-c11-code</a> ) which describes a similar problem, which I haven't studied in depth, but they seem to suggest that it's a bug in gcc, and that setting --std=gnu++11&nbsp;instead of --std=c++11 in CXXFLAGS will work around the problem.&nbsp; We currently have</div><div class=""><br class=""></div><div class=""><div class=""><span style="white-space:pre-wrap" class="">        </span>CXXFLAGS = -g -std=c++14</div><div class=""><br class=""></div><div class="">so I'm guessing that changing this to</div><div class=""><br class=""></div><div class=""><div class=""><span style="white-space:pre-wrap" class="">        </span>CXXFLAGS = -g -std=gnu++14</div></div><div class=""><br class=""></div><div class="">might have the same effect.</div></div><div class=""><br class=""></div><div class="">What I don't understand is why we didn't pick this up in testing.&nbsp; I successfully compiled the whole ET using exactly that set of MacPorts packages and the optionlist before the release, and the gcc49 macports package hasn't been updated since 4 weeks ago.</div><div class=""><br class=""></div><div class="">When you say you followed exactly my procedure, do you mean that you get the above compilation problem even when you have only the ports listed in the optionlist installed, and have not installed anything else, such as gcc5 or the python packages? &nbsp;</div><div class=""><br class=""></div></div><span class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div class="">--&nbsp;</div><div class="">Ian Hinder</div><div class=""><a href="http://members.aei.mpg.de/ianhin" target="_blank" class="">http://members.aei.mpg.de/ianhin</a></div></div></div></div></div>
</div>
<br class=""></span></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div class=""><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span><span class="Apple-style-span" style="font-family: monospace; ">------------------------------------------------------------------</span><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span><span class="Apple-style-span" style="font-family: monospace; ">Roberto De Pietri &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e-mail:</span><span class="Apple-style-span" style="font-family: monospace; "><a href="mailto:roberto.depietri@fis.unipr.it" class="">roberto.depietri@fis.unipr.it</a></span><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span><span class="Apple-style-span" style="font-family: monospace; ">Dipartimento di Fisica &nbsp;&nbsp;</span><span class="Apple-style-span" style="font-family: monospace; "><a href="http://www.fis.unipr.it/~roberto.depietri" class="">http://www.fis.unipr.it/~roberto.depietri</a></span><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span><span class="Apple-style-span" style="font-family: monospace; ">Universita' di Parma &nbsp;&nbsp;&nbsp;&nbsp;tel: +39 (0521) 905280</span><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span><span class="Apple-style-span" style="font-family: monospace; ">Via G.P.Usberti 7/A &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fax: +39 (0521) 905223</span><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span><span class="Apple-style-span" style="font-family: monospace; ">I-43100 PARMA --- ITALY</span><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span><span class="Apple-style-span" style="font-family: monospace; "><br class=""></span></div><div class=""><br class=""></div></span><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>