summaryrefslogtreecommitdiffstats
path: root/fortran/src
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2003-05-27 19:52:40 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2003-05-27 19:52:40 (GMT)
commitc84277c53f218cfebaa5731216add9109f999dca (patch)
tree64c7c9b2971189bc383f3dbd400589bf8ad14efa /fortran/src
parentf116c70ecc09792d3ea5ca85f738354d50a2e266 (diff)
downloadhdf5-c84277c53f218cfebaa5731216add9109f999dca.zip
hdf5-c84277c53f218cfebaa5731216add9109f999dca.tar.gz
hdf5-c84277c53f218cfebaa5731216add9109f999dca.tar.bz2
[svn-r6918]
Purpose: Support for Fortran Absoft compiler on Linux Description: Absoft has its own name translation rules for the names of C functions called from Fortran Solution: Added "if defined H5_ABSOFT" statement to the linux portion of the H5f90i.h file to define correct translations. For now, Fortran users who use ABSOFT fortran compiler have to specify -DH5_ABSOFT flag for their C compiler. Platforms tested: Remote laptop running SuSE8.1 with Absoft compiler, verbena with icc and ifc just to make sure that our current linux configuration still works. Since it is a pure Linux change, I didn't test it on other systems. Misc. update:
Diffstat (limited to 'fortran/src')
-rw-r--r--fortran/src/H5f90i.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fortran/src/H5f90i.h b/fortran/src/H5f90i.h
index 1c04008..465d9ff 100644
--- a/fortran/src/H5f90i.h
+++ b/fortran/src/H5f90i.h
@@ -104,6 +104,11 @@ typedef int int_f;
typedef int hid_t_f;
typedef float real_f;
#define FNAME_POST_UNDERSCORE
+#if defined H5_ABSOFT
+#define DF_CAPFNAMES
+#define FNAME(x) x
+#endif /*H5_ABSOFT*/
+
#define _fcdtocp(desc) (desc)
#endif /*LINUX*/