Remove comment cruft from beginnings of files.
parent
02fda88fd0
commit
5eed1723f0
|
@ -5,15 +5,7 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* Abstract prototypes
|
||||||
* $RCSfile: IOR-aiori.h,v $
|
|
||||||
* $Revision: 1.1.1.1 $
|
|
||||||
* $Date: 2007/10/15 23:36:54 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* This is a header file that contains the abstract prototypes
|
|
||||||
* needed for IOR.c.
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
|
|
||||||
|
|
60
src/IOR.c
60
src/IOR.c
|
@ -3,67 +3,7 @@
|
||||||
* Copyright (c) 2003, The Regents of the University of California *
|
* Copyright (c) 2003, The Regents of the University of California *
|
||||||
* See the file COPYRIGHT for a complete copyright notice and license. *
|
* See the file COPYRIGHT for a complete copyright notice and license. *
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
|
||||||
*
|
|
||||||
* CVS info:
|
|
||||||
* $RCSfile: IOR.c,v $
|
|
||||||
* $Revision: 1.4 $
|
|
||||||
* $Date: 2008/12/03 16:16:02 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* Test file system I/O.
|
|
||||||
*
|
|
||||||
* Settings and Usage:
|
|
||||||
* View DisplayUsage() for settings.
|
|
||||||
* Usage is with either by commandline or with an input script
|
|
||||||
* file of the form shown in DisplayUsage().
|
|
||||||
*
|
|
||||||
* History (see CVS log for detailed history):
|
|
||||||
* 2001.11.21 wel
|
|
||||||
* Started initial implementation of code.
|
|
||||||
* 2002.02.07 wel
|
|
||||||
* Added abstract IOR interface for I/O.
|
|
||||||
* 2002.03.29 wel
|
|
||||||
* Added MPI synchronization.
|
|
||||||
* 2002.04.15 wel
|
|
||||||
* Added MPIIO.
|
|
||||||
* 2002.08.07 wel
|
|
||||||
* Added MPI file hints, collective calls, file views, etc.
|
|
||||||
* 2002.11.06 wel
|
|
||||||
* Added HDF5.
|
|
||||||
* 2003.10.03 wel
|
|
||||||
* Added NCMPI.
|
|
||||||
*
|
|
||||||
* Known problems and limitations:
|
|
||||||
* None known.
|
|
||||||
*
|
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
/********************* Modifications to IOR-2.10.1 ****************************
|
|
||||||
* Hodson, 8/18/2008: *
|
|
||||||
* Documentation updated for the following new option: *
|
|
||||||
* The modifications to IOR-2.10.1 extend existing random I/O capabilities and *
|
|
||||||
* enhance performance output statistics, such as IOPs. *
|
|
||||||
* *
|
|
||||||
* cli script Description *
|
|
||||||
* ----- ----------------- ----------------------------------------*
|
|
||||||
* 1) -A N testnum - test reference number for easier test *
|
|
||||||
* identification in log files *
|
|
||||||
* 2) -Q N taskpernodeoffset - for read tests. Use with -C & -Z options*
|
|
||||||
* If -C (reordertasks) specified, *
|
|
||||||
* then node offset read by CONSTANT N. *
|
|
||||||
* If -Z (reordertasksrandom) specified, *
|
|
||||||
* then node offset read by RANDOM >= N. *
|
|
||||||
* 3) -Z reordertasksrandom - random node task ordering for read tests*
|
|
||||||
* In this case, processes read *
|
|
||||||
* data written by other processes with *
|
|
||||||
* node offsets specified by the -Q option *
|
|
||||||
* and -X option. *
|
|
||||||
* 4) -X N reordertasksrandomseed - random seed for -Z (reordertasksrandom) *
|
|
||||||
* If N>=0, use same seed for all iters *
|
|
||||||
* If N< 0, use different seed for ea. iter*
|
|
||||||
* 5) -Y fsyncperwrite - perform fsync after every POSIX write *
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include "aiori.h" /* IOR I/O interfaces */
|
#include "aiori.h" /* IOR I/O interfaces */
|
||||||
#include "IOR.h" /* IOR definitions
|
#include "IOR.h" /* IOR definitions
|
||||||
|
|
12
src/IOR.h
12
src/IOR.h
|
@ -3,18 +3,6 @@
|
||||||
* Copyright (c) 2003, The Regents of the University of California *
|
* Copyright (c) 2003, The Regents of the University of California *
|
||||||
* See the file COPYRIGHT for a complete copyright notice and license. *
|
* See the file COPYRIGHT for a complete copyright notice and license. *
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
|
||||||
*
|
|
||||||
* CVS info:
|
|
||||||
* $RCSfile: IOR.h,v $
|
|
||||||
* $Revision: 1.2 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* This is a header file that contains the definitions and prototypes
|
|
||||||
* needed for IOR.c.
|
|
||||||
*
|
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
|
|
||||||
#ifndef _IOR_H
|
#ifndef _IOR_H
|
||||||
|
|
|
@ -5,14 +5,7 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* Implement abstract I/O interface for HDF5.
|
||||||
* $RCSfile: aiori-HDF5.c,v $
|
|
||||||
* $Revision: 1.2 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* Implementation of abstract I/O interface for HDF5.
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,7 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* Implement abstract I/O interface for MPIIO.
|
||||||
* $RCSfile: aiori-MPIIO.c,v $
|
|
||||||
* $Revision: 1.2 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* Implementation of abstract I/O interface for MPIIO.
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,7 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* Implement abstract I/O interface for Parallel NetCDF (NCMPI).
|
||||||
* $RCSfile: aiori-NCMPI.c,v $
|
|
||||||
* $Revision: 1.2 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* Implementation of abstract I/O interface for Parallel NetCDF (NCMPI).
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -5,21 +5,9 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* Implement of abstract I/O interface for POSIX.
|
||||||
* $RCSfile: aiori-POSIX.c,v $
|
|
||||||
* $Revision: 1.3 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* Implementation of abstract I/O interface for POSIX.
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
/********************* Modifications to IOR-2.10.1 ****************************
|
|
||||||
* hodson - 8/18/2008: *
|
|
||||||
* Added fsyncPerWrite option to do POSIX fsync after each POSIX write *
|
|
||||||
* More info on cannot delete file error message *
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
#include "aiori.h" /* abstract IOR interface */
|
#include "aiori.h" /* abstract IOR interface */
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|
20
src/aiori.h
20
src/aiori.h
|
@ -5,27 +5,9 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* Definitions and prototypes of abstract I/O interface
|
||||||
* $RCSfile: aiori.h,v $
|
|
||||||
* $Revision: 1.3 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* This is a header file that contains the definitions and prototypes
|
|
||||||
* needed for the abstract I/O interfaces necessary for IOR.
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
/********************* Modifications to IOR-2.10.1 *****************************
|
|
||||||
* hodson - 8/18/2008: Added option flags for the following new options *
|
|
||||||
* int TestNum; * test reference number *
|
|
||||||
* double * writeVal; * array to write results - IOPS added *
|
|
||||||
* double * readVal; * array to read results - IOPS added *
|
|
||||||
* int taskPerNodeOffset; * task node offset for reading files *
|
|
||||||
* int reorderTasksRandom; * reorder tasks for random file read back *
|
|
||||||
* int reorderTasksRandomSeed; * reorder tasks for random file read seed *
|
|
||||||
* int fsyncPerWrite; * fsync() after each write *
|
|
||||||
*******************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _AIORI_H
|
#ifndef _AIORI_H
|
||||||
#define _AIORI_H
|
#define _AIORI_H
|
||||||
|
|
|
@ -5,25 +5,9 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* IOR's default settings
|
||||||
* $RCSfile: defaults.h,v $
|
|
||||||
* $Revision: 1.3 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* This is a header file that contains the default settings necessary for
|
|
||||||
* IOR.
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
/********************* Modifications to IOR-2.10.1 *****************************
|
|
||||||
* hodson - 8/18/2008: Added Default values for the following variables *
|
|
||||||
* int TestNum; * test reference number *
|
|
||||||
* int taskPerNodeOffset; * task node offset for reading files *
|
|
||||||
* int reorderTasksRandom; * reorder tasks for random file read back *
|
|
||||||
* int reorderTasksRandomSeed; * reorder tasks for random file read seed *
|
|
||||||
* int fsyncPerWrite; * fsync() after each write *
|
|
||||||
*******************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _IOR_DEFAULTS_H
|
#ifndef _IOR_DEFAULTS_H
|
||||||
#define _IOR_DEFAULTS_H
|
#define _IOR_DEFAULTS_H
|
||||||
|
|
12
src/iordef.h
12
src/iordef.h
|
@ -3,18 +3,6 @@
|
||||||
* Copyright (c) 2003, The Regents of the University of California *
|
* Copyright (c) 2003, The Regents of the University of California *
|
||||||
* See the file COPYRIGHT for a complete copyright notice and license. *
|
* See the file COPYRIGHT for a complete copyright notice and license. *
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
|
||||||
*
|
|
||||||
* CVS info:
|
|
||||||
* $RCSfile: iordef.h,v $
|
|
||||||
* $Revision: 1.4 $
|
|
||||||
* $Date: 2010/08/02 16:43:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* This is a header file that contains the definitions and macros
|
|
||||||
* needed for IOR.
|
|
||||||
*
|
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
|
|
||||||
#ifndef _IORDEF_H
|
#ifndef _IORDEF_H
|
||||||
|
|
|
@ -5,24 +5,9 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* Parse commandline functions.
|
||||||
* $RCSfile: parse_options.c,v $
|
|
||||||
* $Revision: 1.3 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* Parse commandline functions.
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
/********************* Modifications to IOR-2.10.1 *****************************
|
|
||||||
* hodson - 8/18/2008: Added parsing for the following variables *
|
|
||||||
* int TestNum; * test reference number *
|
|
||||||
* int taskPerNodeOffset; * task node offset for reading files *
|
|
||||||
* int reorderTasksRandom; * reorder tasks for random file read back *
|
|
||||||
* int reorderTasksRandomSeed; * reorder tasks for random file read seed *
|
|
||||||
* int fsyncPerWrite; * fsync() after each write *
|
|
||||||
*******************************************************************************/
|
|
||||||
|
|
||||||
#include "IOR.h"
|
#include "IOR.h"
|
||||||
#include "defaults.h" /* IOR defaults */
|
#include "defaults.h" /* IOR defaults */
|
||||||
|
|
|
@ -5,20 +5,9 @@
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
*
|
*
|
||||||
* CVS info:
|
* Additional utilities
|
||||||
* $RCSfile: utilities.c,v $
|
|
||||||
* $Revision: 1.3 $
|
|
||||||
* $Date: 2008/12/02 17:12:14 $
|
|
||||||
* $Author: rklundt $
|
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* Additional utilities necessary for both MPIIO and HDF5.
|
|
||||||
*
|
*
|
||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
/**********************Modifications to IOR-2.10.1 *****************************
|
|
||||||
* hodson, 8/18/2008: *
|
|
||||||
* Removed duplicate regex.h include (thanks to Brian Lucas) *
|
|
||||||
*******************************************************************************/
|
|
||||||
|
|
||||||
#include "aiori.h" /* abstract IOR interface */
|
#include "aiori.h" /* abstract IOR interface */
|
||||||
#include "IOR.h" /* IOR functions */
|
#include "IOR.h" /* IOR functions */
|
||||||
|
|
Loading…
Reference in New Issue