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.