21
21
 
subdirectory. They are built with the make test or make check build
22
22
 
target.
23
23
 
24
24
 
### C Examples
25
25
 
26
26
 
The C examples are in the examples/c subdirectory.
27
27
 
28
28
 
- examplePio.c A simple example showing a write, then read, of a 1D variable.
29
29
 
30
30
 
- example1.c Another simple example showing a write, then read, of a
31
 
-
  1D variable.
 
31
+
  1D variable. This produces the same output as examplePio.c.
 
32
+
 
33
+
- example2.c This example writes a 3D floating point variable, with an
 
34
+
  unlimited dimension. The data are written in slices along the
 
35
+
  unlimited dimension. This example also incorporates (if installed)
 
36
+
  the MPE profiling system to generate graphical output.
32
37
 
33
38
 
### Fortran Examples
34
39
 
35
40
 
The Fortran examples are in the examples/f03 subdirectory.
36
41
 
37
42
 
- examplePio.f90 A simple example showing a write, then read, of a 1D variable.
38
43
 
39
44
 
  PIO has been implemented in several geophysical component models, including the 
40
45
 
Community Atmosphere Model (CAM), the Community Land Model (CLM), the Parallel Ocean Program 
41
46
 
(POP), the Community Ice CodE (CICE), and coupler for used by CCSM4.0 (CPL7).  We also provide