Error in race_state$recover() : argument "scenario" is missing, with no default

26 views
Skip to first unread message

Felix Ulrich-Oltean

unread,
Dec 6, 2024, 7:51:36 AM12/6/24
to irace-...@googlegroups.com
Hi

I've been trying out irace 4.0 on our university's cluster. After 12 hours of running, irace hadn't quite finished, so I tried to re-start the process by using the --recover-file option. Unfortunately, I get this error:

$ srun -n 1 -c 42 -t 300 irace --recovery-file "./bak.irace.Rdata" --scenario "./scenario.txt" &
...
Error in race_state$recover() :
  argument "scenario" is missing, with no default
Calls: irace_cmdline ... eval.parent -> eval -> eval -> <Anonymous> -> <Anonymous>

Execution halted

I get the same error with and without the --scenario parameter.

The file bak.irace.Rdata is a copy of the irace.Rdata at the end of the timed out run - unfortunately that run was killed by the slurm scheduler after 12 hours - is it possible that things were therefore left in an unusable state?

The scenario.txt file lives in the working directory and is fairly brief:

$ cat scenario.txt
parameterFile = "./param-space.txt"
configurationsFile = "./params-default.txt"
logFile = "./irace.Rdata"
trainInstancesFile = "trn-instances.txt"
testInstancesFile = "tst-instances.txt"
capping = 1
deterministic = 1
#maxExperiments = 1024
maxTime = 360000
debugLevel = 0
seed = 2024
boundMax = 600

The version of irace is:

$ irace --version
#------------------------------------------------------------------------------
# irace: An implementation in R of (Elitist) Iterated Racing
# Version: 4.0.886dd4c


The R version:

$ R
R version 4.4.1 (2024-06-14) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu

Any pointers would be appreciated. Thank you,

Felix.

--
Felix Ulrich-Oltean
Research Associate
Department of Computer Science
University of York

Manuel López-Ibáñez

unread,
Dec 6, 2024, 7:53:12 AM12/6/24
to The irace package: Iterated Racing for Automatic Configuration
Hi Felix,

Could you open an issue in github and attach the bak.irace.Rdata file? Please include the same information as you did here.

Thanks,

Manuel.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages