- Timestamp:
- Dec 9, 2024, 12:35:05 PM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/deftank/lib_launchPEM.sh
r3537 r3538 310 310 # PCM relaunch during the initialization cycle 311 311 iPEM=1 312 cleanfiles diags/diagpem .nc $ iPEM313 cleanfiles diags/diagsoilpem .nc $ iPEM314 cleanfiles "out_PEM/run" "" $ iPEM315 cleanfiles starts/restart1D_postPEM .txt $ iPEM316 cleanfiles starts/restart_postPEM .nc $ iPEM317 cleanfiles starts/restartfi_postPEM .nc $ iPEM318 cleanfiles starts/restartpem .nc $ iPEM312 cleanfiles diags/diagpem .nc $(($iPEM - 1)) 313 cleanfiles diags/diagsoilpem .nc $(($iPEM - 1)) 314 cleanfiles "out_PEM/run" "" $(($iPEM - 1)) 315 cleanfiles starts/restart1D_postPEM .txt $(($iPEM - 1)) 316 cleanfiles starts/restart_postPEM .nc $(($iPEM - 1)) 317 cleanfiles starts/restartfi_postPEM .nc $(($iPEM - 1)) 318 cleanfiles starts/restartpem .nc $(($iPEM - 1)) 319 319 i_myear=$irelaunch 320 320 sed -i "1s/.*/$i_myear $n_myear $convert_years $iPCM $iPEM $nPCM $nPCM_ini/" info_PEM.txt … … 334 334 iPEM=$(echo "($iPCM - $nPCM_ini)/$nPCM + 1" | bc) 335 335 il=$(echo "($irelaunch - $nPCM_ini + 1)%$nPCM + 1" | bc) 336 cleanfiles diags/diagpem .nc $ iPEM337 cleanfiles diags/diagsoilpem .nc $ iPEM338 cleanfiles "out_PEM/run" "" $ iPEM339 cleanfiles starts/restart1D_postPEM .txt $ iPEM340 cleanfiles starts/restart_postPEM .nc $ iPEM341 cleanfiles starts/restartfi_postPEM .nc $ iPEM342 cleanfiles starts/restartpem .nc $ iPEM343 cp starts/restartpem$ {iPEM}.nc startpem.nc336 cleanfiles diags/diagpem .nc $(($iPEM - 1)) 337 cleanfiles diags/diagsoilpem .nc $(($iPEM - 1)) 338 cleanfiles "out_PEM/run" "" $(($iPEM - 1)) 339 cleanfiles starts/restart1D_postPEM .txt $(($iPEM - 1)) 340 cleanfiles starts/restart_postPEM .nc $(($iPEM - 1)) 341 cleanfiles starts/restartfi_postPEM .nc $(($iPEM - 1)) 342 cleanfiles starts/restartpem .nc $(($iPEM - 1)) 343 cp starts/restartpem$(($iPEM - 1)).nc startpem.nc 344 344 if [ $il -eq $(($nPCM - 1)) ]; then # Second to last PCM run 345 345 i_myear=$(($(awk "NR==$iPEM {print \$1}" "info_PEM.txt") + $il))
Note: See TracChangeset
for help on using the changeset viewer.