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

myh5ex_g_pwa_interface.c (76.7 KB)

arrheniusParam.csv (1007 Bytes)

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:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Gokop Goteng
Sent: Monday, January 13, 2014 11:34 PM
To: hdf-forum@lists.hdfgroup.org
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

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:hdf-forum-bounces@lists.hdfgroup.org] 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:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Gokop Goteng
Sent: Monday, January 13, 2014 11:34 PM
To: hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>
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

Hi Mohamad,
Thanks a lot! It works perfect!

···

On Tuesday, January 14, 2014 6:54 PM, Mohamad Chaarawi [via hdf-forum] <ml-node+s184993n4026854h56@n3.nabble.com> wrote:

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:[hidden email]] 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 [[hidden email]] On Behalf Of Gokop Goteng
Sent: Monday, January 13, 2014 11:34 PM
To: [hidden email]

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.
[hidden email]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

________________________________

If you reply to this email, your message will be added to the discussion below:http://hdf-forum.184993.n3.nabble.com/Errors-Compiling-C-Program-to-Create-HDF5-File-6-tp4026852p4026854.html
To unsubscribe from hdf-forum, click here.
NAML