From 5768e60693deeb65b5aad0c2296715ac8e46965b Mon Sep 17 00:00:00 2001 From: Fang Guo Date: Thu, 16 Mar 2006 11:20:29 -0500 Subject: [svn-r12098] Purpose: Maintenance on Windows Description: Document update to reflect recent changes Solution: Platforms tested: Misc. update: --- release_docs/INSTALL_Windows.html | 1768 ++++++++++++++++++++++++------------- release_docs/INSTALL_Windows.txt | 260 +++--- 2 files changed, 1270 insertions(+), 758 deletions(-) diff --git a/release_docs/INSTALL_Windows.html b/release_docs/INSTALL_Windows.html index 2f2d704..cf316a0 100755 --- a/release_docs/INSTALL_Windows.html +++ b/release_docs/INSTALL_Windows.html @@ -34,7 +34,7 @@ body { } h1 { font-family:font-family:times, arial, 'lucida console', sans-serif; - font-size: 180%; + font-size: 160%; font-style:bold; color:#0000FF; text-align:center; @@ -43,7 +43,7 @@ h1 { } h2 { font-family:font-family:times, arial, 'lucida console', sans-serif; - font-size: 160%; + font-size: 140%; font-style:bold; color:#0000FF; text-align:center; @@ -53,22 +53,21 @@ h2 { } h3 { font-family:font-family:times, arial, 'lucida console', sans-serif; - font-size: 140%; + font-size: 120%; font-style:bold; color:#0000FF; text-transform:capitalize; - margin-top:15 } h4 { font-family:font-family:times, arial, 'lucida console', sans-serif; - font-size: 120%; + font-size: 110%; font-style:bold; color:#0000FF; margin-top:12 } h5 { font-family:font-family:times, arial, 'lucida console', sans-serif; - font-size: 110%; + font-size: 100%; font-style:bold; color:#0000FF; margin-top:10 @@ -79,9 +78,14 @@ hr.second{color:#0000FF;height:2px; width:100%;magin-top:5px;margin-bottom:5px;b li{ margin-top:12; + font-size: 98%; + text-align:left; } -p.right{text-align:right;color:#A52A2A;} +p.right { +text-align:right; +color:#A52A2A; +font-size: 90%;} p { font-family:font-family:times, arial, 'lucida console', sans-serif; @@ -93,16 +97,22 @@ p.center {text-align:center} p.note{ font-family:font-family:times, arial, 'lucida console', sans-serif; - font-size: 110%; + font-size: 80%; text-align:left; color:#FF0000 } + +p.insmes{ + font-family:font-family:times, arial, 'lucida console', sans-serif; + font-size: 80%; + text-align:left; + } p.filename { font-family:font-family:times, arial, 'lucida console', sans-serif; font-size: 100%; - font-style:italic; color:#008000 + font-style:italic; text-align:center; } @@ -110,8 +120,7 @@ span.filename { font-family:font-family:times, arial, 'lucida console', sans-serif; font-size: 95%; - font-style:italic; color:#800000 - + font-style:italic; } table { @@ -123,9 +132,8 @@ table { td { font-family:font-family:times, arial, 'lucida console', sans-serif; - font-size: 95%; + font-size: 85%; text-align:left; - padding:10; } ul.normal @@ -149,51 +157,142 @@ list-style-type:none;

HDF5 Build and Install Instructions for Windows XP (Full Version)


Notes:

-

The following instructions assume that the HDF5 source code package from +

The following instructions assume that the HDF5 source code package from HDF website (http://hdf.ncsa.uiuc.edu) is used.

Table of Contents:

-

Preconditions

-

Section I    :  What do we build and -install

-

Section II   :  How to build and test HDF5 -libraries and tools

-

Section III  :  How to build an application using -the HDF5 library or DLL

-

Section IV  :  Helpful pointers

-

Section V   :  How to disable Gzip(Zlib)/Szip -compression

-

Section VI  :  How to build HDF5 in VS 7.0(.NET)

-

Section VII :  How to build HDF5 with INTEL Compiler

-

Section VIII:  How to build Multi-threaded version -of HDF5 library

-

Section IX  :  How to build and test HDF5 snapshot -release

-

Section X   :  Misc.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Preconditions

+

Section I   

+
+

  What do we build and install

+
+

Section II  

+
+

  How to build and test HDF5 libraries and tools

+
+

Section III 

+
+

  How to Build Examples (Optional)

+
+

Section IV 

+
+

  How to build an application using the HDF5 +library or DLL

+
+

Section V  

+
+

  How to disable Gzip(Zlib)/Szip compression

+
+

Section VI 

+
+

  How to build HDF5 in VS 7.0(.NET)

+
+

Section VII

+
+

  How to build HDF5 with INTEL Compiler

+
+

Section VIII

+
+

  How to build Multi-threaded version of HDF5 +library

+
+

Section IX 

+
+

  How to build and test HDF5 snapshot release

+
+

Section X  

+
+

 How to build HDF5 with Thread-Safe Feature

+
+

Section XI  

+
+

  Misc.

+

Preconditions


Please read CAREFULLY about the following preconditions and notes first.

-

1. Installed Microsoft Visual C++ 6.0 or Intel C compiler and WinZip.

+

1. Installed Microsoft Visual C++ 6.0 or Intel C compiler and WinZip.

+

Installed Compaq Visual Fortran compiler(6.0 or higher version), or Intel Fortran compiler if you want to build HDF5 Fortran libraries.

Notes:

-

By default, WinZip will convert the Unix end of line format when extracting .tar +

By default, WinZip will convert the Unix end of line format when extracting .tar file. This conversion will cause "false" failure in some HDF5 tools testings. Please uncheck the "TAR file smart CR/LF conversion" option in your WinZip to prevent the conversion when extracting .tar file. To uncheck the "TAR file smart CR/LF conversion" option: Invoke WinZip, go to "Options", select "Configuration..." Click the "Miscellaneous" tab and uncheck "TAR file smart CR/LF conversion" option, then click OK.

-

2. Set up a directory structure to unpack the library.

+
+

2. Set up a directory structure to unpack the library.

For example:

-

c:\ (any drive)

-

MyHDFstuff\ (any folder name)

-

3. Download the hdf5-1.8.x source code package

+ + + + + + + + +

c:\ (any drive)

+

MyHDFstuff\ (any folder name)

+
+

 

+ +

3. Download the hdf5-1.8.x source code package

Use WinZip to extract the HDF5 package into c:\MyHDFstuff. This creates a directory called 'hdf5-1.8.x' under MyHDFstuff which contains several files and directories. Rename "hdf5-1.8.x" to "hdf5".

-

4. HDF5 provide options to do in-memory compress within HDF5 library.

+

4. HDF5 provide options to do in-memory compress within HDF5 library.

Currently, two external compression libraries Zlib and Szip can be used with HDF5.

-

5. Define the following environment variables:

+

5. Define the following environment variables:

In this section, Zlib and Szip compression packages are assumed to be used. Please -read Section V as well as this section if +read Section V as well as this section if you do not want to use compression feature inside HDF5.

To define these environment variables:

-

Click "Start", click "Control -Panel", and then double-click "System". On -the "Advanced" tab, click "Environment +

Click "Start" -> "Control +Panel" -> "System" -> "Advanced"  +-> "Environment Variables". If you are logged on as administrator to the local computer AND want to let all other users use these two environment variables, click "New" under "System Variables" box; otherwise, click "New" under "User Variables" box. In the New Variable window, -set "Variable name" as HDF5_EXT_ZLIB -and "Variable value" as zdll.lib, +set

+

"Variable name" as HDF5_EXT_ZLIB

+

"Variable value" as zdll.lib, then click OK.

Similarly, you can set:

HDF5_EXT_SZIP environment variable as @@ -249,21 +346,21 @@ then click OK.

Notes:

-

6. Set up path for external libraries and headers

+

6. Set up path for external libraries and headers

Skip this part if you don't want to use ANY compression features provided by -HDF5. Please do read Section V.

+HDF5. Please do read Section V.

You have to read this part even if you want to only use Zlib or Szip. You also -need to read Section V.

+need to read Section V.

Invoke Microsoft Visual C++ and go to "Tools" and select "Options", find "Directories";

-

Go to Table of Contents

+

Go to Table of Contents


Section II: How to build and test HDF5 libraries and tools


-

STEP 1: Building HDF5 libraries and tools

+

This section includes:

+

STEP 1: Building HDF5 libraries and tools

+

STEP 2: Testing HDF5 libraries and tools

+

STEP 3: Installing HDF5 Libraries

+

 

+

STEP 1: Building HDF5 libraries and tools

Notes:

-

Use Notepad or WordPad to check results. You should not find any FAILED marks +

Use Notepad or WordPad to check results. You should not find any FAILED marks in your output files.

  • @@ -1134,7 +1230,7 @@ and the following HDF5 DLLs will be copied to the system directory.

  • hdf5cpptest debug dll >"Your output filename"
  • Notes:

    -

    Use Notepad or WordPad to check results. You should not find any FAILED marks +

    Use Notepad or WordPad to check results. You should not find any FAILED marks in your output files.

  • @@ -1165,11 +1261,11 @@ and the following HDF5 DLLs will be copied to the system directory.

  • testhdf5_fortran debug dll > "Your output filename"
  • Notes:

    -

    Use Notepad or WordPad to check results. You should not find any FAILED marks +

    Use Notepad or WordPad to check results. You should not find any FAILED marks in your output files.

  • -
    5. HDF5 High-Level library test
    +
    5. HDF5 High-Level C library test

    Skip this step UNLESS you have built HDF5 High-Level libraries and want to test them.

    DLLs listed below should be placed into the Windows system directory. A batch @@ -1190,7 +1286,7 @@ and the following HDF5 DLLs will be copied to the system directory.

  • test_hdf5_hl debug dll >"Your output filename"
  • Notes:

    -

    Use Notepad or WordPad to check results. You should not find any FAILED marks +

    Use Notepad or WordPad to check results. You should not find any FAILED marks in your output files.

  • @@ -1215,7 +1311,7 @@ and the following HDF5 DLLs will be copied to the system directory.

  • test_hdf5_hl_cpp debug dll >"Your output filename"
  • Notes:

    -

    Use Notepad or WordPad to check results. You should not find any FAILED marks +

    Use Notepad or WordPad to check results. You should not find any FAILED marks in your output files.

  • @@ -1242,11 +1338,11 @@ and the following HDF5 DLLs will be copied to the system directory.

  • test_hdf5_hl_fortran debug dll >"Your output filename"
  • Notes:

    -

    Use Notepad or WordPad to check results. You should not find any FAILED marks +

    Use Notepad or WordPad to check results. You should not find any FAILED marks in your output files.

    -

    STEP 3: Installing HDF5 Libraries

    +

    STEP 3: Installing HDF5 Libraries

    We provide a batch file for users to relocate all HDF5 libraries in one folder (C++ and Fortran libraries will also be copied into this folder if they have been built in step I). The file is called installhdf5lib.bat @@ -1262,47 +1358,60 @@ file, you may see a folder called hdf5lib under c:\MyHDFs

  • release\dll -- HDF5 DLLs
  • You may also find the similar layout for the <debug>.

    -

    STEP 4: Building HDF5 C/C++/Fortran and High Level -C Examples (Optional)

    -

    Simple examples have been provided for users to test HDF5 C/C++/Fortran library -and tools.

    +

    Go to TOP Section II

    +

    Go to Table of Contents

    +
    +

    Section III: How to build Examples +(Optional)

    +
    +

    This section include:

    +

    How to build and test C examples

    +

    How to build and test C++ examples

    +

    How to build and test Fortran examples

    +

    How to build and test High Level C examples

    +

    How to build and test High Level Fortran examples

    Notes:

    +

     

    +