[ERROR] 'Experiment' object has no attribute 'repeat_run'

Description of request:

Environment:

I have been running an experiment with the ACCESS-ESM1.5 without problem, but 100 years into it, it does not want to run anymore. I get the error:

[ERROR] 'Experiment' object has no attribute 'repeat_run'
$ more tipmipGrSO.e179551603
Loading access-esm1p5/2024.12.1
  Loading requirement: cice4/access-esm1.5-2025.04.001-xrdbhyi
    mom5/access-esm1.5-2025.03.002-xvkwyoq um7/2024.10.17-heooehp
[ERROR] 'Experiment' object has no attribute 'repeat_run'
Traceback (most recent call last):
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/cli.py", line 337, in _execute_command
    func(**args)
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/subcommands/run_cmd.py", line 201, in runscript
    expt.setup()
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/experiment.py", line 69, in wrapper
    result = func(self, *args, **kwargs)
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/experiment.py", line 582, in setup
    self.model.setup()
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/models/access.py", line 178, in setup
    if self.expt.counter and not self.expt.repeat_run:
I tried to create a new similar experiment and use one of the previous restart but get the same error when trying to setup this new experiment (I tried with 2 different restarts):
 payu setup
laboratory path:  /scratch/y99/lcm561/access-esm
binary path:  /scratch/y99/lcm561/access-esm/bin
input path:  /scratch/y99/lcm561/access-esm/input
work path:  /scratch/y99/lcm561/access-esm/work
archive path:  /scratch/y99/lcm561/access-esm/archive
Found experiment archive: /scratch/y99/lcm561/access-esm/archive/tipmipGrSO2-63b76747
payu: Found modules in /opt/Modules/v4.3.0
Loading access-esm1p5/2024.12.1
  Loading requirement: cice4/access-esm1.5-2025.04.001-xrdbhyi mom5/access-esm1.5-2025.03.002-xvkwyoq um7/2024.10.17-heooehp
Loading input manifest: manifests/input.yaml
Loading restart manifest: manifests/restart.yaml
Loading exe manifest: manifests/exe.yaml
Setting up atmosphere
Setting up ocean
Setting up ice
Setting up coupler
[ERROR] 'Experiment' object has no attribute 'repeat_run'
Traceback (most recent call last):
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/cli.py", line 337, in _execute_command
    func(**args)
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/subcommands/setup_cmd.py", line 29, in runcmd
    expt.setup()
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/experiment.py", line 69, in wrapper
    result = func(self, *args, **kwargs)
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/experiment.py", line 582, in setup
    self.model.setup()
  File "/containerised_envs/payu/1.3.6_1/lib/python3.10/site-packages/payu/models/access.py", line 178, in setup
    if self.expt.counter and not self.expt.repeat_run:
AttributeError: 'Experiment' object has no attribute 'repeat_run'

Any help appreciated!

What executed:

Actual results:

Expected results:

Additional info:

Hi @LaurieM, it looks like there’s a bug in the latest version of payu (1.3.6) which affects ESM1.5. We’ll work on getting a fix out for the newest version of payu as soon as possible, but for the moment you should be able to run your experiments by loading payu version 1.3.5:

module use /g/data/vk83/modules
module load payu/1.3.5

I’ll let you know when a new version of payu has been released which fixes the issue.

Thanks Spencer! That seems to fix the issue!