{"id":513,"date":"2013-04-29T11:00:48","date_gmt":"2013-04-29T11:00:48","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=513"},"modified":"2016-12-06T15:07:42","modified_gmt":"2016-12-06T15:07:42","slug":"hdf","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/hdf\/","title":{"rendered":"HDF"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>HDF (Hierarchical Data Format) is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of large complex datasets. <\/p>\n<p>The following versions are available:<\/p>\n<ul>\n<li>v1.8.6 built with the Intel 11.1.064 fortran compiler<\/li>\n<li>v1.8.7 built with the GNU C compiler<\/li>\n<li>v1.8.11 built with the Open64 4.5.2 compiler for AMD Bulldozer only<\/li>\n<li>v1.8.11 built with the PGI 12.10 compiler for AMD Bulldozer only<\/li>\n<li>v1.8.16 built with the GNU C compiler<\/li>\n<li>v1.8.16-mpi built with the GNU C compiler, MPI I\/O enabled, no C++ interface<\/li>\n<li>v1.8.16 built with the Intel 15.0.3 C and Fortran compilers<\/li>\n<\/ul>\n<p>If you require a version compiled with a particular compiler please contact us via <a href=\"&#x69;&#116;s&#x2d;&#114;i&#x2d;&#x74;&#101;&#x61;&#x6d;&#64;m&#x61;&#110;c&#x68;&#x65;&#115;&#x74;&#x65;&#114;&#46;&#x61;&#99;&#46;&#x75;&#x6b;\">&#x69;&#x74;&#115;-r&#x69;&#x2d;&#116;&#101;a&#x6d;&#x40;&#109;&#97;n&#x63;&#x68;&#x65;&#115;te&#x72;&#x2e;&#97;&#99;&#46;&#x75;&#x6b;<\/a><\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on access.<\/p>\n<h2>Set up procedure<\/h2>\n<p>Load <strong>one<\/strong> of the following modulefiles to set up your environment:<\/p>\n<pre>\r\n# Includes MPI I\/O support but does <strong>not<\/strong> have the C++ interface compiled (a limitation of HDF)\r\nmodule load apps\/gcc\/hdf5\/1.8.16-mpi\r\n                 #\r\n                 # Before loading this modulefile you should load one of the\r\n                 # following MPI modulefiles:\r\n                 # module load mpi\/gcc\/openmpi\/1.6\r\n                 # module load mpi\/gcc\/openmpi\/1.6-ib\r\n\r\n\r\n# No MPI I\/O support but does have the C++ interface compiled.\r\nmodule load apps\/gcc\/hdf5\/1.8.16\r\nmodule load apps\/gcc\/hdf5\/1.8.7\r\n\r\n# Older Intel compiler build\r\nmodule load libs\/intel-11.1\/hdf\/5\/1.8.6            # Note the different hdf\/5\/ naming convention\r\n\r\n# Newer Intel compiler build\r\nmodule load libs\/intel-15.0\/hdf\/t\/1.8.16\r\n\r\n# Suitable for using on AMD Bulldozer\r\nmodule load libs\/open64-4.5.2\/hdf\/5\/1.8.11         # Note the different hdf\/5\/ naming convention\r\nmodule load libs\/pgi-12.10\/hdf\/5\/1.8.11-ib-amd-bd  # Note the different hdf\/5\/ naming convention\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>The modulefiles will set an environement variable named <code>HDF5DIR<\/code> which can then be used in your compilation process (e.g., in a Makefile) to access the header and library files:<\/p>\n<ul>\n<li>To inform the compiler of the header file directory use: <code>-I$HDF5DIR\/include<\/code> on the command line<\/li>\n<li>To inform the compiler of the library files use: <code>-L$HDF5DIR\/lib -lhdf5<\/code> on the command line<\/li>\n<li>In a Makefile use <code>$(HDF5DIR)<\/code> rather than <code>$HDF5DIR<\/code>.<\/li>\n<\/ul>\n<p>An example compilation command could be<\/p>\n<pre>\r\ngcc -I$HDF5DIR\/include ex_hdf5.c -o ex_hdf5 -L$HDF5DIR\/lib -lhdf5\r\n #\r\n # Use mpicc if compiling MPI code that uses the hdf5 library\r\n<\/pre>\n<p>The HDF &#8216;bin&#8217; directory is added to your path so that you can access the <code>h5<\/code> tools. Use <code>ls $HDF5BIN<\/code> to see all binary tools.<\/p>\n<h2>Further info<\/h2>\n<p>Example projects are available in <code>$HDF5DIR\/share\/hdf5_examples\/<\/code><\/p>\n<p>See the HDF website for <a href=\"http:\/\/www.hdfgroup.org\/HDF5\/\">full documentation<\/a>.<\/p>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview HDF (Hierarchical Data Format) is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of large complex datasets. The following versions are available: v1.8.6 built with the Intel 11.1.064 fortran compiler v1.8.7 built with the GNU C compiler v1.8.11 built with the Open64 4.5.2 compiler for AMD Bulldozer only v1.8.11 built with the PGI 12.10 compiler for AMD Bulldozer only v1.8.16 built with the GNU C.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/hdf\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-513","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=513"}],"version-history":[{"count":13,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/513\/revisions"}],"predecessor-version":[{"id":3480,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/513\/revisions\/3480"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/31"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/media?parent=513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}