Main program for Birth and Death of Elements Use Case

main is a function defined in birth_death_w.c.

Synopsis:

int main(int argc, char **argv)

Formal Arguments:

  • argc: command line argument count
  • argv: command line arguments

Description: This is the main code for the birth and death use case. It gets the steps of additions/deletions of elements either from a file or uses the default steps, initializes the database, loops over all the steps and then closes the database.

If “do_multifile” is present on the command-line, each cycle output will be written to different files. Otherwise, it will all be written to one file.

Parallel Notes: Parallel and serial behavior is identical due to use of SAF__ALL mode in all calls.

Issues: because we are in a try block here, all failures in any code here or in functions we call from here will send us to the one and only catch block at the end of this test

See Also: