# Fcm\_make\_pp job issue on Monsoon using Cylc8

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602>\
**Category:** Rose/Cylc and FCM\
**Tags:** Monsoon2\
**Created:** [7 January 2025 10:20 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602 "2025-01-07T10:20:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Waters](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rob_waters/32/457_2.png) [@Rob\_Waters](https://cms-helpdesk.ncas.ac.uk/u/Rob_Waters)\
**Post date:** [7 January 2025 10:20 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/1 "2025-01-07T10:20:53Z")

</div>

I’m trying to run a GAL9 job using vn13.7 on monsoon and I’m running into issues with fcm\_make\_pp job.

```auto
[FAIL] mirror.target = : incorrect value in declaration
[FAIL] config-file=/scratch/d00/rwaters/cylc-run/u-dm191/run1/work/19880901T0000Z/fcm_make_pp/fcm-make.cfg:4
[FAIL] config-file= - file:///home/d04/fcm/srv/svn/moci.xm/main/trunk/Postprocessing/fcm_make/postproc.cfg@4419:12
[FAIL] config-file= - - file:///home/d04/fcm/srv/svn/moci.xm/main/trunk/Postprocessing/fcm_make/inc/remote.cfg@4419:6

[FAIL] fcm make -f /scratch/d00/rwaters/cylc-run/u-dm191/run1/work/19880901T0000Z/fcm_make_pp/fcm-make.cfg -C /home/d00/rwaters/cylc-run/u-dm191/run1/share/fcm_make_pp -j 4 # return-code=9
2025-01-07T10:07:05Z CRITICAL - failed/ERR

```

Here is the ./app/fcm\_make\_pp/rose-app.conf

```auto
meta=archive_and_meaning/fcm_make/postproc_2.4

[env]
config_base=fcm:moci.xm_tr
config_rev=@postproc_2.4
extract=extract
install=build
install_host=remote.cfg
model_config=um-atmos.cfg
pp_rev=postproc_2.4
pp_sources=

```

and the ./app/fcm\_make\_pp/file/fcm-make.cfg

```auto
$config_base{?}=fcm:moci.xm_tr
$config_rev{?}=

include = $config_base/Postprocessing/fcm_make/postproc.cfg$config_rev
extract.location{diff}[pp] = $pp_sources

```

For reference the suite is u-dm191.

Any help would be appreciated.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![mdalvi](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mdalvi](https://cms-helpdesk.ncas.ac.uk/u/mdalvi)\
**Post date:** [7 January 2025 10:56 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/2 "2025-01-07T10:56:31Z")

</div>

Hi Rob,

It looks like the run copy (~/cylc-run/) of u-dm191 has been removed, so am unable to check the runtime settings. However, I suspect the issue is at this line in [Postprocessing/fcm-make/inc/remote.cfg](https://code.metoffice.gov.uk/trac/moci/browser/main/trunk/Postprocessing/fcm_make/inc/remote.cfg#L6)

> mirror.target = ${ROSE\_TASK\_MIRROR\_TARGET}

and cylc-8 might not be exporting this value (will have to be verified in the actual jobscript)  
I am not sure what the value of this variable is in Cylc-8, but will check in cylc-7 suites and see if exporting this explicitly in the [environment] settings can help,

Just to add- I doubt that the original developer of GALx suites has access to Monsoon so even though the option is avaiiable the suites are not regularly tested on other systems and rely on users to feedback any portability changes.

---

<div class="post-metadata">

**Author:** ![Rob\_Waters](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rob_waters/32/457_2.png) [@Rob\_Waters](https://cms-helpdesk.ncas.ac.uk/u/Rob_Waters)\
**Post date:** [7 January 2025 11:08 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/3 "2025-01-07T11:08:45Z")

</div>

Hi Mohit,

Thanks for your help.

I’ve just re-run the suite so there should be a cylc-run contents available now.

Where exactly is the runtime setting I’m looking for?

I didn’t realise that the GAL9 team didn’t have access to Monsoon. I’ve been providing feedback to Paul Earnshaw as I’ve had to make a few other changes to get it working on Monsoon.

Thanks again,

Rob

---

<div class="post-metadata">

**Author:** ![mdalvi](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mdalvi](https://cms-helpdesk.ncas.ac.uk/u/mdalvi)\
**Post date:** [7 January 2025 11:36 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/4 "2025-01-07T11:36:32Z")

</div>

Hi Rob,

The runtime settings (and environment inherited by job) can be seen ~/cylc-run/suite-id/runX/log/job/date-time/task-name/job and job.out. In this case:

> ~rwaters/cylc-run/u-dm191/run1/log/job/19880901T0000Z/fcm\_make\_pp/NN/job.out

and there is no ROSE\_TASK\_MIRROR\_TARGET setting exported.  
Surprisingly, this setting _is_ exported in cylc-8 suites I have on our internal HPC, so not sure what is going on here. Note that Monsoon set-up is unique that ‘launch’ and ‘execute’ systems are the same (whereas e.g. we have Puma for launch and execution on ARCHER2), so I wonder if there are additional settings required here.

In [site/monsoon.cylc](https://code.metoffice.gov.uk/trac/roses-u/browser/d/m/1/9/1/trunk/site/monsoon.cylc?rev=307257#L38), under the EXTRACT\_RESOURCE block can you try replacing the

> platform = xcsc

with (my Monsoon cylc-7 definition)

> [[[remote]]]  
> host = $ROSE\_ORIG\_HOST

Thanks

---

<div class="post-metadata">

**Author:** ![Rob\_Waters](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rob_waters/32/457_2.png) [@Rob\_Waters](https://cms-helpdesk.ncas.ac.uk/u/Rob_Waters)\
**Post date:** [7 January 2025 11:57 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/5 "2025-01-07T11:57:07Z")

</div>

Ah interesting, I removed the use of $ROSE\_ORIG\_HOST because I was getting undefined platform.

When I use your suggestion I first get the following warning:

```auto
WARNING - deprecated settings found (please replace with [runtime][EXTRACT_RESOURCE]platform):
    [runtime][EXTRACT_RESOURCE][remote]host = $ROSE_ORIG_HOST

```

Then cylc fails to play the workflow

```auto
    message: A mixture of Cylc 7 (host) and Cylc 8 (platform) logic should not be used. In this case for the task "19880901T0000Z/fcm_make_pp" the following are not compatible:
    workflow: u-dm191/run1
    host: xcslc0
    port: 43132
    owner: rwaters

```

If I put $ROSE\_ORIG\_HOST back as the platform (what it was originally). The job fails to submit with the following message:

```auto
rwaters@xcslc0:~/cylc-run/u-dm191/run2/log/job/19880901T0000Z/fcm_make_pp/01> cat job-activity.log
[jobs-submit cmd] (platform not defined)
[jobs-submit ret_code] 1
[jobs-submit err] No matching platform "xcslc0" found
[(('event-mail', 'submission failed'), 1) ret_code] 0

```

Because the only available platforms are:

```auto
rwaters@xcslc0:~/cylc-run/u-dm191/run2/log/job/19880901T0000Z/fcm_make_pp/01> cylc config --platforms
[platforms]
    [[localhost]]
        install target = localhost
        ssh command = ssh -oBatchMode=yes -oConnectTimeout=8 -oStrictHostKeyChecking=no
        copyable environment variables = FCM_VERSION
        submission polling intervals = PT30M
        execution polling intervals = PT30M
        execution time limit polling intervals = PT5M, PT10M
        clean job submission environment = True
    [[xcsc]]
        install target = localhost
        ssh command = ssh -oBatchMode=yes -oConnectTimeout=8 -oStrictHostKeyChecking=no
        copyable environment variables = FCM_VERSION
        submission polling intervals = PT30M
        execution polling intervals = PT30M
        execution time limit polling intervals = PT5M, PT10M
        clean job submission environment = False
        hosts = localhost
        job runner = pbs
        err tailer = qcat -f -e %(job_id)s
        out tailer = qcat -f -o %(job_id)s
        err viewer = qcat -e %(job_id)s
        out viewer = qcat -o %(job_id)s
        job name length maximum = 236
        [[[meta]]]
            description = HPC PBS job

```

---

<div class="post-metadata">

**Author:** ![mdalvi](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mdalvi](https://cms-helpdesk.ncas.ac.uk/u/mdalvi)\
**Post date:** [7 January 2025 12:44 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/6 "2025-01-07T12:44:56Z")

</div>

Yes, I suspected the [[[remote]]] would be cylc-8 incompatible.  
In the cylc-8 suite I am running, the EXTRACT\_RESOURCE has no _platform =_ setting, and in the job.out I see

> …  
> [INFO] export config\_base=fcm:moci.xm\_tr  
> [INFO] export config\_rev=@postproc\_2.4  
> [INFO] export extract=extract  
> [INFO] export install=build  
> [INFO] export install\_host=remote.cfg  
> [INFO] export model\_config=um-nemocice.cfg  
> [INFO] export nemo\_tools=fcm:nemo.xm/utils/tools\_r4.0-HEAD@16016  
> [INFO] export pp\_rev=postproc\_2.4  
> [INFO] export pp\_sources=branches/dev/ericaneininger/postproc\_2.4\_restrict\_atmos\_process\_methods  
> [INFO] export verify\_config=verify.cfg  
> [INFO] source: $HOME/cylc-run/suite-id/app/fcm\_make\_pp/file/fcm-make.cfg  
> [INFO] install: fcm-make.cfg  
> [INFO] source: $HOME/cylc-run/suite-id/app/fcm\_make\_pp/file/fcm-make.cfg  
> [INFO] export ROSE\_TASK\_MIRROR\_TARGET=(hostname):cylc-run/suite-id/share/fcm\_make\_pp  
> [INFO] export MIRROR\_TARGET=(hostname):cylc-run/suite-id/share/fcm\_make\_pp  
> [init] make # 2025-01-06T14:57:22  
> …

---

<div class="post-metadata">

**Author:** ![Rob\_Waters](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rob_waters/32/457_2.png) [@Rob\_Waters](https://cms-helpdesk.ncas.ac.uk/u/Rob_Waters)\
**Post date:** [7 January 2025 13:30 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/7 "2025-01-07T13:30:17Z")

</div>

Is it possible to share the suite ID for your working cylc8 run?

Is ROSE\_TASK\_MIRROR\_TARGET specified anywhere in a .cylc file? I can’t find any reference to it within my suites.

---

<div class="post-metadata">

**Author:** ![mdalvi](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mdalvi](https://cms-helpdesk.ncas.ac.uk/u/mdalvi)\
**Post date:** [7 January 2025 16:07 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/8 "2025-01-07T16:07:44Z")

</div>

Hi Rob,  
The suite is u-dm037, but as mentioned this is not run on Monsoon- I was only trying to relate the site/x settings with what appears in the job.out. It is also a different (UKESM) configuration that has more complicated pp tasks.

The ROSE\_TASK\_MIRROR\_TARGET appears to be something added by Cylc in the background, hence trying to find out what settings are needed for that to appear.

---

<div class="post-metadata">

**Author:** ![Rob\_Waters](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rob_waters/32/457_2.png) [@Rob\_Waters](https://cms-helpdesk.ncas.ac.uk/u/Rob_Waters)\
**Post date:** [7 January 2025 16:26 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/9 "2025-01-07T16:26:25Z")

</div>

Hi Mohit,

Is it perhaps configured for the platforms?

Is there any mention of it when `cylc config` is run?

Cheers,

Rob

---

<div class="post-metadata">

**Author:** ![Rob\_Waters](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rob_waters/32/457_2.png) [@Rob\_Waters](https://cms-helpdesk.ncas.ac.uk/u/Rob_Waters)\
**Post date:** [8 January 2025 11:52 UTC](https://cms-helpdesk.ncas.ac.uk/t/fcm-make-pp-job-issue-on-monsoon-using-cylc8/1602/10 "2025-01-08T11:52:46Z")

</div>

```
[[fcm_make_pp]]
    inherit = RUN_MAIN, EXTRACT_RESOURCE
   [[[environment]]]
      ROSE_TASK_MIRROR_TARGET = xcs-c:cylc-run/u-dm191/share/fcm_make_pp

```

Hard coding the env variable did make fcm\_make\_pp run but it now fails at fcm\_make2\_pp (so frustrating!)

Anyone have any ideas on:

job.error:

```auto
[FAIL] no configuration specified or found

[FAIL] fcm make -C /home/d00/rwaters/cylc-run/u-dm191/run1/share/fcm_make_pp -n 2 -j 1 # return-code=2
2025-01-08T11:39:57Z CRITICAL - failed/ERR

```

job.out:

```auto
Workflow : u-dm191/run1
Job : 19880901T0000Z/fcm_make2_pp/01 (try 1)
User@Host: rwaters@shared100

2025-01-08T11:39:54Z INFO - started
[INFO] Configuration: /home/d00/rwaters/cylc-run/u-dm191/run1/app/fcm_make_pp/
[INFO] file: rose-app.conf
[INFO] optional key: (monsoon)
[INFO] export PATH=/opt/cray/netcdf/4.3.2/bin:/home/d00/rwaters/cylc-run/u-dm191/run1/share/bin:/home/d00/rwaters/cylc-run/u-dm191/run1/bin:/opt/ukmo/subversion/1.8.19/bin:/opt/python/gnu/2.7.9/bin/:/opt/ukmo/mass/moose-monsoon-client-latest/bin:/opt/cray/mpt/7.0.4/gni/bin:/opt/cray/atp/1.7.5/bin:/opt/cray/rca/1.0.0-2.0502.60530.1.62.ari/bin:/opt/cray/pmi/5.0.5-1.0000.10300.134.8.ari/bin:/opt/cray/craype/2.2.1/bin:/opt/cray/cce/8.3.4/cray-binutils/x86_64-unknown-linux-gnu/bin:/opt/cray/cce/8.3.4/craylibs/x86-64/bin:/opt/cray/cce/8.3.4/cftn/bin:/opt/cray/cce/8.3.4/CC/bin:/opt/cray/llm/default/bin:/opt/cray/llm/default/etc:/opt/cray/xpmem/0.1-2.0502.64982.7.29.ari/bin:/opt/cray/ugni/6.0-1.0502.10863.8.29.ari/bin:/opt/cray/udreg/2.3.2-1.0502.10518.2.17.ari/bin:/opt/cray/lustre-cray_ari_s/2.5_3.0.101_0.46.1_1.0502.8871.45.1-1.0502.21728.75.4/sbin:/opt/cray/lustre-cray_ari_s/2.5_3.0.101_0.46.1_1.0502.8871.45.1-1.0502.21728.75.4/bin:/opt/cray/alps/5.2.5-2.0502.9955.44.1.ari/sbin:/opt/cray/alps/5.2.5-2.0502.9955.44.1.ari/bin:/opt/cray/sdb/1.1-1.0502.63652.4.25.ari/bin:/opt/cray/nodestat/2.2-1.0502.60539.1.31.ari/bin:/opt/modules/3.2.10.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/pbs/bin:/usr/lib/qt3/bin:/opt/ukmo/supported/bin/:/opt/cray/bin:/opt/ukmo/supported/bin/:/opt/ukmo/supported/bin/:/home/d04/fcm/bin:/opt/ukmo/supported/bin/:/opt/ukmo/supported/bin/:/home/d04/fcm/bin:/opt/ukmo/supported/bin/:/opt/ukmo/supported/bin/:/home/d04/fcm/bin
[INFO] export config_base=fcm:moci.xm_tr
[INFO] export config_rev=@postproc_2.4
[INFO] export extract=extract
[INFO] export install=build
[INFO] export install_host=remote.cfg
[INFO] export model_config=um-atmos.cfg
[INFO] export pp_rev=postproc_2.4
[INFO] export pp_sources=branches/dev/ericaneininger/postproc_2.4_restrict_atmos_process_methods
[INFO] source: /home/d00/rwaters/cylc-run/u-dm191/run1/app/fcm_make_pp/file/fcm-make.cfg
[INFO] install: fcm-make.cfg
[INFO] source: /home/d00/rwaters/cylc-run/u-dm191/run1/app/fcm_make_pp/file/fcm-make.cfg
[init] make 2 # 2025-01-08T11:39:57Z
[info] FCM 2021.05.0 (/common/fcm/fcm-2021.05.0)
[init] make 2 config-parse # 2025-01-08T11:39:57Z
[FAIL] make 2 config-parse # 0.0s
[FAIL] make 2 # 0.0s
============================= PBS epilogue =============================

file %r not found...
End of Job Report
Run at 2025-01-08 11:39:58 for job 4455987.xcs00
Submitted : 2025-01-08 11:39:40
Queued : 2025-01-08 11:39:40
Started : 2025-01-08 11:39:52
Completed : 2025-01-08 11:39:58
Queued Time : 0:00:12 (12 seconds)
Elapsed Time : 0:00:06 (6 seconds, 2% of limit)
Walltime Limit : 0:05:00 (300 seconds)
Node Time Limit : 0:00:09 (9 seconds)
Node Time : 0:00:00 (0 seconds, 2% of limit)
Job Name : fcm_make2_pp.19880901T0000Z.u-dm191-run1
Queue : shared
Owner : rwaters
Group : mo_users
Project : ukca-cam
Subproject :
Funding :
Trustzone : collaboration
STDOUT : /home/d00/rwaters/cylc-run/u-dm191/run1/log/job/19880901T0000Z/fcm_make2_pp/01/job.out
STDERR : /home/d00/rwaters/cylc-run/u-dm191/run1/log/job/19880901T0000Z/fcm_make2_pp/01/job.err
Job Directory : /scratch/jtmp/pbs.4455987.xcs00.x8z
Job Arch :
CPU Core Type : broadwell
Total Nodes : 1
Total Tasks : 1
Parent Node : shared100
Parent Node Memory :
Parent Node CPU Time :
Compute Nodes :
Electrical Groups :
Run Version : 1

                  CPU Wallclock Wallclock RSS Memory Memory Memory
Node ID Count Used Requested Used Used Requested CPU Time
========== ========== ========== ========== ========== ========== ========== ==========
633 2 0 0% 0.0 49.4M 2.3% 0.0
========== ========== ========== ========== ========== ========== ========== ==========

For more information see documentation

```

flow.cylc section:

```auto
    [[fcm_make2_pp]]
        inherit = RUN_MAIN, PPBUILD_RESOURCE

```
