Skip to content

Commit

Permalink
Merge pull request #564 from CliMA/zs/hotfix
Browse files Browse the repository at this point in the history
rename dt_save_to_disk to dt_save_state_to_disk
  • Loading branch information
szy21 authored Jan 20, 2024
2 parents 7f3c595 + dd8551e commit e4ca35d
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config/longrun_configs/amip_target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dt: "150secs"
t_end: "200days"
job_id: "amip_target"
dt_save_to_sol: "10days"
dt_save_to_disk: "20days"
dt_save_state_to_disk: "20days"
apply_limiter: false
hourly_checkpoint: true
turb_flux_partition: "CombinedStateFluxes"
Expand Down
2 changes: 1 addition & 1 deletion config/longrun_configs/amip_target_topo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dt: "150secs"
t_end: "100days"
job_id: "amip_target_topo"
dt_save_to_sol: "10days"
dt_save_to_disk: "20days"
dt_save_state_to_disk: "20days"
apply_limiter: false
hourly_checkpoint: true
turb_flux_partition: "CombinedStateFluxes"
Expand Down
2 changes: 1 addition & 1 deletion config/longrun_configs/dyamond_target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mono_surface: false
t_end: "1days"
job_id: "dyamond_target"
dt_save_to_sol: "0.5days"
dt_save_to_disk: "0.5days"
dt_save_state_to_disk: "0.5days"
turb_flux_partition: "CombinedStateFluxes"
atmos_config_file: "config/longrun_configs/longrun_aquaplanet_dyamond.yml"
monthly_checkpoint: false
Expand Down
2 changes: 1 addition & 1 deletion config/longrun_configs/slabplanet_aqua_target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dt: "150secs"
t_end: "200days"
job_id: "slabplanet_aqua_target"
dt_save_to_sol: "10days"
dt_save_to_disk: "20days"
dt_save_state_to_disk: "20days"
apply_limiter: false
hourly_checkpoint: true
turb_flux_partition: "CombinedStateFluxes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dt: "150secs"
t_end: "200days"
job_id: "slabplanet_target_evolve_ocn"
dt_save_to_sol: "10days"
dt_save_to_disk: "20days"
dt_save_state_to_disk: "20days"
apply_limiter: false
hourly_checkpoint: true
turb_flux_partition: "CombinedStateFluxes"
Expand Down
2 changes: 1 addition & 1 deletion config/longrun_configs/slabplanet_aqua_target_nocouple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dt: "150secs"
t_end: "200days"
job_id: "slabplanet_aqua_target_nocouple"
dt_save_to_sol: "10days"
dt_save_to_disk: "20days"
dt_save_state_to_disk: "20days"
apply_limiter: false
hourly_checkpoint: true
turb_flux_partition: "CombinedStateFluxes"
Expand Down
2 changes: 1 addition & 1 deletion config/longrun_configs/slabplanet_target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dt: "150secs"
t_end: "200days"
job_id: "slabplanet_target"
dt_save_to_sol: "10days"
dt_save_to_disk: "20days"
dt_save_state_to_disk: "20days"
apply_limiter: false
hourly_checkpoint: true
turb_flux_partition: "CombinedStateFluxes"
Expand Down
2 changes: 1 addition & 1 deletion config/longrun_configs/slabplanet_target_evolve_ocn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dt: "150secs"
t_end: "200days"
job_id: "slabplanet_target_evolve_ocn"
dt_save_to_sol: "10days"
dt_save_to_disk: "20days"
dt_save_state_to_disk: "20days"
apply_limiter: false
hourly_checkpoint: true
turb_flux_partition: "CombinedStateFluxes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FLOAT_TYPE: "Float64"
dt_save_to_disk: "10days"
dt_save_state_to_disk: "10days"
dt: "150secs"
t_end: "200days"
h_elem: 16
Expand Down
4 changes: 2 additions & 2 deletions test/mpi_tests/local_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ julia --project=artifacts artifacts/download_artifacts.jl

# run spin up
# - specify `--hourly_checkpoint true` to save monthly checkpoints of all model prognostic states
mpiexec julia --color=yes --project=experiments/AMIP/ experiments/AMIP/coupler_driver.jl --run_name $RUN_NAME --coupled true --start_date 19790101 --hourly_checkpoint true --anim true --surface_setup PrescribedSurface --dt_cpl 200 --energy_check false --mode_name amip --mono_surface false --vert_diff true --moist equil --rad clearsky --precip_model 0M --z_elem 35 --dz_bottom 50 --h_elem 12 --kappa_4 3e16 --rayleigh_sponge true --alpha_rayleigh_uh 0 --dt 200secs --t_end 0.1days --job_id $RUN_NAME --dt_save_to_sol 1000days --dt_save_to_disk 10days --apply_limiter false --FLOAT_TYPE Float64
mpiexec julia --color=yes --project=experiments/AMIP/ experiments/AMIP/coupler_driver.jl --run_name $RUN_NAME --coupled true --start_date 19790101 --hourly_checkpoint true --anim true --surface_setup PrescribedSurface --dt_cpl 200 --energy_check false --mode_name amip --mono_surface false --vert_diff true --moist equil --rad clearsky --precip_model 0M --z_elem 35 --dz_bottom 50 --h_elem 12 --kappa_4 3e16 --rayleigh_sponge true --alpha_rayleigh_uh 0 --dt 200secs --t_end 0.1days --job_id $RUN_NAME --dt_save_to_sol 1000days --dt_save_state_to_disk 10days --apply_limiter false --FLOAT_TYPE Float64

# init using a restart
# - specify the directory of the `checkpoint/` folder (i.e., `--restart_dir`) and time (in secs; `--restart_t`) of the restart file
mpiexec julia --color=yes --project=experiments/AMIP/ experiments/AMIP/coupler_driver.jl --run_name $RUN_NAME --coupled true --restart_dir $RESTART_DIR --restart_t $RESTART_T --start_date 19790102 --anim true --surface_setup PrescribedSurface --dt_cpl 200 --energy_check false --mode_name amip --mono_surface false --vert_diff true --moist equil --rad clearsky --precip_model 0M --z_elem 35 --dz_bottom 50 --h_elem 12 --kappa_4 3e16 --rayleigh_sponge true --alpha_rayleigh_uh 0 --dt 200secs --t_end 0.1days --job_id $RUN_NAME --dt_save_to_sol 1000days --dt_save_to_disk 10days --apply_limiter false --FLOAT_TYPE Float64
mpiexec julia --color=yes --project=experiments/AMIP/ experiments/AMIP/coupler_driver.jl --run_name $RUN_NAME --coupled true --restart_dir $RESTART_DIR --restart_t $RESTART_T --start_date 19790102 --anim true --surface_setup PrescribedSurface --dt_cpl 200 --energy_check false --mode_name amip --mono_surface false --vert_diff true --moist equil --rad clearsky --precip_model 0M --z_elem 35 --dz_bottom 50 --h_elem 12 --kappa_4 3e16 --rayleigh_sponge true --alpha_rayleigh_uh 0 --dt 200secs --t_end 0.1days --job_id $RUN_NAME --dt_save_to_sol 1000days --dt_save_state_to_disk 10days --apply_limiter false --FLOAT_TYPE Float64

0 comments on commit e4ca35d

Please sign in to comment.