Debian Codegraph @

testdrivers/README

raw
1 ==============================================================================
2
3 FILE: README
4 UPDATED: 06/20/01 A.M.
5 Aug 02 S.Z
6
7 ==============================================================================
8
9 These files are provided as an aid to the user for examples in how to use the
10 HDF-EOS library. The test drivers have been run on every platform supported
11 by the Toolkit. Platforms supported by the Toolkit are listed in the
12 README file located in doc directory.
13
14 NOTE: YOU MUST HAVE ALL OF THE TEXT DATA FILES IN THE SAME DIRECTORY AS YOUR
15 POINT TEST DRIVERS. THEY WILL CRASH WITHOUT THEM !
16
17 THESE DATA FILES ARE:
18
19 fixedBuoy0.txt
20 fixedBuoy1s.txt
21 floatBuoy1.txt
22 fixedBuoy1.txt
23 floatBuoy0.txt
24 simple.txt
25
26
27
28 DRIVER(S) PLATFORM(S)
29 ========= ===========
30
31 TestSwath.c C on all supported platforms
32 TestGrid.c
33 TestPoint.c
34 TestZa.c
35 TestProfile.c
36 TestAlias.c
37
38 testswath32.f FORTRAN 77 on all supported platforms
39 testgrid32.f FORTRAN 90 on SGI for 32-bit
40 testpoint32.f
41 testza32.f
42
43 testswath64.f FORTRAN 90 on SGI for 64-bit
44 testgrid64.f
45 testpoint64.f
46 testza64.f
47
48
49 COMPILING TEST DRIVERS
50 ======================
51
52 Below are samples of how the test driver can be compilied and linked to create
53 executables.
54
55 The HDFSYS flag is set by the user. The list below gives what it should be
56 for each supported platform:
57
58 PLATFORM HDFSYS FLAG
59 ======== ===========
60
61 Dec DEC_ALPHA
62 Sgi IRIX
63 Sgi Power Chall. SGI64
64 Ibm IBM6000
65 Sun Solaris 2.5 SUN5
66 Hp HP9000
67 Linux LINUX
68
69
70 ==============================================================================
71 Swath/Point/ZA
72 ------------------------------------------------------------------------------
73
74 cc -DHDFSYS -o filename.o -I$HDFINC -I$HDFEOS_INC -c filename.c
75 cc -DHDFSYS -o filename filename.o -L$HDFLIB -L$HDFEOS_LIB \
76 -lhe5_hdfeos -lhdf5 -lnsl -lm
77
78 NOTE: substitute "filename" with the name of a driver, AND THE ORDER OF THE
79 LIBRARIES IS IMPORTANT.
80 IN ADDITION: NOTICE THAT WE POINT TO BOTH STANDARD HDF AND HDFEOS
81 LIBRARIES.
82 THE "-lnsl" FLAG IS REQUIRED FOR THE SUN PLATFORMS ONLY
83
84
85 ==============================================================================
86 Grid
87 ------------------------------------------------------------------------------
88
89 cc -DHDFSYS -o filename.o -I$HDFINC -I$HDFEOS_INC -c filename.c
90 cc -DHDFSYS -o filename filename.o -L$HDFLIB -L$HDFEOS_LIB \
91 -lhe5_hdfeos -lGctp -lhdf5 -lnsl -lm
92
93 NOTE: ON LINUX PLATFORM YOU ALSO NEED "-lz"
94
95 NOTE: subsitute "filename" with the name of a driver, AND THE ORDER OF THE
96 LIBRARIES IS IMPORTANT.
97 IN ADDITION: NOTICE THAT THE GCTP LIBRARY IS SECOND IN THE LIBRARY
98 LIST.
99 ALSO: YOU NEED TO POINT TO WHERE THE GEOLIB LIBRARY IS LOCATED ON
100 YOUR SYSTEM.
101 THE "-lnsl" FLAG IS REQUIRED FOR THE SUN PLATFORMS ONLY
102
103
104 ==============================================================================
105
106
107
108
109
110
111
112
113
114