Write simulation information in YAML format. More...
#include "yamlOutput.h"#include <stdlib.h>#include <stdio.h>#include <time.h>#include "CoMD_info.h"#include "mytype.h"#include "parallel.h"
Go to the source code of this file.
Functions | |
| static void | getTimeString (char *timestring) |
| void | yamlBegin (void) |
| void | yamlAppInfo (FILE *file) |
| void | yamlEnd (void) |
| void | printSeparator (FILE *file) |
Variables | |
| FILE * | yamlFile = NULL |
| Provide access to the YAML file in other compliation units. More... | |
| static const char * | CoMDVersion = "1.1" |
| static const char * | CoMDVariant = CoMD_VARIANT |
Write simulation information in YAML format.
Information regarding platform, run parameters, performance, etc., are written to a file whose name is generated from the CoMDVariant and the time of the run. This provides a simple mechanism to track and compare performance etc.
There are much more sophisticated libraries and routines available to handle YAML, but this simple implemenation handles everything we really need.
Definition in file yamlOutput.c.
|
static |
| void printSeparator | ( | FILE * | file | ) |
| void yamlAppInfo | ( | FILE * | file | ) |
Definition at line 63 of file yamlOutput.c.


| void yamlBegin | ( | void | ) |
Definition at line 45 of file yamlOutput.c.


| void yamlEnd | ( | void | ) |
Definition at line 90 of file yamlOutput.c.


|
static |
Definition at line 26 of file yamlOutput.c.
|
static |
Definition at line 25 of file yamlOutput.c.
| FILE* yamlFile = NULL |
Provide access to the YAML file in other compliation units.
Definition at line 23 of file yamlOutput.c.