On Thu, Jan 19, 2012 at 8:06 AM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
hdf5.py is messed up, it starts with crap from a patch??? Please fix<br></blockquote><div><br></div><div>HDF5 in their infinite wisdom run tests in the same make target as the build. One of the Fortran</div><div>tests breaks on the Mac. The only solution that worked for me was to disable that test with a</div>
<div>patch for the source. I mailed them this problem with no response. Feel free to fix this in a way</div><div>that satisfies you aesthetically.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
import config.package<br>
import os<br>
<br>
testPatch = '''\<br>
Index: fortran/test/tH5Sselect.f90<br>
===================================================================<br>
--- fortran/test/tH5Sselect.f90 2011-10-20 09:37:20.000000000 -0400<br>
+++ fortran/test/tH5Sselect.f90 2011-10-20 09:38:22.000000000 -0400<br>
@@ -1884,13 +1884,13 @@<br>
CALL check("H5Soffset_simple_f", error, total_error)<br>
<br>
! /* Set "regular" hyperslab selection */<br>
- start(1:2) = 2<br>
+ !start(1:2) = 2<br>
stride(1:2) = 10<br>
count(1:2) = 4<br>
block(1:2) = 5<br>
<br>
- CALL h5sselect_hyperslab_f(sid, H5S_SELECT_SET_F, start, &<br>
- count, error, stride, block)<br>
+ !CALL h5sselect_hyperslab_f(sid, H5S_SELECT_SET_F, start, &<br>
+ ! count, error, stride, block)<br>
CALL check("h5sselect_hyperslab_f", error, total_error)<br>
<br>
!/* Get bounds for hyperslab selection */<br>
@@ -1931,13 +1931,13 @@<br>
CALL check("H5Soffset_simple_f", error, total_error)<br>
<br>
! /* Make "irregular" hyperslab selection */<br>
- start(1:2) = 20<br>
+ !start(1:2) = 20<br>
stride(1:2) = 20<br>
count(1:2) = 2<br>
block(1:2) = 10<br>
<br>
- CALL h5sselect_hyperslab_f(sid, H5S_SELECT_OR_F, start, &<br>
- count, error, stride, block)<br>
+ !CALL h5sselect_hyperslab_f(sid, H5S_SELECT_OR_F, start, &<br>
+ ! count, error, stride, block)<br>
CALL check("h5sselect_hyperslab_f", error, total_error)<br>
<br>
!/* Get bounds for hyperslab selection */<br>
'''<br>
<br>
class Configure(config.package.Package):<br>
def __init__(self, framework):<br>
config.package.Package.__init__(self, framework)<br>
self.download = ['<a href="http://ftp.mcs.anl.gov/pub/petsc/externalpackages/hdf5-1.8.6.tar.gz" target="_blank">http://ftp.mcs.anl.gov/pub/petsc/externalpackages/hdf5-1.8.6.tar.gz</a>']<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>