# rose-jules-run: command not found

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535>\
**Category:** Rose/Cylc and FCM\
**Created:** [7 April 2022 15:06 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535 "2022-04-07T15:06:27Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elise](https://avatars.discourse-cdn.com/v4/letter/e/7c8e57/32.png) [@Elise](https://cms-helpdesk.ncas.ac.uk/u/Elise)\
**Post date:** [7 April 2022 15:06 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/1 "2022-04-07T15:06:27Z")

</div>

Hello,

I am working with JULES on Jasmin (suite u-an231). I started a run last week and it was working fine, but for some reason it stopped working at spinup18. I didn’t change anything while it was running so I don’t understand what could have gone wrong. I tried restarting the jobs that failed using cylc reset --state=waiting . That didn’t work. I also tried stopping the suite and restarting the run from where it failed (with first run=false), but it didn’t work either.

The error message I get:  
/bin/sh: rose-jules-run: command not found  
[FAIL] rose-jules-run \<\<‘ **STDIN** ’  
[FAIL]  
[FAIL] ‘ **STDIN** ’ # return-code=127  
2022-04-05T08:01:35Z CRITICAL - failed/EXIT

Could you help me figure out what is going wrong?

Many thanks,

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [7 April 2022 15:27 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/2 "2022-04-07T15:27:05Z")

</div>

Thanks, Elise:  
I can try to help.  
What is your JASMIN username?

Have you already done `chmod -R g+rX` on your home directory, so I can see your files?  
If not, can you do that? If there is anything private or confidential, you might consider moving it to a directory that wouldn’t then be readable by everyone in the group.  
Patrick

---

<div class="post-metadata">

**Author:** ![Elise](https://avatars.discourse-cdn.com/v4/letter/e/7c8e57/32.png) [@Elise](https://cms-helpdesk.ncas.ac.uk/u/Elise)\
**Post date:** [7 April 2022 15:46 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/3 "2022-04-07T15:46:36Z")

</div>

Hi Patrick,  
I just did it. And my jasmin user name is elisedhn.  
Thanks,  
Elise

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [7 April 2022 15:52 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/4 "2022-04-07T15:52:01Z")

</div>

Thanks, Elise:  
I am looking now.  
I am looking at `~elisedhn/cylc-run/u-an231/log/job/1/`, and I see a bunch of tasks for different locations in there, with the suffix of `_spin_01`. Which location was it? I thought you had already done 18 spin-up cycles?  
Patrick

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [7 April 2022 15:56 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/5 "2022-04-07T15:56:04Z")

</div>

Hi Elise:  
Did you run the suite from the `cylc1` Virtual Machine on JASMIN? Or did you run it on `sci1`?  
Patrick

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [7 April 2022 16:53 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/6 "2022-04-07T16:53:14Z")

</div>

Hi Elise:  
I think you need to run the `fcm_make` app. In your last run, you had the BUILD turned off. And I don’t see anything right now in your `~elisedhn/cylc-run/u-an231/share/fcm_make/build/bin/` directory.

If you look at the file `~elisedhn/cylc-run/u-an231/log/job/1/amacayacu_standard_spin_01/01/job`, it says that it is using the command `rose task-run --path=share/fcm_make/build/bin`, so that path is where I looked for scripts or binaries, but I didn’t see any.

I am trying to run your suite now as `~pmcguire/roses/u-an231_elisedhn2` from the `cylc1` VM. It is waiting to BUILD in the SLURM `short-serial` queue. I guess it might take awhile right now to get through the queue.  
Patrick

---

<div class="post-metadata">

**Author:** ![Elise](https://avatars.discourse-cdn.com/v4/letter/e/7c8e57/32.png) [@Elise](https://cms-helpdesk.ncas.ac.uk/u/Elise)\
**Post date:** [8 April 2022 07:56 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/7 "2022-04-08T07:56:41Z")

</div>

Hi, none of the locations worked (there are 7 locations and 5 types of runs for each). Yes, at first I started running with 20spin, and it failed on the 18th. I tried to restart each failed individual job but that didn’t work. So, I stopped the suite and tried restarting the whole suite with 3spinups (to get to 20 in total) and starting from the outputs of the 17th spin.

---

<div class="post-metadata">

**Author:** ![Elise](https://avatars.discourse-cdn.com/v4/letter/e/7c8e57/32.png) [@Elise](https://cms-helpdesk.ncas.ac.uk/u/Elise)\
**Post date:** [8 April 2022 07:57 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/8 "2022-04-08T07:57:16Z")

</div>

I’m running it on cylc1.

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [8 April 2022 09:54 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/9 "2022-04-08T09:54:25Z")

</div>

Hi Elise:  
Did you try running it with BUILD turned on? How did that work?  
Patrick

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [8 April 2022 10:27 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/10 "2022-04-08T10:27:50Z")

</div>

Hi Elise  
When I ran your suite as `~pmcguire/roses/u-an231_elisedhn2` with BUILD enabled, the `fcm_make` app worked fine, and the spinup cycle1 was able to complete for all but one of the locations. I just retriggered the app that failed during the original submission, `congo_dynamical_spin_01`. Maybe the suite will then progress further. You can see the log files in `~pmcguire/cylc-run/u-an231_elisedhn2`  
Patrick

---

<div class="post-metadata">

**Author:** ![Elise](https://avatars.discourse-cdn.com/v4/letter/e/7c8e57/32.png) [@Elise](https://cms-helpdesk.ncas.ac.uk/u/Elise)\
**Post date:** [8 April 2022 11:02 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/11 "2022-04-08T11:02:40Z")

</div>

Hi,  
I tried with build=true, but it does not work. I get another error message though:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/390d70796cabb5bd2a28b744dd66a613db23bc29.png)  
I don’t understand why it should need a C20C (ie for the 20th) for the spinup  
Thanks,  
Elise

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [8 April 2022 11:20 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/12 "2022-04-08T11:20:24Z")

</div>

Hi Elise:  
Congrats on fixing the first problem!

About the new problem, your suite.rc file defines the `SPIN_INITFILE` as containing the `c20c` string:  
`SPIN_INITFILE = {{ site }}/{{ site }}_{{ perturb|lower }}_c20c.dump.{{ C20C_RUNTIME_START }}0101.0.nc`

Patrick

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [20 April 2022 13:49 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/13 "2022-04-20T13:49:17Z")

</div>

Hi Elise  
Is it working better now?  
Patrick

---

<div class="post-metadata">

**Author:** ![Elise](https://avatars.discourse-cdn.com/v4/letter/e/7c8e57/32.png) [@Elise](https://cms-helpdesk.ncas.ac.uk/u/Elise)\
**Post date:** [20 April 2022 14:39 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/14 "2022-04-20T14:39:51Z")

</div>

Hi Patrick,  
Yes, the second problem was to do with how the restart was set up, and I worked around it by renaming some files.  
Thanks for your help,  
Elise

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [21 April 2022 14:03 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/15 "2022-04-21T14:03:08Z")

</div>

Hi Elise:  
Great! I am glad you got it working properly. Congrats!  
Patrick

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [21 April 2022 14:03 UTC](https://cms-helpdesk.ncas.ac.uk/t/rose-jules-run-command-not-found/535/16 "2022-04-21T14:03:51Z")

</div>


