Sferes2

From Robin

Revision as of 03:16, 24 November 2015 by Fredrsae (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

About

Sferes2 is a high-performance, multi-core, lightweight, generic C++98 framework for evolutionary computation. It is intently kept small to stay reliable and understandable.

Sferes2 heavily relies on template-based meta-programming in C++ to get both abstraction and execution speed.

Github page

Compiling sferes2

Sferes2 is built using the waf build system. The source code is bundled with the binary required to run this build system.

You may experience some issues compiling the source code with the non-descriptive error message:

collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/USER/sferes2/build'
Build failed:
 -> task failed (err #1): 
        {task: cxx_link ex_nsga2_3.o -> ex_nsga2}
 -> task failed (err #1): 
        {task: cxx_link ex_ea_1.o -> ex_ea}

This issue is due to C++98 not supporting constexpr. You can solve this by running waf with the cpp11-flag, changing the standard to C++11.

In the cloned git-repository:

$ ./waf --cpp11=yes

Personal tools
Front page