hyperion-rt / hyperion

Hyperion Radiative Transfer Code
http://www.hyperion-rt.org
BSD 2-Clause "Simplified" License
52 stars 26 forks source link

HDF5 error: unable to read attribute #24

Closed keflavich closed 12 years ago

keflavich commented 12 years ago

On the successfully compiled version using ifort, I created a model and tried to run hyperion (the hyperion_cyl variant). This is the error I get:

$ hyperion simple_model.rtin simple_model.rtout
 ------------------------------------------------------------
 Hyperion v0.9.0
 Started on 07 October 2012 at 21:01:45
 Input:  simple_model.rtin
 Output: simple_model.rtout
 ------------------------------------------------------------

 WARNING: File exists:  simple_model.rtout
 The following command will be run:  rm simple_model.rtout
 Do you wish to continue? (y/n) 
y
HDF5-DIAG: Error detected in HDF5 (1.8.9) thread 0:
  #000: H5A.c line 1085 in H5Aread(): unable to read attribute
    major: Attribute
    minor: Read failed
  #001: H5A.c line 1145 in H5A_read(): unable to convert between src and dst datatypes
    major: Attribute
    minor: Feature is unsupported
  #002: H5T.c line 4481 in H5T_path_find(): no appropriate function for conversion path
    major: Datatype
    minor: Unable to initialize object
 -------------------------------------------------------------------------------
  HDF5 returned an error in hdf5_read_k_string [4]
  See above for traceback
 -------------------------------------------------------------------------------

  The program has terminated unexpectadly
Run did not complete successfully: output file appears to be corrupt

(note that the simple_model.rtout file existed from a previous identical run)

Is this a problem with my model setup? My HDF5 install?

Also, minor: unexpectadly -> unexpectedly.

astrofrog commented 12 years ago

Could you try updating to the latest (git) version of ATpy to see if that solves the issue?

keflavich commented 12 years ago

That solved it - once I re-wrote the .rtin file, it worked. Thanks.

astrofrog commented 12 years ago

Ok, thanks - in that case I should do a version check to make sure ATpy is recent enough.