| 
    PIO
    2.5.4
    
   | 
 
#include "config.h"
Data Types | |
| type | pioexample::pioexampleclass | 
| A class to hold example code and data.  More... | |
Functions/Subroutines | |
| subroutine | pioexample::init (this) | 
| Initialize MPI, ParallelIO, and example data.  More... | |
| program | main | 
| Main execution of example code.  More... | |
A simple Fortran example for the ParallelIO Library.
| subroutine pioexample::init | ( | class(pioexampleclass), intent(inout) | this | ) | 
Initialize MPI, ParallelIO, and example data.
Initialize the MPI and ParallelIO libraries. Also allocate memory to write and read the sample data to the netCDF file.
| program main | 
Main execution of example code.
This is an example program for the ParallelIO library.
This program creates a netCDF output file with the ParallelIO library, then writes and reads some data to and from the file.
This example does the following:
 1.8.17