summaryrefslogtreecommitdiffstats
path: root/release_docs/INSTALL_Windows_withF90.txt
blob: dc0f352de55c3882b9d155a1865a38ae7c64925a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65

===============================================================================
     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