turbo_veg 884 B

12345678910111213141516171819202122232425262728
  1. #!/bin/csh
  2. # run-script generated by Most Wed Oct 31 10:27:58 2007
  3. set EXP=V42 # Name your experiment here
  4. unset noclobber
  5. if ($1 != "") cd $1
  6. #rm -f plasim_restart
  7. rm -f Abort_Message
  8. set YEAR=10
  9. set YEARS=53
  10. while ($YEAR < $YEARS)
  11. set YEAR = `expr $YEAR + 1`
  12. set DATANAME=`printf '%s.%03d' $EXP $YEAR`
  13. set DIAGNAME=`printf '%s_DIAG.%03d' $EXP $YEAR`
  14. set RESTNAME=`printf '%s_REST.%03d' $EXP $YEAR`
  15. if ($YEAR < 51 ) cp ln001 land_namelist
  16. if ($YEAR < 40 ) cp ln002 land_namelist
  17. if ($YEAR < 28 ) cp ln005 land_namelist
  18. if ($YEAR < 23 ) cp ln010 land_namelist
  19. if ($YEAR < 18 ) cp ln020 land_namelist
  20. if ($YEAR < 13 ) cp ln001 land_namelist
  21. mpirun -np 2 most_plasim_t21_l10_p2.x >${DIAGNAME}
  22. if (-e Abort_Message) exit 1
  23. if (-e puma_output) mv puma_output $DATANAME
  24. cp plasim_status plasim_restart
  25. mv plasim_status $RESTNAME
  26. end