Difference between revisions of "Main Page/PIO"

From Nekcem
Jump to navigationJump to search
Line 4: Line 4:
 
These numbers were used to indicate which I/O to use, in .rea file for a specific example, by parameter 103.  
 
These numbers were used to indicate which I/O to use, in .rea file for a specific example, by parameter 103.  
  
Here param(103) = 0 means it's using Fortran I/O library, param(103) = 1 means it's using C-POSIX I/o libraries. These two approaches would produce one file per processor and we will refer them as "old libraries".
+
Here param(103) = 0 means it's using Fortran I/O library, param(103) = 1 means it's using C-POSIX I/O libraries. These two approaches would produce one file per processor and we will refer them as "old libraries".
  
 
param(103) = 3 is NN binary case, param(103) = 4 is N1 binary case, param(103) = 5 is NM binary case, param(103) = 6 is NM1 binary case, param(103) = 8 is NMM binary case.
 
param(103) = 3 is NN binary case, param(103) = 4 is N1 binary case, param(103) = 5 is NM binary case, param(103) = 6 is NM1 binary case, param(103) = 8 is NMM binary case.
  
These I/O functions were initiated from cem_out function of cem_dg.F (and cem_dg2.F).
+
These I/O functions were initiated from cem_out function of cem_dg.F (and cem_dg2.F). Implementation of parallel I/O routine were defined in vtkbin.c and rbIO_nekcem.c, where vtkcommon.c and vtkcommon.h serve as a place to hold common functions as well as global variables.

Revision as of 17:38, 24 August 2010

This is the document page for parallel I/O library developed in summer 2010 by Jing Fu and Misun Min.

Generally, several new parallel I/O approaches were developed, namely #3, 4, 5, 6, 7, 8. These numbers were used to indicate which I/O to use, in .rea file for a specific example, by parameter 103.

Here param(103) = 0 means it's using Fortran I/O library, param(103) = 1 means it's using C-POSIX I/O libraries. These two approaches would produce one file per processor and we will refer them as "old libraries".

param(103) = 3 is NN binary case, param(103) = 4 is N1 binary case, param(103) = 5 is NM binary case, param(103) = 6 is NM1 binary case, param(103) = 8 is NMM binary case.

These I/O functions were initiated from cem_out function of cem_dg.F (and cem_dg2.F). Implementation of parallel I/O routine were defined in vtkbin.c and rbIO_nekcem.c, where vtkcommon.c and vtkcommon.h serve as a place to hold common functions as well as global variables.