<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 27 May 2015, at 16:30, Roberto De Pietri &lt;<a href="mailto:roberto.depietri@unipr.it">roberto.depietri@unipr.it</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear Comer:<br><br>I would like to confirm you that Ian and Eric were able to correctly find out the problem that originated &nbsp;the build<br>problem on build using macports <br>* The HDF5 MacPorts port was updated from 1.8.14 to 1.8.15 on 16-May-2015<br> &nbsp;(<a href="https://trac.macports.org/log/trunk/dports/science/hdf5/Portfile">https://trac.macports.org/log/trunk/dports/science/hdf5/Portfile</a>), 2 days before the ET release<br>* HDF5 is undefining __attribute__, and this is creating site effect &nbsp;(caused by including hdf5.h)<br> &nbsp;that have standard c++ include to fail. This is true for gcc4.8 and gcc5.1<br>* A simple solution is to change the order of includes in the include &nbsp;file: <br> &nbsp;arrangements/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.hh. you can replace this include with the <br> &nbsp;one attached to the present mail.<br></blockquote><div><br></div><div>This seems like a viable workaround until the problem is fixed in HDF5, so I propose that it be implemented in CarpetIOHDF5 and backported to the release branch.</div><div><br></div><br><blockquote type="cite">* to have a fast start you may also copy the attached file: osx-macports.run in <br> &nbsp;&nbsp;simfactory/mdb/runscript.<br>* then set your local machine with the command<br><br><blockquote type="cite">simfactory/bin/sim setup<br></blockquote><br>* edit the local machine file you created (using the previous command) in simfactory/mdb/machine <br> &nbsp;to have:<br><br><br>*** ASSUMING MACPORT IS INSTALLED (subversion is needed cause the version that comes with XCOde<br>*** will not work [new XCODE 6.3.2 and MacPorts 2.3.3]<br><br><br>sudo port install subversion<br>sudo port install pkgconfig gcc49 fftw-3 gsl jpeg zlib hdf5 +fortran +gfortran openmpi openssl<br><br>### &nbsp;[FROM a MAIN DIRECTORY for the Cactus tree] &nbsp;<br><br>curl -kLO <a href="https://raw.githubusercontent.com/gridaphobe/CRL/ET_2015_05/GetComponents">https://raw.githubusercontent.com/gridaphobe/CRL/ET_2015_05/GetComponents</a><br>chmod a+x GetComponents<br>./GetComponents --parallel <a href="https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2015_05/einsteintoolkit.th">https://bitbucket.org/einsteintoolkit/manifest/raw/ET_2015_05/einsteintoolkit.th</a><br><br>### [the enter in the cactus directory]<br><br>cd Cactus<br><br>cp [where_you_save_it]/CarpetIOHDF5.hh &nbsp;&nbsp;arrangements/Carpet/CarpetIOHDF5/src/<br>cp [where_you_save_it]/osx-macports.run &nbsp;simfactory/mdb/runscript<br>simfactory/bin/sim setup<br><br>### [DO the local editing. In my case was the file named]<br>### the following line should be present<br>###<br>### &nbsp;optionlist &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= osx-macports.cfg<br>### &nbsp;runscript &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= osx-macports.run<br>### &nbsp;ppn &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 4<br>### &nbsp;max-num-threads = 4<br>### &nbsp;num-threads &nbsp;&nbsp;&nbsp;&nbsp;= 1<br>### &nbsp;nodes &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 1<br>###<br>### NOT: my machine is “iMac (27-inch, Late 2009)”<br>### &nbsp;&nbsp;OS X Yosemite 10.10.3<br>###<br>### &nbsp;&nbsp;Processor Name:<span class="Apple-tab-span" style="white-space:pre">        </span>Intel Core i5<br>### &nbsp;&nbsp;Processor Speed:<span class="Apple-tab-span" style="white-space:pre">        </span>2,66 GHz<br>### &nbsp;&nbsp;Number of Processors:<span class="Apple-tab-span" style="white-space:pre">        </span>1<br>### &nbsp;&nbsp;Total Number of Cores:<span class="Apple-tab-span" style="white-space:pre">        </span>4<br>### &nbsp;&nbsp;L2 Cache (per Core):<span class="Apple-tab-span" style="white-space:pre">        </span>256 KB<br>### &nbsp;&nbsp;L3 Cache:<span class="Apple-tab-span" style="white-space:pre">        </span>8 MB<br>### &nbsp;&nbsp;Memory:<span class="Apple-tab-span" style="white-space:pre">        </span>8 GB<br><br><br>simfactory/bin/sim build --thornlist thornlists/<a href="http://einsteintoolkit.th">einsteintoolkit.th</a> <br>simfactory/bin/sim create-run static_tov --parfile=par/static_tov.par --proc=4 --num-threads=2 <br><br>### Now the test TOV simulations should be running code is running on two process using two cores each.<br><br><br>## sudo port install python27<br>## sudo port select —set python python27<br>## sudo port install py-numpy py-scipy <br>## sudo port install py-matplotlib <br>## sudo port install py-h5py<br>## sudo port install py-ipython<br>## sudo port select —set ipython ipython27<br>##<br>##<br>## TO SEE THE RESULTS: <br><br><blockquote type="cite">ipython —-pylab<br></blockquote>In [..]: FILE='/Users/depietri/simulations/static_tov/output-0000/static_tov/hydrobase-rho.maximum.asc'<br>In [..]: d=loadtxt(FILE)<br>In [..]: plot(d[:,1],d[:,2]*1e3,'k-')<br>In [..]: ylim(1.25,1.30)<br>In [..]: xlabel(r’time &nbsp;&nbsp;[CU c=1, G=1, $M_\odot$=1]')<br>In [..]: ylabel(r'max($\rho \cdot 10^3$) &nbsp;&nbsp;[CU c=1, G=1, $M_\odot$=1]')<br>In [..]: <br><br><br><br><span>&lt;CarpetIOHDF5.hh&gt;</span><span>&lt;osx-macports.run&gt;</span><br>------------------------------------------------------------------<br>Roberto De Pietri &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e-mail:roberto.depietri@<a href="http://fis.unipr.it">fis.unipr.it</a><br>Dipartimento di Fisica &nbsp;&nbsp;<a href="http://www.fis.unipr.it/~roberto.depietri">http://www.fis.unipr.it/~roberto.depietri</a><br>Universita' di Parma &nbsp;&nbsp;&nbsp;&nbsp;tel: +39 (0521) 905280<br>Via G.P.Usberti 7/A &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fax: +39 (0521) 905223<br>I-43100 PARMA --- ITALY<br><br><br><br><br><br></blockquote></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>--&nbsp;</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>