# ACCESS-CM2 setup and tutorial issues/problems

**URL:** <https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270>\
**Category:** Coupled Model\
**Tags:** access-cm2, rose, suite, tutorial\
**Created:** [14 December 2022 02:30 UTC](https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270 "2022-12-14T02:30:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebmckenna](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@sebmckenna](https://forum.access-hive.org.au/u/sebmckenna)\
**Post date:** [14 December 2022 02:30 UTC](https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270/1 "2022-12-14T02:30:55Z")

</div>

Hi,  
Apologies if this is the wrong forum.  
I am trying to setup the ACCESS-CM2 model to eventually run some pacemaker style experiments. I have set up the model according to these [instructions](https://confluence.csiro.au/display/ACCESS/Setting+up+for+ACCESS-CM2).

To become familiar with the model and how it works I have been following this [tutorial](https://confluence.csiro.au/display/ACCESS/Using+CM2+suites+in+Rose+and+Cylc).  
but have encountered an error I’m not sure how to fix or resolve. The tutorial says I should encounter an error but at the coupling stage which is not yet reached.

When I try `rose suite-run` I find that it fails at `fcm_make_drivers`. this is the error sent in the email  
“failed: 18500101/fcm\_make\_drivers/01”

In the job.err file this is what we see

```auto
[FAIL] config-file=/home/561/sm2435/cylc-run/u-cs844/work/18500101/fcm_make_drivers/fcm-make.cfg:4
[FAIL] config-file= - https://trac.nci.org.au/svn/access_tools/access-cm2-drivers/trunk/fcm_make/drivers.cfg@704
[FAIL] https://trac.nci.org.au/svn/access_tools/access-cm2-drivers/trunk/fcm_make/drivers.cfg@704: cannot load config file
[FAIL] https://trac.nci.org.au/svn/access_tools/access-cm2-drivers/trunk/fcm_make/drivers.cfg@704: not found
[FAIL] svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option
[FAIL] svn: E215004: Unable to connect to a repository at URL 'https://trac.nci.org.au/svn/access_tools/access-cm2-drivers/trunk/fcm_make/drivers.cfg'
[FAIL] svn: E215004: No more credentials or we tried too many times.
[FAIL] Authentication failed

[FAIL] fcm make -f /home/561/sm2435/cylc-run/u-cs844/work/18500101/fcm_make_drivers/fcm-make.cfg -C /home/561/sm2435/cylc-run/u-cs844/share/fcm_make_drivers -j 4 mirror.target=gadi.nci.org.au:cylc-run/u-cs844/share/fcm_make_drivers mirror.prop{config-file.name}=2 # return-code=1
2022-12-14T00:15:39Z CRITICAL - failed/EXIT

```

If you have any input or ideas on how to fix this please reach out!  
Thanks,  
Sebastian

---

<div class="post-metadata">

**Author:** ![MartinDix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/martindix/32/32_2.png) [@MartinDix](https://forum.access-hive.org.au/u/MartinDix)\
**Post date:** [14 December 2022 03:46 UTC](https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270/2 "2022-12-14T03:46:50Z")

</div>

The CM2 suite uses driver scripts from a separate NCI repository (a design decision I now regret).

On accessdev, run `access-auth` to cache your NCI password for this repo and then run the suite.

---

<div class="post-metadata">

**Author:** ![Aidan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aidan/32/42_2.png) [@Aidan](https://forum.access-hive.org.au/u/Aidan)\
**Post date:** [14 December 2022 04:04 UTC](https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270/3 "2022-12-14T04:04:05Z")

</div>

Minor point @sebmckenna, but would you mind if I moved this topic to the Climate category? We’re still in the start-up phase of the forum and new members will look to existing topics to decide where to put their queries, and I think this would be a great example for Climate.

Thanks.

---

<div class="post-metadata">

**Author:** ![sebmckenna](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@sebmckenna](https://forum.access-hive.org.au/u/sebmckenna)\
**Post date:** [14 December 2022 04:55 UTC](https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270/4 "2022-12-14T04:55:12Z")

</div>

Thanks @MartinDix I tried that but I am still getting the same error. I think this config file in the error messagedoesn’t actually exist at [https://trac.nci.org.au/svn/access\_tools/access-cm2-drivers/trunk/fcm\_make/drivers.cfg@704](https://trac.nci.org.au/svn/access_tools/access-cm2-drivers/trunk/fcm_make/drivers.cfg@704)  
The file `drivers.cfg` is there but not `drivers.cfg@704`

@Aidan yeah please move the topic if it fits better there

---

<div class="post-metadata">

**Author:** ![MartinDix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/martindix/32/32_2.png) [@MartinDix](https://forum.access-hive.org.au/u/MartinDix)\
**Post date:** [14 December 2022 05:09 UTC](https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270/5 "2022-12-14T05:09:57Z")

</div>

The 704 is specifying the revision number. Does this work from the command line for you?

```auto
accessdev:% svn ls https://trac.nci.org.au/svn/access_tools/access-cm2-drivers/trunk/fcm_make/drivers.cfg@704
drivers.cfg

```

---

<div class="post-metadata">

**Author:** ![sebmckenna](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@sebmckenna](https://forum.access-hive.org.au/u/sebmckenna)\
**Post date:** [14 December 2022 05:16 UTC](https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270/6 "2022-12-14T05:16:43Z")

</div>

Yes it does. I had to enter my password though, maybe `access-auth` didn’t save credentials properly?

I tried to run the setup again and fcm\_make\_drivers worked this time

---

<div class="post-metadata">

**Author:** ![MartinDix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/martindix/32/32_2.png) [@MartinDix](https://forum.access-hive.org.au/u/MartinDix)\
**Post date:** [14 December 2022 05:31 UTC](https://forum.access-hive.org.au/t/access-cm2-setup-and-tutorial-issues-problems/270/7 "2022-12-14T05:31:36Z")

</div>

access-auth doesn’t check the password. I sometimes put my MOSRS password in by mistake and get confused when things don’t work.
