[petsc-dev] hdf5.py is messed up

Barry Smith bsmith at mcs.anl.gov
Thu Jan 19 08:06:36 CST 2012


   hdf5.py is messed up, it starts with crap from a patch??? Please fix

import config.package
import os

testPatch = '''\
Index: fortran/test/tH5Sselect.f90
===================================================================
--- fortran/test/tH5Sselect.f90	2011-10-20 09:37:20.000000000 -0400
+++ fortran/test/tH5Sselect.f90	2011-10-20 09:38:22.000000000 -0400
@@ -1884,13 +1884,13 @@
   CALL check("H5Soffset_simple_f", error, total_error)
 
   ! /* Set "regular" hyperslab selection */
-  start(1:2) = 2
+  !start(1:2) = 2
   stride(1:2) = 10
   count(1:2) = 4
   block(1:2) = 5
 
-  CALL h5sselect_hyperslab_f(sid, H5S_SELECT_SET_F, start, &
-       count, error, stride, block)
+  !CALL h5sselect_hyperslab_f(sid, H5S_SELECT_SET_F, start, &
+  !     count, error, stride, block)
   CALL check("h5sselect_hyperslab_f", error, total_error)
 
   !/* Get bounds for hyperslab selection */
@@ -1931,13 +1931,13 @@
   CALL check("H5Soffset_simple_f", error, total_error)
 
   ! /* Make "irregular" hyperslab selection */
-  start(1:2) = 20
+  !start(1:2) = 20
   stride(1:2) = 20
   count(1:2) = 2
   block(1:2) = 10
 
-  CALL h5sselect_hyperslab_f(sid, H5S_SELECT_OR_F, start, &
-       count, error, stride, block)
+  !CALL h5sselect_hyperslab_f(sid, H5S_SELECT_OR_F, start, &
+  !     count, error, stride, block)
   CALL check("h5sselect_hyperslab_f", error, total_error)
 
   !/* Get bounds for hyperslab selection */
'''

class Configure(config.package.Package):
  def __init__(self, framework):
    config.package.Package.__init__(self, framework)
    self.download     = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/hdf5-1.8.6.tar.gz']




More information about the petsc-dev mailing list