Commit ab49f325 authored by Glenn K. Lockwood's avatar Glenn K. Lockwood
Browse files

first record was being rejected because the core stub was handing out rec_id==0

parent 15d6b046
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
/* /*
* Global variables * Global variables
*/ */
static darshan_record_id next_rec_id = 0; static darshan_record_id next_rec_id = 1;
static int my_rank = 0; static int my_rank = 0;
static struct darshan_module_funcs mod_funcs; static struct darshan_module_funcs mod_funcs;
...@@ -87,7 +87,7 @@ int main( int argc, char **argv ) ...@@ -87,7 +87,7 @@ int main( int argc, char **argv )
for ( i = 1; i < argc; i++ ) for ( i = 1; i < argc; i++ )
{ {
fname = argv[i]; fname = argv[i];
printf( "\nProcessing %s\n", fname ); printf( "File %3d - processing %s\n", i, fname );
fd = open( fname, O_RDONLY ); fd = open( fname, O_RDONLY );
darshan_instrument_lustre_file( fname, fd ); darshan_instrument_lustre_file( fname, fd );
close(fd); close(fd);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment