default/modules/map_elite/test_map_elite Failed
Hi, I am a neophyte in deep learning. I am trying to use sferes2 with map_elites module. I successfully configure and build sphers2. I use check command. I got the following result.
*** No errors detected Test setup error: test tree is empty default/tests/tests_eval_parallel ..............OK default/tests/tests_eval_mpi ...................OK default/tests/tests_gen_sampled ................OK default/tests/tests_gen_bit_string .............OK default/tests/tests_gen_evo_float ..............OK default/tests/tests_gen_cmaes ..................OK default/tests/tests_modif_diversity ............OK default/tests/tests_ea_nsga2 ...................OK default/tests/tests_ea_rank_simple .............OK default/tests/tests_ea_dom_sort ................OK default/tests/tests_ea_eps_moea ................OK default/tests/tests_ea_cmaes ...............FAILED default/modules/nn2/test_nn ....................OK default/modules/nn2/test_dnn ...................OK default/modules/nn2/test_mlp ...................OK default/modules/nn2/test_hyper_nn ..............OK default/modules/nn2/test_dnn_ff ................OK default/modules/nn2/test_osc ...................OK default/modules/nn2/test_hyper_nn_anh ..........OK default/modules/map_elite/test_map_elite ...FAILED debug/tests/tests_eval_parallel ................OK debug/tests/tests_eval_mpi .....................OK debug/tests/tests_gen_sampled ..................OK debug/tests/tests_gen_bit_string ...............OK debug/tests/tests_gen_evo_float ................OK debug/tests/tests_gen_cmaes ....................OK debug/tests/tests_modif_diversity ..............OK debug/tests/tests_ea_nsga2 .....................OK debug/tests/tests_ea_rank_simple ...............OK debug/tests/tests_ea_dom_sort ..................OK debug/tests/tests_ea_eps_moea ..................OK debug/tests/tests_ea_cmaes .....................OK debug/modules/nn2/test_nn ......................OK debug/modules/nn2/test_dnn .....................OK debug/modules/nn2/test_mlp .....................OK debug/modules/nn2/test_hyper_nn ............FAILED debug/modules/nn2/test_dnn_ff ..................OK debug/modules/nn2/test_osc .....................OK debug/modules/nn2/test_hyper_nn_anh ............OK debug/modules/map_elite/test_map_elite .....FAILED
Successful tests: 36 (90.0%) Failed tests: 4 (10.0%) Erroneous tests: 0 (0.0%)
Total number of tests: 40
Unit tests finished 'check' finished successfully (33.009s)
Hi
I just tried to run the test and all of them are OK except test_hyper_nn (which is normal). Can you run build/debug/modules/map_elites/test_map_elites and copy-paste the output?
Also, this test does not check anything. So, it fails either because it segfaulted, or maybe because of a time-out.
I ran again, but still getting same result. This is the output I got. ashiq@ubuntu:~/Desktop/innovation-engine/sferes/build/debug/modules/map_elite$ ./test_map_elite Test setup error: test tree is empty ashiq@ubuntu:~/Desktop/innovation-engine/sferes/build/debug/modules/map_elite$
Hi
I think I found the issue (although it did not happen with my version of boost). Can you:
- pull the last version of sferes2 (master)
- pull the last version of map_elites
- re-run the test_map_elites and copy-paste the result if it fails ? (running this test takes some time).
thank you.
Hi.
I am sorry for being late. I followed your steps. Now, I tried ./waf build, but it ends up with failure. Here is the result.
[ 33/106] cxx: examples/ex_eps_moea.cpp -> build/debug/examples/ex_eps_moea_4.o
../modules/map_elites/test_map_elites.cpp: In instantiation of ‘void Rastrigin<Params, Exact>::eval(Indiv&) [with Indiv = sferes::phen::Parameters<sferes::gen::EvoFloat<10, Params>, Rastrigin<Params>, Params>; Params = Params; Exact = stc::Itself]’:
../sferes/eval/parallel.hpp:63:11: required from ‘void sferes::eval::_parallel_evaluate<Phen>::operator()(const range_t&) const [with Phen = sferes::phen::Parameters<sferes::gen::EvoFloat<10, Params>, Rastrigin<Params>, Params>; sferes::parallel::range_t = tbb::blocked_range
Thanks, I really appreciate your help.