Changeset 4152 for trunk/LMDZ.COMMON/libf/evolution/deftank
- Timestamp:
- Mar 25, 2026, 11:19:02 AM (13 days ago)
- Location:
- trunk/LMDZ.COMMON/libf/evolution/deftank
- Files:
-
- 4 edited
-
README (modified) (1 diff)
-
clean.sh (modified) (1 diff)
-
pcm_run.job (modified) (1 diff)
-
pem_workflow_lib.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/deftank/README
r4110 r4152 62 62 The PEM simulation generates the following files: 63 63 > the usual outputs of the PCM: "restartfi.nc", "restart.nc"/"restart1D.txt", "diagfi.nc", etc; 64 > the XIOS outputs of the PCM: " Xoutdaily4pem*.nc"/"Xoutyearly4pem*.nc";64 > the XIOS outputs of the PCM: "xoutdaily4pem*.nc"/"xoutyearly4pem*.nc"; 65 65 > the outputs of the chained simulation: "pem_workflow.log", "pem_workflow.sts" and possibly "kill_pem_workflow.sh"; 66 66 > the usual outputs of the PEM: "restartevo.nc", "restartfi.nc", "restart.nc"/"restart1D.txt" and "diagevo.nc". -
trunk/LMDZ.COMMON/libf/evolution/deftank/clean.sh
r4110 r4152 19 19 rm -f start*.nc 20 20 rm -f used_* 21 rm -f Xout*4pem*.nc21 rm -f xout*4pem*.nc 22 22 rm -f xios_client_* 23 23 rm -f diag*.nc -
trunk/LMDZ.COMMON/libf/evolution/deftank/pcm_run.job
r4110 r4152 65 65 k=0 66 66 if [ $(echo "$k > 0" | bc) -eq 1 ]; then # Only the last 2 years are taken for the PEM 67 cp Xoutdaily4pem.nc Xoutdaily4pem_Y${k}.nc68 cp Xoutyearly4pem.nc Xoutyearly4pem_Y${k}.nc67 cp xoutdaily4pem.nc xoutdaily4pem_y${k}.nc 68 cp xoutyearly4pem.nc xoutyearly4pem_y${k}.nc 69 69 fi 70 mv Xoutdaily4pem.nc diags/Xoutdaily4pem${i_pcm_run}.nc71 mv Xoutyearly4pem.nc diags/Xoutyearly4pem${i_pcm_run}.nc70 mv xoutdaily4pem.nc diags/xoutdaily4pem${i_pcm_run}.nc 71 mv xoutyearly4pem.nc diags/xoutyearly4pem${i_pcm_run}.nc 72 72 cp restartfi.nc starts/restartfi${i_pcm_run}.nc 73 73 mv restartfi.nc startfi.nc -
trunk/LMDZ.COMMON/libf/evolution/deftank/pem_workflow_lib.sh
r4117 r4152 498 498 cleanup diags/diagfi .nc $i_resume 499 499 cleanup diags/diagsoil .nc $i_resume 500 cleanup diags/ Xoutdaily4pem .nc $i_resume501 cleanup diags/ Xoutyearly4pem .nc $i_resume500 cleanup diags/xoutdaily4pem .nc $i_resume 501 cleanup diags/xoutyearly4pem .nc $i_resume 502 502 cleanup logs/run_pcm .log $i_resume 503 503 cleanup starts/restart1D .txt $i_resume … … 527 527 fi 528 528 if [ $i_resume -eq $(($n_pcm_runs_ini - 1)) ]; then 529 cp diags/ Xoutdaily4pem${i_resume}.nc Xoutdaily4pem_Y1.nc530 cp diags/ Xoutyearly4pem${i_resume}.nc Xoutyearly4pem_Y1.nc529 cp diags/xoutdaily4pem${i_resume}.nc xoutdaily4pem_y1.nc 530 cp diags/xoutyearly4pem${i_resume}.nc xoutyearly4pem_y1.nc 531 531 submit_cycle $1 $n_pcm_runs_ini $i_pcm_run 532 532 elif [ $i_resume -eq $n_pcm_runs_ini ]; then 533 cp diags/ Xoutdaily4pem$(($i_resume - 1)).nc Xoutdaily4pem_Y1.nc534 cp diags/ Xoutyearly4pem$(($i_resume - 1)).nc Xoutyearly4pem_Y1.nc535 cp diags/ Xoutdaily4pem${i_resume}.nc Xoutdaily4pem_Y2.nc536 cp diags/ Xoutyearly4pem${i_resume}.nc Xoutyearly4pem_Y2.nc533 cp diags/xoutdaily4pem$(($i_resume - 1)).nc xoutdaily4pem_y1.nc 534 cp diags/xoutyearly4pem$(($i_resume - 1)).nc xoutyearly4pem_y1.nc 535 cp diags/xoutdaily4pem${i_resume}.nc xoutdaily4pem_y2.nc 536 cp diags/xoutyearly4pem${i_resume}.nc xoutyearly4pem_y2.nc 537 537 submit_pem_phase $1 # The next job is a PEM run 538 538 else … … 554 554 cp starts/restartevo$(($i_pem_run - 1)).nc startevo.nc 555 555 if [ $il -eq $(($n_pcm_runs - 1)) ]; then # Second to last PCM run 556 cp diags/ Xoutdaily4pem${i_resume}.nc Xoutdaily4pem_Y1.nc557 cp diags/ Xoutyearly4pem${i_resume}.nc Xoutyearly4pem_Y1.nc556 cp diags/xoutdaily4pem${i_resume}.nc xoutdaily4pem_y1.nc 557 cp diags/xoutyearly4pem${i_resume}.nc xoutyearly4pem_y1.nc 558 558 submit_cycle $1 $n_pcm_runs $(($il + 1)) 559 559 elif [ $il -eq $n_pcm_runs ]; then # Last PCM run so the next job is a PEM run 560 cp diags/ Xoutdaily4pem$(($i_resume - 1)).nc Xoutdaily4pem_Y1.nc561 cp diags/ Xoutyearly4pem$(($i_resume - 1)).nc Xoutyearly4pem_Y1.nc562 cp diags/ Xoutdaily4pem${i_resume}.nc Xoutdaily4pem_Y2.nc563 cp diags/ Xoutyearly4pem${i_resume}.nc Xoutyearly4pem_Y2.nc560 cp diags/xoutdaily4pem$(($i_resume - 1)).nc xoutdaily4pem_y1.nc 561 cp diags/xoutyearly4pem$(($i_resume - 1)).nc xoutyearly4pem_y1.nc 562 cp diags/xoutdaily4pem${i_resume}.nc xoutdaily4pem_y2.nc 563 cp diags/xoutyearly4pem${i_resume}.nc xoutyearly4pem_y2.nc 564 564 submit_pem_phase $1 565 565 else … … 582 582 cleanup starts/restart .nc $(($i_pcm_run - 1)) 583 583 cleanup starts/restartfi .nc $(($i_pcm_run - 1)) 584 cleanup diags/ Xoutdaily4pem .nc $(($i_pcm_run - 1))585 cleanup diags/ Xoutyearly4pem .nc $(($i_pcm_run - 1))584 cleanup diags/xoutdaily4pem .nc $(($i_pcm_run - 1)) 585 cleanup diags/xoutyearly4pem .nc $(($i_pcm_run - 1)) 586 586 cleanup diags/diagevo .nc $i_resume 587 587 cleanup diags/diagevo_soil .nc $i_resume
Note: See TracChangeset
for help on using the changeset viewer.
