joanballester_ic3@gmail_com
New Member
Hi all,I am trying to run a long simulation (100yr) in 2000_CAM5_CLM40%SP_CICE_POP2_RTM_SGLC_SWAV configuration and 1.9x2.5_gx1v6 resolution. The key point of this simulation is to save the restart files every month, and not only at the end of the run. I have tried two things: CASE 1: to resubmit the simulation:./xmlchange -file env_run.xml -id STOP_OPTION -val nmonths
./xmlchange -file env_run.xml -id STOP_N -val 1
./xmlchange -file env_run.xml -id REST_OPTION -val nmonths
./xmlchange -file env_run.xml -id REST_N -val 1
./xmlchange -file env_run.xml -id DOUT_S_SAVE_INT_REST_FILES -val TRUE
./xmlchange -file env_run.xml -id RESUBMIT -val 1199
CASE 2: to perform a single simulation:./xmlchange -file env_run.xml -id STOP_OPTION -val nmonths
./xmlchange -file env_run.xml -id STOP_N -val 2
./xmlchange -file env_run.xml -id REST_OPTION -val nmonths
./xmlchange -file env_run.xml -id REST_N -val 1
./xmlchange -file env_run.xml -id DOUT_S_SAVE_INT_REST_FILES -val TRUE
./xmlchange -file env_run.xml -id RESUBMIT -val 0
In case 1, the simulation runs for 1 month, but it is not resubmitted, and so I only have the 0001-02-01-00000/ subfolder in the restart folder.In case 2, the simulation successfully runs for 2 months, but the restart files are only saved at the end of run, and so I only have the 0001-03-01-00000/ subfolder in the restart folder.I attach the env_run.xml files for both cases. Am I doing something wrong?Thank you so much.Joan Ballester
./xmlchange -file env_run.xml -id STOP_N -val 1
./xmlchange -file env_run.xml -id REST_OPTION -val nmonths
./xmlchange -file env_run.xml -id REST_N -val 1
./xmlchange -file env_run.xml -id DOUT_S_SAVE_INT_REST_FILES -val TRUE
./xmlchange -file env_run.xml -id RESUBMIT -val 1199
CASE 2: to perform a single simulation:./xmlchange -file env_run.xml -id STOP_OPTION -val nmonths
./xmlchange -file env_run.xml -id STOP_N -val 2
./xmlchange -file env_run.xml -id REST_OPTION -val nmonths
./xmlchange -file env_run.xml -id REST_N -val 1
./xmlchange -file env_run.xml -id DOUT_S_SAVE_INT_REST_FILES -val TRUE
./xmlchange -file env_run.xml -id RESUBMIT -val 0
In case 1, the simulation runs for 1 month, but it is not resubmitted, and so I only have the 0001-02-01-00000/ subfolder in the restart folder.In case 2, the simulation successfully runs for 2 months, but the restart files are only saved at the end of run, and so I only have the 0001-03-01-00000/ subfolder in the restart folder.I attach the env_run.xml files for both cases. Am I doing something wrong?Thank you so much.Joan Ballester