summaryrefslogtreecommitdiffstats
path: root/fortran/examples/grpsexample.f90
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/examples/grpsexample.f90')
-rw-r--r--fortran/examples/grpsexample.f909
1 files changed, 9 insertions, 0 deletions
diff --git a/fortran/examples/grpsexample.f90 b/fortran/examples/grpsexample.f90
index abbc6ea..2761732 100644
--- a/fortran/examples/grpsexample.f90
+++ b/fortran/examples/grpsexample.f90
@@ -23,6 +23,10 @@
INTEGER(HID_T) :: group1_id, group2_id, group3_id ! Group identifiers
INTEGER :: error ! Error flag
+ !
+ ! Initialize FORTRAN interface.
+ !
+ CALL h5init_fortran_f(error)
!
! Create a new file using default properties.
@@ -56,4 +60,9 @@
!
CALL h5fclose_f(file_id, error)
+ !
+ ! Close FORTRAN interface.
+ !
+ CALL h5close_fortran_f(error)
+
END PROGRAM GRPSEXAMPLE