mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
[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:
This commit is contained in:
parent
f116c70ecc
commit
c84277c53f
@ -104,6 +104,11 @@ typedef int int_f;
|
|||||||
typedef int hid_t_f;
|
typedef int hid_t_f;
|
||||||
typedef float real_f;
|
typedef float real_f;
|
||||||
#define FNAME_POST_UNDERSCORE
|
#define FNAME_POST_UNDERSCORE
|
||||||
|
#if defined H5_ABSOFT
|
||||||
|
#define DF_CAPFNAMES
|
||||||
|
#define FNAME(x) x
|
||||||
|
#endif /*H5_ABSOFT*/
|
||||||
|
|
||||||
#define _fcdtocp(desc) (desc)
|
#define _fcdtocp(desc) (desc)
|
||||||
|
|
||||||
#endif /*LINUX*/
|
#endif /*LINUX*/
|
||||||
|
Loading…
Reference in New Issue
Block a user