core/main.c File Reference


Detailed Description

Id
main.c 1182 2008-12-22 22:08:36Z dchassin
Copyright (C) 2008 Battelle Memorial Institute

Author:
David P. Chassin

Definition in file main.c.

Go to the source code of this file.
int main (int argc, char *argv[])
 The main entry point of GridLAB-D Exit codes
  • 0 run completed ok
  • 1 command-line processor stopped
  • 2 environment startup failed
  • 3 test procedure failed
  • 4 user rejects conditions of use
  • 5 simulation stopped before completing
  • 6 initialization failed.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

The main entry point of GridLAB-D Exit codes

  • 0 run completed ok
  • 1 command-line processor stopped
  • 2 environment startup failed
  • 3 test procedure failed
  • 4 user rejects conditions of use
  • 5 simulation stopped before completing
  • 6 initialization failed.

Parameters:
argc  the number entries on command-line argument list argv
argv  a list of pointers to the command-line arguments

Definition at line 58 of file main.c.

References class_profiles(), cmdarg_load(), environment_start(), exec_init(), legal_notice(), output_error(), output_fatal(), output_message(), and output_verbose().


GridLAB-DTM Version 2.0
An open-source project initiated by the US Department of Energy