File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -442,17 +442,14 @@ for yr in $yearsRange; do
442
442
-d " $latVar " ," $latLimsIdx " \
443
443
-d " $lonVar " ," $lonLimsIdx " \
444
444
" $cacheDir /$yr /$f2 " " $cacheDir /$yr /$f2 " & # extracting $variables
445
- [ $( jobs | wc -l ) -ge $( nproc ) ] && wait
445
+
446
446
done
447
447
448
448
# increment time-step by one unit
449
449
toDate=$( date --date " $toDate 1day" ) # current time-step
450
450
toDateUnix=$( date --date=" $toDate " " +%s" ) # current timestamp in unix EPOCH time
451
451
done
452
452
453
- # wait to make sure the while loop is finished
454
- wait
455
-
456
453
# go to the next year if necessary
457
454
if [[ " $toDateUnix " == " $endOfCurrentYearUnix " ]]; then
458
455
toDate=$( date --date " $toDate 1hour" )
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ call_processing_func () {
281
281
#SBATCH --nodes=1
282
282
#SBATCH --account=rpp-kshook
283
283
#SBATCH --time=04:00:00
284
- #SBATCH --mem=2GB
284
+ #SBATCH --mem=4GB
285
285
#SBATCH --job-name=GWF_${scriptName}
286
286
#SBATCH --error=$HOME /scratch/.gdt_logs/GWF_%A-%a_err.txt
287
287
#SBATCH --output=$HOME /scratch/.gdt_logs/GWF_%A-%a.txt
You can’t perform that action at this time.
0 commit comments