It's actually line 435.
I had to remove a few lines in your file previously to account for the wrong 
input file you sent, and so it was line 427 in my modified file.

Thanks,
Mohamad


From: Hdf-forum [mailto:[email protected]] On Behalf Of 
Mohamad Chaarawi
Sent: Tuesday, January 14, 2014 7:54 AM
To: Gokop Goteng; HDF Users Discussion List
Subject: Re: [Hdf-forum] Errors Compiling C Program to Create HDF5 File (6)

It is not about the input file. I'm talking about the C source code file.
You are creating this dataset right after file create:
dset37 = H5Dcreate(file, DATASET37, H5T_IEEE_F32BE, space37, H5P_DEFAULT, 
H5P_DEFAULT, H5P_DEFAULT);
no intermediate groups have been created yet.
The solution is simple, just create the groups before this call!

You can use the search utility in your editor to look for dset37 and where it 
is created to fix this problem.


Thanks,
Mohamad


From: Hdf-forum [mailto:[email protected]] On Behalf Of 
Gokop Goteng
Sent: Monday, January 13, 2014 11:34 PM
To: [email protected]<mailto:[email protected]>
Subject: [Hdf-forum] Errors Compiling C Program to Create HDF5 File (6)

Dear Mohammed,
I could not see the dataset37 you have been referring on line 427, so I checked 
my files and I realised I sent the wrong input file. Please find attached the c 
code and the correct input files.
Kind regards
Gokop
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to