SCORPIO 1.9.0
Loading...
Searching...
No Matches
Examples

Examples

The SCORPIO library examples can be found under the examples subdirectory. They are built with the make test or make check build target.

C Examples

The C examples are in the examples/c subdirectory.

  • examplePio.c A simple example showing a write, then read, of a 1D variable.
  • example1.c Another simple example showing a write, then read, of a 1D variable. This produces the same output as examplePio.c.
  • example2.c This example writes a 3D floating point variable, with an unlimited dimension. The data are written in slices along the unlimited dimension. This example also incorporates (if installed) the MPE profiling system to generate graphical output.

Fortran Examples

The Fortran examples are in the examples/f03 subdirectory.

  • examplePio.f90 A simple example showing a write, then read, of a 1D variable.