small correction, this is the precise brew command you need to access hdf5 brew tap homebrew/science
> On Jul 14, 2015, at 12:06 PM, Pierre de Buyl <[email protected]> > wrote: > > Hi, > > I am out of guesses on what to try next. I never had any issue building HDF5 > on > mac or linux. On mac this was before the move to clang though. > > A final advice though: have a consistent developer environment. one of > icc+ifort, gcc+gfortran, etc. make sure to build everything with that same > environmnent (including compiler versions), that is szip if you use it, etc. > the > parallel system must use the same compilers. > > If you want to proceed step wise you could make sure that you are able to > compile and use the regular C HDF5 library, then use the parallel version (to > obtain h5pcc) and then add fortran to obtain h5pfc. > > always clean up your build directory (by deleting the build directory and > re-unpacking the tar file for instance) and the installation location. > > If you still do not succeed, you may want to find local assistance (sys admin, > hpc user, it support, etc). > > Regards, > > Pierre > > On Sun, Jul 12, 2015 at 06:38:33PM +0300, Elisabetta Strazzeri wrote: >> Hello, >> >> I've run the ./configure in my Mac in this way: >> >> ./configure --prefix=/usr/local --enable-fortran --enable-cxx >> --with-szlib=/usr/lib >> >> and I typed : make but at the end a lot of errors were found: >> >> *./H5f90proto.h:100:16: **error: **function cannot return function type >> 'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f >> *access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id); >> >> * ^* >> >> *./H5f90proto.h:83:46: **note: *expanded from macro 'nh5fcreate_c' >> >> #define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C) >> >> * ^* >> >> *./H5f90proto.h:100:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:83:47: **note: *expanded from macro 'nh5fcreate_c' >> >> #define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C) >> >> * ^* >> >> *./H5f90proto.h:101:16: **error: **function cannot return function type >> 'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags, >> hid_t_f *acc_prp, hid_t_f *file_id); >> >> * ^* >> >> *./H5f90proto.h:86:46: **note: *expanded from macro 'nh5fopen_c' >> >> #define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C) >> >> * ^* >> >> *./H5f90proto.h:101:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:86:47: **note: *expanded from macro 'nh5fopen_c' >> >> #define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C) >> >> * ^* >> >> *./H5f90proto.h:102:16: **error: **function cannot return function type >> 'int_f (_fcd, int_f *, int_f *)'* >> >> H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag); >> >> * ^* >> >> *./H5f90proto.h:87:46: **note: *expanded from macro 'nh5fis_hdf5_c' >> >> #define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C) >> >> * ^* >> >> *./H5f90proto.h:102:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:87:47: **note: *expanded from macro 'nh5fis_hdf5_c' >> >> #define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C) >> >> * ^* >> >> *./H5f90proto.h:103:16: **error: **function cannot return function type >> 'int_f (hid_t_f *)'* >> >> H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id); >> >> * ^* >> >> *./H5f90proto.h:85:46: **note: *expanded from macro 'nh5fclose_c' >> >> #define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C) >> >> * ^* >> >> *./H5f90proto.h:103:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:85:47: **note: *expanded from macro 'nh5fclose_c' >> >> #define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C) >> >> * ^* >> >> *./H5f90proto.h:104:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen, >> hid_t_f *file_id, hid_t_f *acc_prp); >> >> * ^* >> >> *./H5f90proto.h:88:46: **note: *expanded from macro 'nh5fmount_c' >> >> #define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C) >> >> * ^* >> >> *./H5f90proto.h:104:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:88:47: **note: *expanded from macro 'nh5fmount_c' >> >> #define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C) >> >> * ^* >> >> *./H5f90proto.h:105:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, _fcd, int_f *)'* >> >> H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f >> *namelen); >> >> * ^* >> >> *./H5f90proto.h:89:46: **note: *expanded from macro 'nh5funmount_c' >> >> #define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C) >> >> * ^* >> >> *./H5f90proto.h:105:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:89:47: **note: *expanded from macro 'nh5funmount_c' >> >> #define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C) >> >> * ^* >> >> *./H5f90proto.h:106:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2); >> >> * ^* >> >> *./H5f90proto.h:90:46: **note: *expanded from macro 'nh5freopen_c' >> >> #define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C) >> >> * ^* >> >> *./H5f90proto.h:106:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:90:47: **note: *expanded from macro 'nh5freopen_c' >> >> #define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C) >> >> * ^* >> >> *./H5f90proto.h:107:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id); >> >> * ^* >> >> *./H5f90proto.h:91:46: **note: *expanded from macro 'nh5fget_create_plist_c' >> >> #define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c, >> H5FGET_CREATE_PLIST_C) >> >> * ^* >> >> *./H5f90proto.h:107:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:91:47: **note: *expanded from macro 'nh5fget_create_plist_c' >> >> #define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c, >> H5FGET_CREATE_PLIST_C) >> >> * ^* >> >> *./H5f90proto.h:108:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, hid_t_f *)'* >> >> H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f >> *access_id); >> >> * ^* >> >> *./H5f90proto.h:92:46: **note: *expanded from macro 'nh5fget_access_plist_c' >> >> #define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c, >> H5FGET_ACCESS_PLIST_C) >> >> * ^* >> >> *./H5f90proto.h:108:16: **error: **a parameter list without types is only >> allowed in a function definition* >> >> *./H5f90proto.h:92:47: **note: *expanded from macro 'nh5fget_access_plist_c' >> >> #define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c, >> H5FGET_ACCESS_PLIST_C) >> >> * ^* >> >> *./H5f90proto.h:109:16: **error: **function cannot return function type >> 'int_f (hid_t_f *, int_f *, size_t_f *)'* >> >> H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type, >> size_t_f *obj_count); >> >> * ^* >> >> *./H5f90proto.h:93:46: **note: *expanded from macro 'nh5fget_obj_count_c' >> >> #define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c, >> H5FGET_OBJ_COUNT_C) >> >> * ^* >> >> *fatal error: *too many errors emitted, stopping now [-ferror-limit=] >> >> 20 errors generated. >> >> make[3]: *** [H5f90kit.lo] Error 1 >> >> make[2]: *** [all] Error 2 >> >> make[1]: *** [all-recursive] Error 1 >> >> make: *** [all-recursive] Error 1 >> >> ///////////////////////////////////////////////////////////////////////////// >> >> How can I remove these errors and install completely hdf5? >> >> Thank you very much >> >> My Kindest Regards > >> _______________________________________________ >> 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 > > > -- > ----------------------------------------------------------- > Pierre de Buyl > KU Leuven - Institute for Theoretical Physics > T +32 16 3 27355 > W http://pdebuyl.be/ > ----------------------------------------------------------- > > _______________________________________________ > 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
