/[MITgcm]/MITgcm_contrib/jmc_script/runScript
ViewVC logotype

Diff of /MITgcm_contrib/jmc_script/runScript

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

--- MITgcm_contrib/jmc_script/runScript	2003/10/12 14:46:35	1.1
+++ MITgcm_contrib/jmc_script/runScript	2007/11/25 21:12:11	1.2
@@ -37,9 +37,9 @@
 
 set its=`egrep 'nIter0' data | sed 's/ nIter0=//'| sed 's/,$//'`
 set nms=`expr $its / $nit1mn`
-set nMs = `/home/jmc/bin/add0upto3c $nms`
+set nMs = `printf "%3.3i\n" $nms`
 set nme=`expr $nms + $partmn`
-set nMe = `/home/jmc/bin/add0upto3c $nme`
+set nMe = `printf "%3.3i\n" $nme`
 set ite=`expr $nme \* $nit1mn`
 
 set numPBS=`echo $PBS_NODEFILE | sed 's/\/usr\/spool\/PBS\/aux\///g'| sed 's/\.cg01//g'`
@@ -88,7 +88,7 @@
 set out=$?
 echo 'end with status' $out
 
-set iTe = `/home/jmc/bin/add0upto10c $ite`
+set iTe = `printf "%10.10i\n" $ite`
 if ( -f pickup.$iTe.001.001.data ) then
  set out=0
 else

 

  ViewVC Help
Powered by ViewVC 1.1.22