CALL 
h5dread_f(dset_id,H5T_NATIVE_DOUBLE,phi,dims_file,herror,mem_space_id=memspace,file_space_id=filespace,xfer_prp=plist_id)

Hadi Zolfaghari
Ph.D. Candidate - Cardiovascular Engineering
ARTORG Center for Biomedical Engineering Research
University of Bern

Murtenstrasse 50, CH- 3008 Bern, Switzerland
Tel:  +41 31 632 7575
Fax: +41 31 632 7576
________________________________________
From: Hdf-forum [[email protected]] on behalf of Scot 
Breitenfeld [[email protected]]
Sent: Monday, October 19, 2015 4:38 PM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] h5aread_f

and how did you declare your arguments in h5aread_f in your program?

Scot

> On Oct 19, 2015, at 9:09 AM, [email protected] wrote:
>
> All flags in the install script:
>
> export CC=mpicc
> export CXX=mpicxx
> export FC=mpifort
> export LDFLAGS=-lnuma
>
>
>
> Hadi Zolfaghari
> Ph.D. Candidate - Cardiovascular Engineering
> ARTORG Center for Biomedical Engineering Research
> University of Bern
>
> Murtenstrasse 50, CH- 3008 Bern, Switzerland
> Tel:  +41 31 632 7575
> Fax: +41 31 632 7576
> ________________________________________
> From: Hdf-forum [[email protected]] on behalf of Scot 
> Breitenfeld [[email protected]]
> Sent: Monday, October 19, 2015 3:43 PM
> To: HDF Users Discussion List
> Subject: Re: [Hdf-forum] h5aread_f
>
> Can you show me how you declared your arguments in h5aread_f. Are you using 
> any compile flags to promote any integers or reals?
>
> Thanks,
> Scot
>
>> On Oct 18, 2015, at 7:51 PM, Richa Mathur <[email protected]> wrote:
>>
>> Hi
>> I am trying to read an attribute (N_Number_Of_Scans) that has the following 
>> path in the hdf file
>>
>> /Data_Products/TAMS-SDR/TAMS-SDR_Gran_0/N_Number_Of_Scans
>>
>> I use the following commands
>> use h5df
>> CALL h5dopen_f(file_id, "/Data_Products/TAMS-SDR/TAMS-SDR_Gran_0", dset_id, 
>> error)
>> print *,"DSET ID Gran`", dset_id
>> CALL h5aopen_name_f(dset_id,"N_Number_Of_Scans", attr_id, error)
>> CALL h5aread_f(attr_id, H5T_NATIVE_INTEGER, aread_data,ndata_dims , error)
>>
>> But I get the error
>> CALL h5aread_f(attr_id, H5T_NATIVE_INTEGER, aread_data,ndata_dims , error)
>>                                                                           1
>> Error: There is no specific subroutine for the generic 'h5aread_f' at (1)
>>
>> Any help
>> Gompie
>>
>> _______________________________________________
>> Hdf-forum is for HDF software users discussion.
>> [email protected]
>> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
>> Twitter: https://twitter.com/hdf5
>
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> Twitter: https://twitter.com/hdf5
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> Twitter: https://twitter.com/hdf5


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to