Opened 9 months ago

Closed 8 months ago

#2711 closed help (fixed)

Use --redirect to re-use an existing name and run directory

Reported by: marcus Owned by: ros
Component: Rose/Cylc Keywords: cylc-7.8.0
Cc: Platform: NEXCS
UM Version: 10.6

Description

Hi,

I was trying to restart crashed run u-bc276 from its most recent 01-Dec date prior to the crash (in order to retain proper seasonal means).

I have changed astart to the dump of 01-Dec and updated RUNLEN and BASIS date correspondingly. BUILD_UM remained set to false, as I have had to restart this run previously from another dump.

When submitting with rose suite-run I am getting the following error:

[makoe@exvmsrose:~/roses/u-bc276]$ rose suite-run
[INFO] export CYLC_VERSION=7.8.0
[INFO] export ROSE_ORIG_HOST=exvmsrose.monsoon-metoffice.co.uk
[INFO] export ROSE_SITE=
[INFO] export ROSE_VERSION=2018.11.0
[INFO] create: log.20181230T174843Z
[INFO] delete: log
[INFO] symlink: log.20181230T174843Z <= log
[INFO] log.20181122T134023Z.tar.gz <= log.20181122T134023Z
[INFO] delete: log.20181122T134023Z/
[INFO] create: log/suite
[INFO] create: log/rose-conf
[INFO] symlink: rose-conf/20181230T174921-run.conf <= log/rose-suite-run.conf
[INFO] symlink: rose-conf/20181230T174921-run.version <= log/rose-suite-run.version
[INFO] install: app
[INFO]     source: /home/d03/makoe/roses/u-bc276/app
[INFO] delete: suite.rc
[INFO] install: suite.rc
[FAIL] cylc register u-bc276 /home/d03/makoe/cylc-run/u-bc276 # return-code=1, stderr=
[FAIL] ERROR: the name 'u-bc276' already points to ...
[FAIL] Use --redirect to re-use an existing name and run directory.
[makoe@exvmsrose:~/roses/u-bc276]$ rose suite-shutdown
[FAIL] global name 'host_name' is not defined
[makoe@exvmsrose:~/roses/u-bc276]$

I am not sure what is meant by Use --redirect to re-use an existing name and run directory

I did not want to clear the cylc-run directory with rose suite-clean as I was not quite sure if this would prevent me from obtaining a seamless continuation of the run.

Seeing that I am restarting from a 1st December date, such that seasonal means are not affected, could I carry out the above suite clean command or is there another more elegant method that I can use to revive this run?

Many thanks and Happy New Year,
Marcus

Change History (3)

comment:1 Changed 9 months ago by ros

  • Component changed from UM Model to Rose/Cylc
  • Keywords cylc-7.8.0 added; rose, restart after crash removed
  • Owner changed from um_support to ros
  • Status changed from new to accepted

Hi Marcus,

Please comment out the following 2 lines in your ~/.bashrc file and then logout and back in again:

export ROSE_VERSION=next
export CYLC_VERSION=next

Once you've logged back in trying running cylc --version to check that it is now picking up the default version 7.7.2.

A new version of cylc was installed just before Christmas and these commands are saying to use the newest versions of Rose/Cylc which are available for testing rather than using the default versions. The problem with the new cylc version is that it needs a clean cylc-run directory - it does not play nicely with runs which have already begun with a previous version of cylc.

Happy New Year.

Regards,
Ros.

comment:2 Changed 9 months ago by marcus

Hi Ros — many thanks, this has indeed solved my problem.
Best wishes,
Marcus

comment:3 Changed 8 months ago by willie

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.