summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-04-14 14:05:17 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-04-14 14:05:17 (GMT)
commitf8b34b0ff80c6948b0059fa46961d3f61bd5296b (patch)
tree64aa875ff5c86ecb9d794fdc780485e22d96a48b /release_docs
parent573365e3a0df0bc084a8a6b1272b04a937d54305 (diff)
downloadhdf5-f8b34b0ff80c6948b0059fa46961d3f61bd5296b.zip
hdf5-f8b34b0ff80c6948b0059fa46961d3f61bd5296b.tar.gz
hdf5-f8b34b0ff80c6948b0059fa46961d3f61bd5296b.tar.bz2
[svn-r26804] Updated the Fortran install information.
Diffstat (limited to 'release_docs')
-rw-r--r--release_docs/INSTALL44
1 files changed, 9 insertions, 35 deletions
diff --git a/release_docs/INSTALL b/release_docs/INSTALL
index 2dcb9be..cdbf5b4 100644
--- a/release_docs/INSTALL
+++ b/release_docs/INSTALL
@@ -315,21 +315,22 @@ CONTENTS
$ ./configure --enable-fortran
$ ./configure --enable-cxx
- Configuration will halt if a working Fortran 90 or 95 compiler or
- C++ compiler is not found. Currently, the Fortran configure tests
- for these compilers in order: f90, pgf90, f95. To use an
- alternate compiler specify it with the FC variable:
+ Additionally, --enable-fortran --enable-fortran2003 enables Fortran
+ 2003 APIs. Configuration will halt if a working Fortran 90/95 compiler
+ (or a working Fortran 2003 compiler in the case of
+ --enable-fortran2003) was specified or C++ compiler is not found.
+ Currently, the Fortran configure tests for these compilers in order:
+ gfortran ifort pgf90 pathf90 pathf95 xlf90 xlf95 xlf2003 f90 epcf90 f95
+ fort lf95 g95 ifc efc gfc. To use an alternate compiler specify it with
+ the FC variable:
- $ FC=/usr/local/bin/g95 ./configure --enable-fortran
+ $ FC=/usr/local/bin/gfortran ./configure --enable-fortran --enable-fortran2003
Note: The Fortran and C++ interfaces are not supported on all the
platforms the main HDF5 Library supports. Also, the Fortran
interface supports parallel HDF5 while the C++ interface does
not.
- Note: See sections 4.7 and 4.8 for building the Fortran library with
- Intel or PGI compilers.
-
4.3.6. Specifying other programs
The build system has been tuned for use with GNU make but also
works with other versions of make. If the `make' command runs a
@@ -667,33 +668,6 @@ C.1. Building and testing with Intel compilers
However, if you still experience a problem, you may want to check this
line in the libtool file and make sure that it has the correct value.
- * To build the Fortran library using Intel compiler on Linux 2.4,
- one has to perform the following steps:
- x Use the -fpp -DDEC$=DEC_ -DMS$=MS_ compiler flags to disable
- DEC and MS compiler directives in source files in the fortran/src,
- fortran/test, and fortran/examples directories.
- E.g., setenv F9X 'ifc -fpp -DDEC$=DEC_ -DMS$=MS_'
- Do not use double quotes since $ is interpreted in them.
-
- x If Version 6.0 of Fortran compiler is used, the build fails in
- the fortran/test directory and then in the fortran/examples
- directory. To proceed, edit the work.pcl files in those
- directories to contain two lines:
-
- work.pc
- ../src/work.pc
-
- x Do the same in the fortran/examples directory.
-
- x A problem with work.pc files was resolved for the newest version
- of the compiler (7.0).
-
- * To build the Fortran library on IA32, follow the steps described
- above, except that the DEC and MS compiler directives should be
- removed manually or use a patch from HDF FTP server:
-
- ftp://ftp.hdfgroup.org/HDF5/current/
-
C.2. Building and testing with PGI compilers
When PGI C and C++ compilers are used (pgcc or pgCC), you will need to