Skip to content
Snippets Groups Projects
Commit d44e7670 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Extend simulations 10 minutes to ensure that the restart file is created.

parent 70fbe2ed
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ END_DAY=%Chunk_END_DAY%
END_HOUR=%Chunk_END_HOUR%
Chunk_START_DATE="${START_YEAR}-${START_MONTH}-${START_DAY}T${START_HOUR}:00:00Z"
Chunk_END_DATE="${END_YEAR}-${END_MONTH}-${END_DAY}T${END_HOUR}:10:00Z"
Chunk_END_DATE="${END_YEAR}-${END_MONTH}-${END_DAY}T${END_HOUR}:00:00Z"
# Convert dates to Unix timestamps
t1_unix=$(date -d "$Chunk_START_DATE" +%s)
......@@ -30,6 +30,10 @@ t2_unix=$(date -d "$Chunk_END_DATE" +%s)
# Compute difference in seconds
checkpoint_time=$((t2_unix - t1_unix))
# Extend chunk 10 minutes to ensure checkpoint creation at the proper time
Chunk_END_DATE="${END_YEAR}-${END_MONTH}-${END_DAY}T${END_HOUR}:10:00Z"
MEMBER=%MEMBER%
CHUNK=%CHUNK%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment