Start HPOlib like this:
HPOlib-run -o /home/feurerm/HPOlib/working_directory/hpolib/optimizers/smac/ --HPOLIB:memory_limit 1
HPOlib-run -o /home/feurerm/HPOlib/working_directory/hpolib/optimizers/spearmint/ --HPOLIB:memory_limit 1
=== Spearmint output ===
Running in wrapper mode for '/home/feurerm/HPOlib/Software/HPOlib/benchmarks/branin/spearmint_april2013_mod_1_2014-3-11--13-51-50-763114/jobs/00000000.pb'
Waiting to lock grid......acquired
Released lock on job grid.
Running python job.
Changed into dir /home/feurerm/HPOlib/Software/HPOlib/benchmarks/branin/spearmint_april2013_mod_1_2014-3-11--13-51-50-763114
[CRITICAL] [13:51:53:HPOlib.cv] args: (0L, {u'y': array([ 0.]), u'x': array([-5.])}) kwargs: {}
[INFO] [13:51:53:HPOlib.cv] Starting Cross validation
[INFO] [13:51:53:HPOlib.cv] {u'y': 0.0, u'x': -5.0}
[INFO] [13:51:53:HPOlib.cv] Calling command:
python /home/feurerm/thesis/virtualenvs/hpolib/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/runsolver_wrapper.py 0 spearmint_april2013_mod 0 0 0 -y 0.0 -x -5.0
[INFO] [13:51:53:HPOlib.cv] --------------RUNNING RUNSOLVER_WRAPPER--------------
[ERROR] [13:51:53:HPOlib.cv] /home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/numpy/lib/nanfunctions.py:514: FutureWarning: In Numpy 1.9 the sum along empty slices will be zero. FutureWarning)
[INFO] [13:51:53:HPOlib.runsolver_wrapper] -----------------------RUNNING RUNSOLVER----------------------------
[CRITICAL] [13:51:53:HPOlib.runsolver_wrapper] We could not find anything matching our regexp. Last lines of your output:
None
Traceback (most recent call last):
File "/home/feurerm/thesis/virtualenvs/hpolib/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/runsolver_wrapper.py", line 387, in <module>
main()
File "/home/feurerm/thesis/virtualenvs/hpolib/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/runsolver_wrapper.py", line 357, in main
parse_output_files(cfg, run_instance_output, runsolver_output_file)
File "/home/feurerm/thesis/virtualenvs/hpolib/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/runsolver_wrapper.py", line 251, in parse_output_files
instance_wallclock_time = cfg.getfloat("HPOLIB", "runsolver_time_limit")
File "/usr/lib/python2.7/ConfigParser.py", line 362, in getfloat
return self._get(section, float, option)
File "/usr/lib/python2.7/ConfigParser.py", line 356, in _get
return conv(self.get(section, option))
ValueError: could not convert string to float:
[ERROR] [13:51:53:HPOlib.cv]
Traceback (most recent call last):
File "/home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/cv.py", line 107, in do_cv
raise NotImplementedError("No result string available or result string doesn't contain SAT")
NotImplementedError: No result string available or result string doesn't contain SAT
Traceback (most recent call last):
File "/home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/cv.py", line 107, in do_cv
NotImplementedError: No result string available or result string doesn't contain SAT
[ERROR] [13:51:53:HPOlib.cv] CV failed <type 'exceptions.NotImplementedError'> No result string available or result string doesn't contain SAT
[INFO] [13:51:53:HPOlib.cv] Finished CV
[INFO] [13:51:53:HPOlib.cv] Result: 1000.000000
/home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/numpy/lib/nanfunctions.py:514: FutureWarning: In Numpy 1.9 the sum along empty slices will be zero. FutureWarning)
Got result 1000.000000
Job file reloaded.
Completed successfully in 0.85 seconds. [1000.000000]
Waiting to lock grid......acquired
Released lock on job grid.
=== SMAC output ===
[INFO ] Initialization: Scheduling 1 run(s): [INFO ] Initialization: Scheduling run for config (0x000B) on instance 1 with seed -1 and captime 2.147483647E9 [WARN ] This version of SMAC hardcodes run length for calls to the target algorithm to 2147483647. [WARN ] [PROCESS-ERR] /home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/numpy/lib/nanfunctions.py:514: FutureWarning: In Numpy 1.9 the sum along empty slices will be zero. [WARN ] [PROCESS-ERR] FutureWarning) [WARN ] [PROCESS-ERR] [INFO] [13:50:14:HPOlib.runsolver_wrapper] -----------------------RUNNING RUNSOLVER---------------------------- [WARN ] [PROCESS-ERR] [CRITICAL] [13:50:14:HPOlib.runsolver_wrapper] We could not find anything matching our regexp. Last lines of your output: [WARN ] [PROCESS-ERR] None [WARN ] [PROCESS-ERR] Traceback (most recent call last): [WARN ] [PROCESS-ERR] File "/home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/runsolver_wrapper.py", line 387, in <module> [WARN ] [PROCESS-ERR] main() [WARN ] [PROCESS-ERR] File "/home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/runsolver_wrapper.py", line 357, in main [WARN ] [PROCESS-ERR] parse_output_files(cfg, run_instance_output, runsolver_output_file) [WARN ] [PROCESS-ERR] File "/home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/runsolver_wrapper.py", line 251, in parse_output_files [WARN ] [PROCESS-ERR] instance_wallclock_time = cfg.getfloat("HPOLIB", "runsolver_time_limit") [WARN ] [PROCESS-ERR] File "/usr/lib/python2.7/ConfigParser.py", line 362, in getfloat [WARN ] [PROCESS-ERR] return self._get(section, float, option) [WARN ] [PROCESS-ERR] File "/usr/lib/python2.7/ConfigParser.py", line 356, in _get [WARN ] [PROCESS-ERR] return conv(self.get(section, option)) [WARN ] [PROCESS-ERR] ValueError: could not convert string to float: [ERROR] Failed Run Detected Call: cd "/home/feurerm/HPOlib/Software/HPOlib/benchmarks/branin/smac_2_06_01-dev_1_2014-3-11--13-50-13-371410" ; python /home/feurerm/thesis/virtualenvs/hpolib/local/lib/python2.7/site-packages/HPOlib-0.0.1-py2.7.egg/HPOlib/runsolver_wrapper.py 0 0 2.147483647E9 2147483647 -1 -y '7.5' -x '2.5' [ERROR] Failed Run Detected output last 0 lines [ERROR] Output complete [INFO ] State saved for iteration 0 in /home/feurerm/HPOlib/Software/HPOlib/benchmarks/branin/smac_2_06_01-dev_1_2014-3-11--13-50-13-371410/scenario-SMAC-ac-false-cores1-cutoff2.147483647E9-2014-03-11/state-run1 [INFO ] Saving state took 34 ms [INFO ] Writing trajectory file to /home/feurerm/HPOlib/Software/HPOlib/benchmarks/branin/smac_2_06_01-dev_1_2014-3-11--13-50-13-371410/scenario-SMAC-ac-false-cores1-cutoff2.147483647E9-2014-03-11/traj-run-1 [INFO ] Total Reported Runtime: 0.0 (s), Total of Sum Max(runtime-cutoff,0): 0.0 (s) [INFO ] Total Walltime: 0.0 (s), Total of Sum Max(walltime - cutoff, 0): 0.0 (s) [INFO ] Total Difference between Walltime and Runtime (Sum of the amount of wallclock time - sum of the amount of reported CPU time) : 0.0 seconds [ERROR] Message: First Run Crashed : [<Instance:1, Seed:-1, Config:0x000B, Kappa:2.147483647E9> ==> <CRASHED, 2.147483647E9, 0.0, 0.0, -1,Wrapper did not output anything that matched our regex please see the manual for more information. Please try executing the wrapper directly and ensuring that some line starts with: "Results for ParamILS:" (case sensitive). In more gorey detail it needs to match the following Regular Expression: ^\s*(Final)?\s*[Rr]esult\s+(?:([Ff]or)|([oO]f))\s+(?:(HAL)|(ParamILS)|(SMAC)|([tT]his [wW]rapper)):> W:(0.638)] [ERROR] A serious problem occured during target algorithm execution and we are aborting execution ca.ubc.cs.beta.aclib.targetalgorithmevaluator.exceptions.TargetAlgorithmAbortException: First Run Crashed : [<Instance:1, Seed:-1, Config:0x000B, Kappa:2.147483647E9> ==> <CRASHED, 2.147483647E9, 0.0, 0.0, -1,Wrapper did not output anything that matched our regex please see the manual for more information. Please try executing the wrapper directly and ensuring that some line starts with: "Results for ParamILS:" (case sensitive). In more gorey detail it needs to match the following Regular Expression: ^\s*(Final)?\s*[Rr]esult\s+(?:([Ff]or)|([oO]f))\s+(?:(HAL)|(ParamILS)|(SMAC)|([tT]his [wW]rapper)):> W:(0.638)] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.safety.AbortOnFirstRunCrashTargetAlgorithmEvaluator.validate(AbortOnFirstRunCrashTargetAlgorithmEvaluator.java:55) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.safety.AbortOnFirstRunCrashTargetAlgorithmEvaluator.evaluateRun(AbortOnFirstRunCrashTargetAlgorithmEvaluator.java:34) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.AbstractForEachRunTargetAlgorithmEvaluatorDecorator.evaluateRun(AbstractForEachRunTargetAlgorithmEvaluatorDecorator.java:31) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.AbstractForEachRunTargetAlgorithmEvaluatorDecorator.evaluateRun(AbstractForEachRunTargetAlgorithmEvaluatorDecorator.java:31) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.AbstractForEachRunTargetAlgorithmEvaluatorDecorator.evaluateRun(AbstractForEachRunTargetAlgorithmEvaluatorDecorator.java:31) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.AbstractTargetAlgorithmEvaluatorDecorator.evaluateRun(AbstractTargetAlgorithmEvaluatorDecorator.java:46) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.functionality.OutstandingEvaluationsTargetAlgorithmEvaluatorDecorator.evaluateRun(OutstandingEvaluationsTargetAlgorithmEvaluatorDecorator.java:45) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.debug.CheckForDuplicateRunConfigDecorator.evaluateRun(CheckForDuplicateRunConfigDecorator.java:45) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.helpers.WalltimeAsRuntimeTargetAlgorithmEvaluatorDecorator.evaluateRun(WalltimeAsRuntimeTargetAlgorithmEvaluatorDecorator.java:52) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.helpers.KillCaptimeExceedingRunsRunsTargetAlgorithmEvaluatorDecorator.evaluateRun(KillCaptimeExceedingRunsRunsTargetAlgorithmEvaluatorDecorator.java:61) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.AbstractForEachRunTargetAlgorithmEvaluatorDecorator.evaluateRun(AbstractForEachRunTargetAlgorithmEvaluatorDecorator.java:31) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.targetalgorithmevaluator.decorators.AbstractTargetAlgorithmEvaluatorDecorator.evaluateRun(AbstractTargetAlgorithmEvaluatorDecorator.java:40) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.initialization.classic.ClassicInitializationProcedure.evaluateRun(ClassicInitializationProcedure.java:125) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.initialization.classic.ClassicInitializationProcedure.evaluateRun(ClassicInitializationProcedure.java:107) ~[aclib.jar:na] at ca.ubc.cs.beta.aclib.initialization.classic.ClassicInitializationProcedure.run(ClassicInitializationProcedure.java:86) ~[aclib.jar:na] at ca.ubc.cs.beta.smac.configurator.AbstractAlgorithmFramework.run(AbstractAlgorithmFramework.java:414) ~[smac.jar:na] at ca.ubc.cs.beta.smac.executors.SMACExecutor.oldMain(SMACExecutor.java:127) [smac.jar:na] at ca.ubc.cs.beta.smac.executors.SMACExecutor.main(SMACExecutor.java:91) [smac.jar:na] [ERROR] We tried to call the target algorithm wrapper, but this call failed. [ERROR] The problem is (most likely) somewhere in the wrapper. [ERROR] There is also possibly additional error information above (in this log) [ERROR] The easiest way to debug this problem is to manually execute the call we tried and see why it did not return the correct result [ERROR] The required syntax is something like "Final Result for ParamILS: x,x,x,x,x".); [ERROR] Specifically the regex we are matching is ^\s*(Final)?\s*[Rr]esult\s+(?:([Ff]or)|([oO]f))\s+(?:(HAL)|(ParamILS)|(SMAC)|([tT]his [wW]rapper)): [INFO ] Exiting SMAC with failure. Log: /home/feurerm/HPOlib/Software/HPOlib/benchmarks/branin/smac_2_06_01-dev_1_2014-3-11--13-50-13-371410/scenario-SMAC-ac-false-cores1-cutoff2.147483647E9-2014-03-11/log-run1.txt [INFO ] For a list of available commands use: --help [INFO ] Please see above for the available options. Further information is available in the following documents: [INFO ] - The FAQ (doc/faq.pdf) contains commonly asked questions regarding troubleshooting, and usage. [INFO ] - The Quickstart Guide (doc/quickstart.pdf) gives a simple example for getting up and running. [INFO ] - The Manual (doc/manual.pdf) contains detailed information on file format semantics. [INFO ] Returning with value: 255 Error occured running SMAC ( TargetAlgorithmAbortException : First Run Crashed : [<Instance:1, Seed:-1, Config:0x000B, Kappa:2.147483647E9> ==> <CRASHED, 2.147483647E9, 0.0, 0.0, -1,Wrapper did not output anything that matched our regex please see the manual for more information. Please try executing the wrapper directly and ensuring that some line starts with: "Results for ParamILS:" (case sensitive). In more gorey detail it needs to match the following Regular Expression: ^\s*(Final)?\s*[Rr]esult\s+(?:([Ff]or)|([oO]f))\s+(?:(HAL)|(ParamILS)|(SMAC)|([tT]his [wW]rapper)):> W:(0.638)]) Error Log: /home/feurerm/HPOlib/Software/HPOlib/benchmarks/branin/smac_2_06_01-dev_1_2014-3-11--13-50-13-371410/scenario-SMAC-ac-false-cores1-cutoff2.147483647E9-2014-03-11/log-run1.txt