Rose-jules-run command not found

Hi Patrick,

I get the following error when I try to run a specific JULES suite. Now, I have locally copied and renamed a rose suite which hasn’t been a problem for me in the past but seems to be now. Any ideas?

Many thanks!

Natalie

Hi Natalie
I would be happy to try to help.
Patrick

Hi Natalie

What is the suite ID number of the original suite? Have any changes been checked in to MOSRS already?

What is the path for the new suite?

If you give us read permission to your home directory and subdirectories, I could take a look at your setup and log files. You can do this with:
chmod -R g+rX /home/users/username/
If you have anything private or confidential, you might want to change back the read access on those items.

Patrick

Hi Patrick,

The original suite is u-ch981 but I would have made many local changes to it without checking in to MOSRS.

The new suite is in my local ‘roses’ directory (/home/users/ndouglas/roses) along with many other suites that I have played around with. I’m starting to wonder if this is actually OK to do. This error has literally come from copying a suite than runs and renaming it with zero other changes.

I have set the reading permissions as you suggest.

Thanks,

Natalie

Thanks, Natalie

I looked for the problem that you note that is shown in your log file:

~ndouglas/cylc-run/Single-Site-vn7.0-GL7.2/log/job/1/jules/01/job.err

Have you inspected this script?

~ndouglas/cylc-run/Single-Site-vn7.0-GL7.2/log/job/1/jules/01/job

I see there that this JULES job runs in the background, rather than on SLURM. But maybe that’s ok if it is a very small job.

If the suite is set up correctly, then maybe it doesn’t make a difference, as far [as] getting the path

Maybe you can try running that script manually instead of with the cylc GUI. You can change the script even.

The key line in the script is

rose task-run --quiet --path=share/fcm_make/build/bin

That path is relative to this path: ~ndouglas/cylc-run/Single-Site-vn7.0-GL7.2/

To run the script do this:
cd ~ndouglas/cylc-run/Single-Site-vn7.0-GL7.2/log/job/1/jules/01/
./job

I think that will work. You can try hardwiring the path, and maybe that will help.

If you get the same error message in the log files, then maybe we can try something else.

Patrick

Hi Patrick
This is great, thanks a lot. I will take a closer look in the morning and get back to you.

Thanks again!
Natalie

Hi Patrick,

Yes, I use ‘background’ because its a very fast job.

Hi Patrick
I tried what you suggested but the same errors occurred. However, since you said the problem is in the ‘rose task-run’ line, I changed this and when I changed it back it seemed to work. Go figure.

Thanks for your help on this - is there a website you recommend to find out more about this part of the code?

Natalie

Hi Natalie:
I am glad it’s working now! If the problem comes back, let us know.

Have you gone through the JULES on JASMIN Rose/Cylc tutorial at the University of Reading’s Land Surface Processes website?

Do you know how to retrigger an app that fails in the Cylc GUI? Sometimes a small change is all that is needed to get an app to successfully run, and then retriggering may be the next step.
Patrick

Hi Patrick,

Yes, I believe you wrote that tutorial, right?

I’m quite comfortable with the process to run a suite through rose/cylc now - I think I would like to understand more about the commands in the suite.rc and how the code operates. I understand the workflow and the precedence in the environments, for example. I’m still a bit fuzzy on the deeper stuff and exactly what rose/cylc are. Thanks!

Natalie

Hi Natalie
One possibility for understanding more deeply is to go through the u-al752 suite line by line in your editor, and trying to figure out what each line does. I can help you if you have any questions. The u-al752 suite is described in that tutorial, which, yes, I did write. You can create a Helpdesk ticket for your questions on this suite, if you want.

If you want me to try to figure out another way to learn, just let me know.
Patrick

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.