ROSS
Functions | Variables
io-mpi.c File Reference
#include <assert.h>
#include "ross.h"

Go to the source code of this file.

Functions

void io_register_model_version (char *sha1)
 
tw_eventio_event_grab (tw_pe *pe)
 
void io_event_cancel (tw_event *e)
 
void io_init ()
 
void io_appending_job ()
 
void io_load_checkpoint (char *master_filename, io_load_type load_at)
 
void io_read_checkpoint ()
 
void io_load_events (tw_pe *me)
 
void io_store_checkpoint (char *master_filename, int data_file_number)
 

Variables

int g_io_number_of_files = 1
 
const tw_optdef io_opts []
 
io_partitiong_io_partitions
 
io_lptypeg_io_lp_types = NULL
 
io_load_type g_io_load_at = NONE
 
char g_io_checkpoint_name [1024]
 
int g_io_events_buffered_per_rank = 0
 
tw_eventq g_io_buffered_events
 
tw_eventq g_io_free_events
 
static unsigned long l_io_kp_offset = 0
 
static unsigned long l_io_lp_offset = 0
 
static unsigned long l0_io_total_kp = 0
 
static unsigned long l0_io_total_lp = 0
 
static unsigned long l_io_min_parts = 0
 
static int l_io_init_flag = 0
 
static int l_io_append_flag = 0
 
char model_version [41]
 

Function Documentation

void io_appending_job ( )

Definition at line 101 of file io-mpi.c.

References l_io_append_flag, and l_io_init_flag.

void io_event_cancel ( tw_event e)

Definition at line 70 of file io-mpi.c.

References tw_eventq_delete_any(), and tw_eventq_push().

Referenced by event_cancel().

Here is the call graph for this function:

Here is the caller graph for this function:

tw_event* io_event_grab ( tw_pe pe)
void io_init ( )
void io_load_checkpoint ( char *  master_filename,
io_load_type  load_at 
)

Definition at line 107 of file io-mpi.c.

References g_io_checkpoint_name, and g_io_load_at.

void io_load_events ( tw_pe me)
void io_read_checkpoint ( )
void io_register_model_version ( char *  sha1)

Definition at line 38 of file io-mpi.c.

References model_version.

void io_store_checkpoint ( char *  master_filename,
int  data_file_number 
)

Variable Documentation

tw_eventq g_io_buffered_events

Definition at line 24 of file io-mpi.c.

char g_io_checkpoint_name[1024]

Definition at line 22 of file io-mpi.c.

Referenced by io_load_checkpoint(), and io_read_checkpoint().

int g_io_events_buffered_per_rank = 0

Definition at line 23 of file io-mpi.c.

Referenced by io_event_grab(), and setup_pes().

tw_eventq g_io_free_events

Definition at line 25 of file io-mpi.c.

Referenced by setup_pes().

io_load_type g_io_load_at = NONE

Definition at line 21 of file io-mpi.c.

Referenced by io_load_checkpoint(), and tw_init_lps().

io_lptype* g_io_lp_types = NULL

Definition at line 20 of file io-mpi.c.

int g_io_number_of_files = 1

Definition at line 11 of file io-mpi.c.

Referenced by io_init(), io_read_checkpoint(), and io_store_checkpoint().

io_partition* g_io_partitions

Definition at line 19 of file io-mpi.c.

const tw_optdef io_opts[]
Initial value:
= {
TWOPT_GROUP("RIO"),
TWOPT_UINT("io-files", g_io_number_of_files, "io files"),
}
int g_io_number_of_files
Definition: io-mpi.c:11
#define TWOPT_UINT(n, v, h)
Definition: tw-opts.h:30
#define TWOPT_GROUP(h)
Definition: tw-opts.h:27

Definition at line 12 of file io-mpi.c.

Referenced by tw_init().

unsigned long l0_io_total_kp = 0
static

Definition at line 30 of file io-mpi.c.

Referenced by io_init(), and io_store_checkpoint().

unsigned long l0_io_total_lp = 0
static

Definition at line 31 of file io-mpi.c.

Referenced by io_init(), and io_store_checkpoint().

int l_io_append_flag = 0
static

Definition at line 34 of file io-mpi.c.

Referenced by io_appending_job(), and io_store_checkpoint().

int l_io_init_flag = 0
static

Definition at line 33 of file io-mpi.c.

Referenced by io_appending_job(), io_event_grab(), and io_init().

unsigned long l_io_kp_offset = 0
static

Definition at line 28 of file io-mpi.c.

Referenced by io_init(), io_read_checkpoint(), and io_store_checkpoint().

unsigned long l_io_lp_offset = 0
static

Definition at line 29 of file io-mpi.c.

Referenced by io_init(), io_read_checkpoint(), and io_store_checkpoint().

unsigned long l_io_min_parts = 0
static

Definition at line 32 of file io-mpi.c.

Referenced by io_init(), io_read_checkpoint(), and io_store_checkpoint().

char model_version[41]

Definition at line 36 of file io-mpi.c.

Referenced by io_register_model_version(), and io_store_checkpoint().