summaryrefslogtreecommitdiffstats
path: root/fortran/config/dec-flags
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/config/dec-flags')
-rw-r--r--fortran/config/dec-flags30
1 files changed, 30 insertions, 0 deletions
diff --git a/fortran/config/dec-flags b/fortran/config/dec-flags
index 7e3eaf8..186e6fb 100644
--- a/fortran/config/dec-flags
+++ b/fortran/config/dec-flags
@@ -63,3 +63,33 @@ if test X = "X$cc_flags_set"; then
cc_vendor=
cc_version=
fi
+
+# The default Fortran 90 compiler
+
+#
+# HDF5 integers
+#
+# R_LARGE is the number of digits for the bigest integer supported.
+# R_INTEGER is the number of digits in INTEGER
+#
+# (for the Digital UNIX architechture)
+#
+R_LARGE=18
+R_INTEGER=9
+HSIZE_T='SELECTED_INT_KIND(R_LARGE)'
+HSSIZE_T='SELECTED_INT_KIND(R_LARGE)'
+HID_T='SELECTED_INT_KIND(R_INTEGER)'
+SIZE_T='SELECTED_INT_KIND(R_LARGE)'
+OBJECT_NAMELEN_DEFAULT_F=-1
+
+if test "X-" = "X-$F9X"; then
+ F9X=f90
+fi
+
+if test "X-" = "X-$f9x_flags_set"; then
+ FFLAGS="-Olimit 2048 -std1"
+ DEBUG_FFLAGS="-Olimit 2048 -std1"
+ PROD_FFLAGS="-Olimit 2048 -std1"
+ PROFILE_FFLAGS="-Olimit 2048 -std1"
+ f9x_flags_set=yes
+fi