Blame src/mpi/romio/test/README

Packit Service c5cf8c
This directory contains a few example programs. 
Packit Service c5cf8c
Packit Service c5cf8c
Each program takes the filename as a command-line argument
Packit Service c5cf8c
"-fname filename". 
Packit Service c5cf8c
Packit Service c5cf8c
If you are using "mpirun" to run an MPI program, you can run the 
Packit Service c5cf8c
program "simple" with two processes as follows:
Packit Service c5cf8c
   mpirun -np 2 simple -fname test
Packit Service c5cf8c
Packit Service c5cf8c
Packit Service c5cf8c
simple.c: Each process creates its own file, writes to it, reads it
Packit Service c5cf8c
          back, and checks the data read.
Packit Service c5cf8c
Packit Service c5cf8c
psimple.c: Same as simple.c but uses the PMPI versions of all MPI routines
Packit Service c5cf8c
Packit Service c5cf8c
error.c: Tests if error messages are printed correctly
Packit Service c5cf8c
Packit Service c5cf8c
status.c: Tests if the status object is filled correctly by I/O functions
Packit Service c5cf8c
Packit Service c5cf8c
perf.c: A simple read and write performance test. Each process writes
Packit Service c5cf8c
        4Mbytes to a file at a location determined by its rank and
Packit Service c5cf8c
        reads it back. For a different access size, change the value
Packit Service c5cf8c
        of SIZE in the code. The bandwidth is reported for two cases:
Packit Service c5cf8c
        (1) without including MPI_File_sync and (2) including
Packit Service c5cf8c
        MPI_File_sync. 
Packit Service c5cf8c
     
Packit Service c5cf8c
async.c: This program is the same as simple.c, except that it uses 
Packit Service c5cf8c
        asynchronous I/O.
Packit Service c5cf8c
Packit Service c5cf8c
coll_test.c: This program tests the use of collective I/O. It writes
Packit Service c5cf8c
        a 3D block-distributed array to a file corresponding to the
Packit Service c5cf8c
        global array in row-major (C) order, reads it back, and checks
Packit Service c5cf8c
        that the data read is correct. The global array size has been
Packit Service c5cf8c
        set to 32^3. If you are running it on NFS, which is very slow,
Packit Service c5cf8c
        you may want to reduce that size to 16^3.
Packit Service c5cf8c
Packit Service c5cf8c
coll_perf.c: Measures the I/O bandwidth for writing/reading a 3D
Packit Service c5cf8c
      block-distributed array to a file corresponding to the global array
Packit Service c5cf8c
      in row-major (C) order. The global array size has been
Packit Service c5cf8c
      set to 128^3. If you are running it on NFS, which is very slow,
Packit Service c5cf8c
      you may want to reduce that size to 16^3.
Packit Service c5cf8c
Packit Service c5cf8c
misc.c: Tests various miscellaneous MPI-IO functions
Packit Service c5cf8c
Packit Service c5cf8c
atomicity.c: Tests whether atomicity semantics are satisfied for 
Packit Service c5cf8c
      overlapping accesses in atomic mode. The probability of detecting 
Packit Service c5cf8c
      errors is higher if you run it on 8 or more processes.
Packit Service c5cf8c
Packit Service c5cf8c
large_file.c: Tests access to large files. Writes a 4-Gbyte file and
Packit Service c5cf8c
      reads it back. Run it only on one process and on a file system
Packit Service c5cf8c
      on which ROMIO supports large files.
Packit Service c5cf8c
Packit Service c5cf8c
large_array.c: Tests writing and reading a 4-Gbyte distributed array using
Packit Service c5cf8c
      the distributed array datatype constructor. Works only on file
Packit Service c5cf8c
      systems that support 64-bit file sizes and MPI implementations
Packit Service c5cf8c
      that support 64-bit MPI_Aint. 
Packit Service c5cf8c
Packit Service c5cf8c
file_info.c: Tests the setting and retrieval of hints via 
Packit Service c5cf8c
      MPI_File_set_info and MPI_File_get_info
Packit Service c5cf8c
Packit Service c5cf8c
excl.c: Tests MPI_File_open with MPI_MODE_EXCL
Packit Service c5cf8c
Packit Service c5cf8c
noncontig.c: Tests noncontiguous accesses in memory and file using 
Packit Service c5cf8c
             independent I/O. Run it on two processes only.
Packit Service c5cf8c
Packit Service c5cf8c
noncontig_coll.c: Same as noncontig.c, but uses collective I/O
Packit Service c5cf8c
Packit Service c5cf8c
noncontig_coll2.c: Same as noncontig_coll.c, but exercises the 
Packit Service c5cf8c
             cb_config_list hint and aggregation handling more. 
Packit Service c5cf8c
Packit Service c5cf8c
i_noncontig.c: Same as noncontig.c, but uses nonblocking I/O
Packit Service c5cf8c
Packit Service c5cf8c
shared_fp.c: Tests the shared file pointer functions
Packit Service c5cf8c
Packit Service c5cf8c
split_coll.c: Tests the split collective I/O functions
Packit Service c5cf8c
Packit Service c5cf8c
fperf.f: Fortran version of perf.c
Packit Service c5cf8c
Packit Service c5cf8c
fcoll_test.f: Fortran version of coll_test.c
Packit Service c5cf8c
Packit Service c5cf8c
pfcoll_test.f: Same as fcoll_test.f but uses the PMPI versions of 
Packit Service c5cf8c
               all MPI routines
Packit Service c5cf8c
Packit Service c5cf8c
fmisc.f: Fortran version of misc.c