Failed JULES run - "rose-run: Permission denied"

Hi NCAS support desk,

I am attempting to run suite u-dz272 and have set it up for JULES vn8.2.

The fcm_make successfully runs, but the jules component fails with error:

“/bin/sh: line 1: /home/users/zaracra/cylc-run/u-dz272/run1/share/fcm_make/build/bin/rose-run: Permission denied
[FAIL] rose-run jules.exe # return-code=126
2026-08-27T13:57:57Z CRITICAL - failed/ERR”

When I investigate the file permissions, it looks like the following:

image

So as expected, the rose-run file doesn’t have the execute permissions it needs.

The only reference I can find to rose-run within the cylc-src/suite is:
app/jules/rose-app.conf:default=rose-run jules.exe
app/jules/rose-app.conf:rivers-only=rose-run river.exe
(along with .svn files)

And the references within cylc-run/suite are:
run1/log/version/uncommitted.diff: default=rose-run jules.exe
run1/log/job/1/jules_1/01/job.out:[INFO] command: rose-run jules.exe
run1/log/job/1/jules_1/01/job.err:/bin/sh: line 1: /home/users/zaracra/cylc-run/u-dz272/run1/share/fcm_make/build/bin/rose-run: Permission denied
run1/log/job/1/jules_1/01/job.err:[FAIL] rose-run jules.exe # return-code=126
run1/app/jules/rose-app.conf:default=rose-run jules.exe
run1/app/jules/rose-app.conf:rivers-only=rose-run river.exe

One of my colleagues followed the same steps as me for checking out and running the suite and didn’t encounter this permissions issue for rose-run, so it must be something to do with my system.

Thank you in advance for your help with resolving this error!

Zara

Hi Zara,

I can see that the rose-run file generated under share/fcm_make/build/bin does not have execute permissions and this explains the Permission denied error.

Since you mentioned that your colleague has a working copy of the same suite could you please send the output of the following command for their working copy?

ls -l <path-example>/share/fcm_make/build/bin/rose-run

We can check whether their fcm_make build has generated rose-run with different permissions before we change anything in your build.

Best wishes,

Juan

Could you please try

chmod +x ~/MODELS/jules/bin/rose-run
ls -l ~/MODELS/jules/bin/rose-run

Thi will show something like:

-rwxr-xr-x ... rose-run

After that, could you rerun the fcm_make task and then check this

ls -l ~/cylc-run/u-dz272/run1/share/fcm_make/build/bin/rose-run

If that now also has execute permission, please retrigger the failed JULES task and let me know how it goes.

Since your colleague did not encounter the same issue, it would be useful to know how you created or got the copy the ~/MODELS/jules directory. That may explain why the executable permissions were lost.

Juan

Hi Juan,

When my colleague ran the suggested line, she got the following:

image

I updated the execute permissions on ~/MODELS/jules/bin/rose-run as suggested, and when I reran the fcm_make, the permissions for rose-run came out correct!

[zaracra@cylc2 ~]$ ls -l ~/cylc-run/u-dz272/run2/share/fcm_make/build/bin/rose-run
-rwxr-xr-x 1 zaracra users 1315 Aug 28 09:43 /home/users/zaracra/cylc-run/u-dz272/run2/share/fcm_make/build/bin/rose-run

My ~/MODELS/jules directory is a recent (only yesterday) re-download of JULES from GitHub.

Thanks for your help!

Hi Zara,

Great, thanks for confirming.

Best regards,
Juan