[RegCNET] Re: Run

Moetasim mashfaq at purdue.edu
Thu Apr 13 17:00:23 CEST 2006


Hi Sri,
So ulimtaley the reason is same that you are not using new regcm executable. 
Your regcm.sub script for qsub doesn't copy the newly bulit regcm in Main folder 
to your Run directory.

Ok, in such situation, after running ICBC, you should manually make code in Main  
folder and after that you should copy new regcm exe file manually to the Run 
folder. Follow rest of the steps (linking) as you are already doing.
This will solve your problem.

Moet 

Quoting Srivatsan Raghavan <s.raghavan at ucl.ac.uk>:

> Thanks Moet.Hope this helps.
> 
> Below are the files :
> 
> 
> 1.  regcm.sub
> ----------------
> #!/bin/csh -f
> #-----------------------------------------------------------------
> #       run regcm
> 
> 
> cd /home/ucfasra/RegCM/Run
> ./regcm < regcm.in
> ----------------------
> 
> 
> 
> 2.regcm.x
> -------------
> #csh
> set mydir=$PWD
> cd ../Main
> make clean
> make
> cd $mydir
> mv ../Main/regcm .
> /bin/ln -sf ../Input/DOMAIN.INFO fort.10
> /bin/ln -sf    ../Input/ICBC1991120100 fort.101
> ./regcm<./regcm.in
> -----------------------------------------------------
> 
> 3. The steps I use in qsub option :
> 
> 
> after editing regcm.in,
> 
> i.  ln -sf ../Input/DOMAIN.INFO fort.10
> ii. ln -sf ../Input/ICBC1991120100 fort.101
> iii.qsub -l s_rt=24:00:00 regcm.sub
> 
> incase of a restart,
> adding to these steps,
> 
> iv. ln -sf output/SAV......  fort.14
> 
> -----------------------------------------------------
> 
> 
> 4. The script does the job. I do not copy the exe from Main.
> 
> 
> Thanks.
> 
> Sri
> 
> 
> Quoting Moetasim <mashfaq at purdue.edu>:
> 
> >
> > HI Sri,
> >
> > My understanding is still the same-According to the theory you can never
> have
> > this problem if you are using a fresh regcm executable. Can you send me
> the
> > script that you submit to qsub. (regcm.sub I mean)
> > I guess the script doesn't look for newly compiled regcm executable.
> > Let me have a look on it and then we will see how to proceed.
> > BTW, Do you manually copy the regcm exe from Main folder to your Run 
> > directory
> > or this script does this job for you?
> >
> > Moet
> >
> >
> 



More information about the RegCNET mailing list