mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
6ab98c2ef7
Purpose: Maintenance for the 1.6.0 release. Description: I updated compilers information for Crays and added h5fc and h5c++ to the new tools sections in REELASE.txt. I added instructions for how to build HDF5 using Intel compilers on Windows. Solution: Platforms tested: Misc. update:
66 lines
2.6 KiB
Plaintext
66 lines
2.6 KiB
Plaintext
|
|
===============================================================================
|
|
HDF5 Fortran90 Library Build and Testing Instructions for Windows NNT/2000
|
|
with DEC Visual Fortran V6.0 and Intel compilers.
|
|
===============================================================================
|
|
|
|
|
|
Preconditions
|
|
|
|
1. These instructions are for users who wish to build the C and
|
|
Fortran90 libraries. If you are interested only in the C library,
|
|
see INSTAll_Windows.txt or INSTAll_codewarrior.txt.
|
|
|
|
2. MSVC++ V 6.0, DEC Visual Fortran V6.0, or Intel C and Fortran compilers,
|
|
and WinZip must be installed prior to building the HDF5 library.
|
|
|
|
3. Download the hdf5-1.* distribution archive and run WinZip to unpack
|
|
the source code. The code will be unpacked into the hdf5\ directory.
|
|
|
|
4. GNU zlib and szlib library should be installed on the machine. You may
|
|
find prebuilt binaries on the HDF ftp site.
|
|
|
|
Note:
|
|
Only static libraries are built for this release.
|
|
|
|
Building the HDF5 Fortran and C libraries :
|
|
|
|
1. Unpack all_withf90.zip, found in the hdf5\ directory, into the
|
|
hdf5\ directory.
|
|
2. Go to the hdf5\proj\ directory and click on the file all.dsw.
|
|
This will invoke MS VC++.
|
|
3. Set up library and include directories to point to zlib and szlib
|
|
libraries on your system. Go to Tools-->Options-->Directories
|
|
Select "Include files" or "Library files" in the "Show directories for" tab.
|
|
Add corresponding directories for zlib and szlib include files and libraries.
|
|
3". Skip this step if you are not using Intel compilers
|
|
Go to Tools-->Select Compiler
|
|
Check Intel box and click OK button.
|
|
Go to Tools-->Customize-->Add-ins and Macro Files
|
|
and check Intel Fortran Compiler Build Tool
|
|
|
|
4. Select "Build", then select "Set Active Configuration".
|
|
|
|
"all -- Win32 Debug" to build debug versions of
|
|
single-threaded static libraries and tests.
|
|
|
|
"all -- Win32 Release" to build release versions of
|
|
single-threaded static libraries and tests.
|
|
|
|
When the debug or release build is completed, the directories
|
|
listed below will contain the following files:
|
|
|
|
hdf5\proj\hdf5\debug -
|
|
hdf5\proj\hdf5\release -
|
|
hdf5.lib- the F90 and C hdf5 libraries
|
|
|
|
|
|
Testing libraries and tools
|
|
|
|
1. See the file INSTALL_Windows.txt (STEP 2) for instruction on
|
|
testing the C HDF5 library and tools.
|
|
|
|
2. To test Fortran HDF5 Library, run testhdf5_fortran.bat in the
|
|
hdf5\fortran\test directory
|
|
|