-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit was manufactured by cvs2git to create tag 'Rel_4_1_0_r1'.
Sprout from master 2003-07-31 17:42:24 UTC cherkaue 'Modified to handle ASCII as well as Binary state files.' Cherrypick from Rel_4_0_x 2006-09-26 19:49:25 UTC vicadmin <[email protected]> ' In earlier versions of VIC, the set of output files and their contents': Makefile README.txt calc_water_energy_balance_errors.c close_files.c display_current_settings.c dist_prec.c get_global_param.c global.param.sample initialize_atmos.c make_in_and_outfiles.c output.LDAS_OUTPUT.template output.OPTIMIZE.template output.OUTPUT_FORCE.template output.TRADITIONAL.template output_list_utils.c parse_output_info.c put_data.c set_output_defaults.c user_def.h vicNl.c vicNl.h vicNl_def.h vicerror.c write_data.c write_forcing_file.c Delete: aurad.c calc_long_shortwave.c calc_netshort.c calc_snow_ground_flux.c calc_trans.c calc_water_density.c func_snow_ground_flux.c initialize_energy.c long_shortwave.c make_out_data.c makefile polint.c priestley.c rad_and_vpd.c rad_and_vpd.h read_PILPS2c.c read_atmosdata.c read_initial_snow.c read_initial_soil_thermal.c read_rosemount.c read_sawd.c read_sawd_binary.c read_snowmodel.c
- Loading branch information
vicadmin
committed
Sep 26, 2006
1 parent
62acf90
commit 9762b5f
Showing
48 changed files
with
3,843 additions
and
5,674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,92 @@ | ||
# VIC Makefile | ||
# Last Changed: Tue Apr 22 11:41:58 2003 by Keith Cherkauer <[email protected]> | ||
# Note: replaced read_vegparam by read_vegparam_LAI | ||
# Modifications: | ||
# 27-May-2003 Replaced read_vegparam by read_vegparam_LAI KAC | ||
# 12-Nov-2003 Added "make depend" to the "all" and "default" options. | ||
# This way, if a user always types "make", the user is | ||
# guaranteed to have a .depend file and therefore *.o will | ||
# always be recompiled whenever a .h file is updated. The | ||
# user can override this behavior by typing "make model", | ||
# which doesn't invoke "make depend". TJB | ||
# 2006-Sep-11 Changes for flexible output configuration. TJB | ||
# Added the following files: | ||
# calc_water_energy_balance_errors.c | ||
# output_list_utils.c | ||
# parse_output_info.c | ||
# set_output_defaults.c | ||
# | ||
# ----------------------------------------------------------------------- | ||
|
||
# ----------------------------------------------------------------------- | ||
# SET ENVIRONMENT-SPECIFIC OPTIONS HERE | ||
# ----------------------------------------------------------------------- | ||
|
||
# Set SHELL = your shell here | ||
SHELL = /bin/csh | ||
|
||
# Set CC = your compiler here | ||
CC = gcc | ||
CFLAGS = -I. -g -Wall -Wno-unused | ||
EXT = .debug | ||
#CFLAGS = -I. -O3 -Wall -Wno-unused | ||
#CFLAGS = -I. -O3 -pg -Wall -Wno-unused | ||
|
||
# Uncomment for normal optimized code flags (fastest run option) | ||
CFLAGS = -I. -O3 -Wall -Wno-unused | ||
LIBRARY = -lm | ||
|
||
# Uncomment to include debugging information | ||
#CFLAGS = -I. -g -Wall -Wno-unused | ||
#LIBRARY = -lm | ||
|
||
# Uncomment to include execution profiling information | ||
#CFLAGS = -I. -O3 -pg -Wall -Wno-unused | ||
#LIBRARY = -lm | ||
|
||
# Uncomment to debug memory problems using electric fence (man efence) | ||
#CFLAGS = -I. -g -Wall -Wno-unused | ||
#LIBRARY = -lm -lefence -L/usr/local/lib | ||
|
||
HDRS = vicNl.h vicNl_def.h global.h snow.h user_def.h mtclim42_vic.h LAKE.h | ||
|
||
OBJS = CalcAerodynamic.o CalcBlowingSnow.o SnowPackEnergyBalance.o \ | ||
StabilityCorrection.o advected_sensible_heat.o alloc_atmos.o \ | ||
arno_evap.o calc_air_temperature.o calc_atmos_energy_bal.o \ | ||
calc_cloud_cover_fraction.o \ | ||
calc_forcing_stats.o calc_longwave.o calc_rainonly.o \ | ||
calc_root_fraction.o calc_snow_coverage.o calc_surf_energy_bal.o \ | ||
calc_veg_params.o \ | ||
canopy_evap.o check_files.o check_state_file.o close_files.o \ | ||
cmd_proc.o compress_files.o compute_dz.o correct_precip.o \ | ||
dist_prec.o estimate_T1.o \ | ||
free_dist_prcp.o free_vegcon.o frozen_soil.o full_energy.o \ | ||
func_atmos_energy_bal.o func_atmos_moist_bal.o \ | ||
func_canopy_energy_bal.o func_surf_energy_bal.o get_force_type.o \ | ||
get_global_param.o \ | ||
initialize_atmos.o initialize_model_state.o initialize_global.o \ | ||
|
||
# ----------------------------------------------------------------------- | ||
# MOST USERS DO NOT NEED TO MODIFY BELOW THIS LINE | ||
# ----------------------------------------------------------------------- | ||
|
||
HDRS = vicNl.h vicNl_def.h global.h snow.h user_def.h mtclim42_vic.h | ||
|
||
OBJS = CalcAerodynamic.o SnowPackEnergyBalance.o StabilityCorrection.o \ | ||
alloc_atmos.o arno_evap.o calc_air_temperature.o \ | ||
calc_cloud_cover_fraction.o calc_longwave.o calc_rainonly.o \ | ||
calc_root_fraction.o calc_surf_energy_bal.o calc_veg_params.o \ | ||
calc_water_energy_balance_errors.o canopy_evap.o check_files.o \ | ||
check_state_file.o close_files.o \ | ||
cmd_proc.o compress_files.o compute_dz.o compute_treeline.o \ | ||
correct_precip.o display_current_settings.o dist_prec.o \ | ||
estimate_T1.o free_dist_prcp.o free_vegcon.o frozen_soil.o \ | ||
full_energy.o func_surf_energy_bal.o \ | ||
get_force_type.o get_global_param.o initialize_atmos.o \ | ||
initialize_model_state.o initialize_global.o \ | ||
initialize_new_storm.o initialize_snow.o initialize_soil.o \ | ||
initialize_veg.o latent_heat_from_snow.o make_cell_data.o \ | ||
make_dist_prcp.o make_dmy.o \ | ||
initialize_veg.o make_cell_data.o make_dist_prcp.o make_dmy.o \ | ||
make_energy_bal.o make_in_and_outfiles.o make_snow_data.o \ | ||
make_veg_var.o massrelease.o modify_Ksat.o mtclim42_vic.o \ | ||
mtclim42_wrapper.o nrerror.o open_debug.o open_file.o \ | ||
open_state_file.o penman.o prepare_full_energy.o put_data.o \ | ||
open_state_file.o output_list_utils.o parse_output_info.o \ | ||
penman.o prepare_full_energy.o put_data.o \ | ||
read_arcinfo_ascii.o read_atmos_data.o read_forcing_data.o \ | ||
read_initial_model_state.o read_snowband.o \ | ||
read_soilparam.o read_soilparam_arc.o read_veglib.o read_vegparam.o \ | ||
redistribute_during_storm.o root_brent.o runoff.o snow_intercept.o \ | ||
snow_melt.o snow_utility.o soil_conduction.o soil_thermal_eqn.o \ | ||
redistribute_during_storm.o root_brent.o runoff.o \ | ||
set_output_defaults.o snow_intercept.o snow_melt.o \ | ||
snow_utility.o soil_conduction.o soil_thermal_eqn.o \ | ||
solve_snow.o store_moisture_for_debug.o surface_fluxes.o svp.o \ | ||
vicNl.o vicerror.o write_atmosdata.o write_data.o write_debug.o \ | ||
write_forcing_file.o write_layer.o write_model_state.o \ | ||
write_snow_data.o write_soilparam.o write_vegparam.o write_vegvar.o \ | ||
lakes.eb.o initialize_lake.o read_lakeparam.o ice_melt.o \ | ||
IceEnergyBalance.o water_energy_balance.o water_under_ice.o \ | ||
wetland_energy.o | ||
write_soilparam.o write_vegparam.o write_vegvar.o | ||
|
||
SRCS = $(OBJS:%.o=%.c) | ||
|
||
all: | ||
make depend | ||
make model | ||
|
||
default: | ||
make depend | ||
make model | ||
|
||
full: | ||
|
@@ -67,7 +99,7 @@ clean:: | |
/bin/rm -f *.o core log *~ | ||
|
||
model: $(OBJS) | ||
$(CC) -o vicNl$(EXT) $(OBJS) $(CFLAGS) $(LIBRARY) | ||
$(CC) -o vicNl $(OBJS) $(CFLAGS) $(LIBRARY) | ||
|
||
# ------------------------------------------------------------- | ||
# tags | ||
|
Oops, something went wrong.