You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/Development/ReleaseNotes.md
+17-6
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ For VIC 5 and later, type `vic _{classic,image}.exe -v`
15
15
16
16
------------------------------
17
17
18
-
## VIC 5.0.0 (Release Candidate 1)
18
+
## VIC 5.0.0 (Release Candidate 2)
19
19
20
-
**Release date: June 28, 2016**
20
+
**Release date: August 18, 2016**
21
21
22
22
This is a major update from VIC 4. The VIC 5.0.0 release aims to have nearly identical physics as VIC 4.2 while providing a clean, refactored code base supporting multiple drivers. There are a number of new features, bug fixes, and backward incompatible changes. See the VIC Github page for more details on the changes included in this release.
23
23
@@ -60,19 +60,22 @@ This is a major update from VIC 4. The VIC 5.0.0 release aims to have nearly ide
**TODO:** See https://github.com/UW-Hydro/VIC/issues/79 for more information.
63
+
See https://github.com/UW-Hydro/VIC/issues/79 for more information. A temporary location of the test data is here: ftp://ftp.hydro.washington.edu/pub/gergel/VIC5_test_data/
64
64
65
65
10. Testing and Continuous Integration ([GH#190](https://github.com/UW-Hydro/VIC/pull/190))
66
66
67
67
A comprehensive testing platform has been implemented and is available for public use along with the VIC model. A small subset of the test platform is run on [Travis-CI](https://travis-ci.org/UW-Hydro/VIC), which facilitates continuous integration of the VIC test platform. More information on the test platform is [here](Testing.md)
68
68
69
+
11. Run-time profiling and timing ([GH#442](https://github.com/UW-Hydro/VIC/pull/442))
70
+
71
+
A timing module has been added to VIC in order to assess the computational cost and throughput of the VIC model. New output variables (`OUT_TIME_VICRUN_WALL` and `OUT_TIME_VICRUN_CPU`) document the time spent in `vic_run` for each variable. Additionally, a timing table is printed to `LOG_DEST` at the end of each simulation.
The format of ASCII forcing and output files has changed in VIC 5. These changes were motivated by the desire to improve simulation metadata tracking and reproducibility of VIC simulations.
74
78
75
-
- Forcing files now require date stamps for each timestep and a header specifies the names of the forcing variables.
76
79
- Output files now include a header with simulation metadata and variable names. The `PRT_HEADER` option has been deprecated.
77
80
78
81
2. Classic Driver Global Parameter Options
@@ -155,18 +158,26 @@ This is a major update from VIC 4. The VIC 5.0.0 release aims to have nearly ide
155
158
156
159
3. Fix related to exact restart ([GH#481](https://github.com/UW-Hydro/VIC/pull/481), [GH#507](https://github.com/UW-Hydro/VIC/pull/507), [GH#509](https://github.com/UW-Hydro/VIC/pull/509))
157
160
158
-
Previously, VIC did not produce the same results (fluxes and states) if a simulation is separated into multiple shorter-period runs by saving the state variables and restarting. This was due to: 1) the MTCLIM algorithm resulted in slightly different sub-daily meteorological variable values for different length of forcing (MTCLIM is deprecated in the current version); 2) a few bugs resulting in inexact restart. The following bugs have been fixed:
161
+
Previously, VIC did not produce the same results (fluxes and states) if a simulation was separated into multiple shorter-period runs by saving the state variables and restarting. This was due to:
162
+
1. The MTCLIM algorithm resulted in slightly different sub-daily meteorological variable values for different lengths of forcings (MTCLIM is deprecated in the current version)
163
+
2. A few bugs resulting in inexact restart.
164
+
165
+
The following bugs have been fixed:
159
166
160
167
- The prognostic state variable `energy.Tfoliage` (foliage temperature) is now saved to the state file
161
168
- Two flux variables `energy.LongUnderOut` and `energy.snow_flux` are now saved to the state file.
162
169
163
170
!!!Note
164
-
This is a temporary solution to ensure exact restart. A better way of handling the two flux variables needs to be done in the future (see [GH#479](https://github.com/UW-Hydro/VIC/issues/479))
171
+
This is a temporary solution to ensure exact restart. A better way of handling these two flux variables needs to be done in the future (see [GH#479](https://github.com/UW-Hydro/VIC/issues/479))
165
172
166
173
4. Fix for binary state file I/O ([GH#487](https://github.com/UW-Hydro/VIC/pull/487))
167
174
168
175
Fixed a bug so that the binary format state file I/O works correctly.
169
176
177
+
5. Fix for a physical constant (water heat capacity) ([GH#574](https://github.com/UW-Hydro/VIC/pull/574))
178
+
179
+
Fixed a bug where volumetric heat capacity of water should be used in `func_canopy_energy_bal` (previously specific heat capacity was used).
Copy file name to clipboardexpand all lines: docs/Documentation/Drivers/Image/RunVIC.md
+17-4
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Running the VIC Image Driver
2
2
3
3
## Dependencies:
4
-
The Image Driver's has three dependencies:
4
+
The Image Driver has three dependencies:
5
5
6
6
1. A C compiler. We routinely test VIC using the following compilers:
7
7
@@ -22,9 +22,16 @@ The Image Driver's has three dependencies:
22
22
## Compiling
23
23
In most cases, you will need to edit the `NETCDF_PATH` and `MPI_PATH` variables in the `Makefile`.
24
24
25
-
If you want to use a compiler other than `gcc`, either edit the Makefile or set the `CC` environment variable, e.g.
25
+
If you want to use a compiler other than `mpicc`, either edit the Makefile or set the `MPICC` environment variable, e.g.
26
26
27
-
export CC=icc
27
+
MPICC=/path/to/mpi_c_compiler
28
+
29
+
The flags and libraries required to compile VIC with netCDF are automatically determined in the `Makefile`. They can be overwritten by setting the following two environment variables. These variables can be determined by running `nc-config --all`.
30
+
31
+
NC_LIBS="-L/path/to/libs ..."
32
+
NC_CFLAGS="-I/path/to/includes -your_c_flags ..."
33
+
34
+
In some versions of the MPI library (e.g. OPEN-MPI with Intel), you may also need to set the environment variable `MX_RCACHE=2` prior to compiling.
28
35
29
36
- Change directory, `cd`, to the "Image Driver" source code directory and type `make`
30
37
@@ -37,10 +44,16 @@ If you want to use a compiler other than `gcc`, either edit the Makefile or set
37
44
38
45
At the command prompt, type:
39
46
40
-
`vic_image.exe -g global_parameter_filename`
47
+
`vic_image.exe -g global_parameter_filename.txt`
41
48
42
49
where `global_parameter_filename` = name of the global parameter file corresponding to your project.
43
50
51
+
To run VIC image driver using multiple processor, type the following instead:
PARAMETERS(put the parameters path/file here) # Parameters path/file
143
143
BASEFLOW ARNO # ARNO = columns 5-8 are the standard VIC baseflow parameters; NIJSSEN2001 = columns 5-8 of soil file are baseflow parameters from Nijssen et al (2001)
144
144
JULY_TAVG_SUPPLIED FALSE # TRUE = final column of the soil parameter file will contain average July air temperature, for computing treeline; this will be ignored if COMPUTE_TREELINE is FALSE; FALSE = compute the treeline based on the average July air temperature of the forcings over the simulation period
145
145
ORGANIC_FRACT FALSE # TRUE = simulate organic soils; soil param file contains 3*Nlayer extra columns, listing for each layer the organic fraction, and the bulk density and soil particle density of the organic matter in the soil layer; FALSE = soil param file does not contain any information about organic soil, and organic fraction should be assumed to be 0
ROOT_ZONES 3 # Number of root zones (must match format of veg param file)
148
146
#LAI_SRC FROM_VEGPARAM # FROM_VEGPARAM = read LAI from veg param file; FROM_VEGHIST = read LAI from veg_hist forcing file
149
147
#ALB_SRC FROM_VEGPARAM # FROM_VEGPARAM = read ALBEDO from veg param file; FROM_VEGHIST = read ALBEDO from veg_hist forcing file
150
148
#FCAN_SRC FROM_DEFAULT # FROM_DEFAULT = set all fcanopy values to 1.0; FROM_VEGPARAM = read FCANOPY from veg param file; FROM_VEGHIST = read FCANOPY from veg_hist forcing file
151
-
SNOW_BAND 1 # Number of snow bands; if number of snow bands > 1, you must insert the snow band path/file after the number of bands (e.g. SNOW_BAND 5 my_path/my_snow_band_file)
149
+
SNOW_BAND TRUE # TRUE if VIC should use snowbands in PARAMETERS file, else FALSE.
0 commit comments