Running the VIC Classic Driver¶
Dependencies: The Classic Driver's only dependency is a C compiler that supports the C-99 standard. We routinely test VIC using the following compilers:
- GNU (
- Clang (
VIC has also been compiled using these compilers:
- Intel (
- PGI (
- GNU (
If you want to use a compiler other than
gcc, either edit the Makefile or set the
CCenvironment variable, e.g.
cd, to the "Classic Driver" source code directory and type
cd vic/drivers/classic make
If this completes without errors, you will now see a file called
vic_classic.exein this directory.
vic_classic.exeis the executable file for the model.
At the command prompt, type:
./vic_classic.exe -g global_parameter_filename
global_parameter_filename = name of the global parameter file corresponding to your project.
global_parameter_filename name of the global parameter file corresponding to your project.
Other Command Line Options¶
VIC has a few other command line options:
vic_classic.exe -v: says which version of VIC this is
vic_classic.exe -h: prints a list of all the VIC command-line options
vic_classic.exe -o: prints a list of all of the current compile-time settings in this executable; to change these settings, you must edit
vic_def.hand recompile using