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 [hdf-forum-boun...@lists.hdfgroup.org] on behalf of Scot Breitenfeld [brtn...@hdfgroup.org] 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 <gompiemat...@gmail.com> 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. > Hdf-forum@lists.hdfgroup.org > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@lists.hdfgroup.org http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@lists.hdfgroup.org http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5