Main menu

Navigation

Fail to resubmit for CESM on cheyenne

7 posts / 0 new
Last post
bowen.zhao@...
Fail to resubmit for CESM on cheyenne

Hi all,

 

Hopefully I'm not the only one who encountered this problem:

The CESM 1.2.2 built on Cheyenne machine seems to be unable to resubmit, the error message from the standard output file is 
"RESUBMIT is now XX./xmlchange: Command not found.

./xmlchange: Command not found.

qsub: script file:: No such file or directory

ccsm_postrun error: problem sourcing tempres

/glade2/scratch2/bowenzh/B1850C5CN_flxBEP_SNB/run/Tools/ccsm_getenv: No such file or directory.

gzip: timing/ccsm_timing_stats.171120-221716: No such file or directory"
I got some advice that this is due to "Tools isn’t getting copied into your case when you set it up" but then I have no idea why this happened.
Any guidance or help are highly appreciated!
wei.huang2@...

Edit file:

scripts/ccsm_utils/Tools/cesm_postrun_setup, as show below, which is one line you need to add.

===================================================================

--- scripts/ccsm_utils/Tools/cesm_postrun_setup (revision 84764)

+++ scripts/ccsm_utils/Tools/cesm_postrun_setup (working copy)

@@ -78,6 +78,8 @@

     @ RESUBMIT = $RESUBMIT - 1

     echo RESUBMIT is now $RESUBMIT

 

+    cd $CASEROOT

+

     #tcraig: reset CONTINUE_RUN on RESUBMIT if NOT doing timing runs

     #use COMP_RUN_BARRIERS as surrogate for timing run logical

     if ($?COMP_RUN_BARRIERS) then

 

Wei Huang

bowen.zhao@...

It's fixed! Thanks so much!

jzhan166@...

Hello,

 

I have also encountered this problem.

And I have tried the suggestion mentioned here, but the problem still exsit.

------------------------------------------------------

if ($RESUBMIT > 0) then

    @ RESUBMIT = $RESUBMIT - 1

    echo RESUBMIT is now $RESUBMIT

 

**    cd $CASEROOT

    #tcraig: reset CONTINUE_RUN on RESUBMIT if NOT doing timing runs

    #use COMP_RUN_BARRIERS as surrogate for timing run logical

    if ($?COMP_RUN_BARRIERS) then

----------------------------------------------------

 

I am wondering how you solve the problem? just by adding the ** line as shown above?

 

Thanks,

Jun

Jun Zhang

bowen.zhao@...

Yes. Just add that line "cd $CASEROOT". You might want to also recreate the case from scratch, I believe.

jzhan166@...

Do you mean create a new case? 

Jun Zhang

bowen.zhao@...

Yes.

Log in or register to post comments

Who's new

  • kamal.tewari1@...
  • rchemke
  • abdulla.sakalli@...
  • mehmetugurgucel@...
  • borst