update build process to include paradiseo tutorial,
fix paradiseo headers for sstream
This commit is contained in:
parent
e388461a3b
commit
3cb80bc73b
14 changed files with 139 additions and 68 deletions
1
eo/tutorial/ParadisEO/Lesson2/.cvsignore
Normal file
1
eo/tutorial/ParadisEO/Lesson2/.cvsignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
Makefile.in
|
||||
17
eo/tutorial/ParadisEO/Lesson2/Makefile.am
Normal file
17
eo/tutorial/ParadisEO/Lesson2/Makefile.am
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
noinst_PROGRAMS = MasterDistEvalBitEA SlaveDistEvalBitEA
|
||||
|
||||
LIBEO = $(top_builddir)/src/libeo.a
|
||||
LIBEOUTILS = $(top_builddir)/src/utils/libeoutils.a
|
||||
|
||||
CXX = $(MPICXX)
|
||||
LD = $(MPICXX)
|
||||
AM_CXXFLAGS = -I$(top_srcdir)/src
|
||||
DEPS = $(LIBEOUTILS) $(LIBEO)
|
||||
LIBS = $(LIBEOUTILS) $(LIBEO)
|
||||
|
||||
|
||||
noinst_HEADERS = binary_value.h
|
||||
|
||||
MasterDistEvalBitEA_SOURCES = MasterDistEvalBitEA.cpp
|
||||
|
||||
SlaveDistEvalBitEA_SOURCES = SlaveDistEvalBitEA.cpp
|
||||
|
|
@ -1,6 +1,13 @@
|
|||
#include <stdexcept>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#ifdef HAVE_SSTREAM
|
||||
#include <sstream>
|
||||
#else
|
||||
#include <strstream>
|
||||
#endif
|
||||
|
||||
#include <paradiseo.h>
|
||||
#include <ga.h>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,14 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <stdexcept> // runtime_error
|
||||
#include <iostream> // cout
|
||||
#include <strstream> // ostrstream, istrstream
|
||||
#ifdef HAVE_SSTREAM
|
||||
#include <sstream>
|
||||
#else
|
||||
#include <strstream>
|
||||
#endif
|
||||
|
||||
#include <paradiseo.h>
|
||||
#include <ga.h>
|
||||
|
|
|
|||
1
eo/tutorial/ParadisEO/Lesson3/.cvsignore
Normal file
1
eo/tutorial/ParadisEO/Lesson3/.cvsignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
Makefile.in
|
||||
|
|
@ -1,6 +1,14 @@
|
|||
#include <stdexcept>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <stdexcept> // runtime_error
|
||||
#ifdef HAVE_SSTREAM
|
||||
#include <sstream>
|
||||
#else
|
||||
#include <strstream>
|
||||
#endif
|
||||
|
||||
#include <eo>
|
||||
#include <ga.h>
|
||||
|
|
|
|||
15
eo/tutorial/ParadisEO/Lesson3/Makefile.am
Normal file
15
eo/tutorial/ParadisEO/Lesson3/Makefile.am
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
noinst_PROGRAMS = CellularBitEA
|
||||
|
||||
LIBEO = $(top_builddir)/src/libeo.a
|
||||
LIBEOUTILS = $(top_builddir)/src/utils/libeoutils.a
|
||||
|
||||
CXX = $(MPICXX)
|
||||
LD = $(MPICXX)
|
||||
AM_CXXFLAGS = -I$(top_srcdir)/src
|
||||
DEPS = $(LIBEOUTILS) $(LIBEO)
|
||||
LIBS = $(LIBEOUTILS) $(LIBEO)
|
||||
|
||||
|
||||
noinst_HEADERS = binary_value.h
|
||||
|
||||
CellularBitEA_SOURCES = CellularBitEA.cpp
|
||||
|
|
@ -1 +1 @@
|
|||
SUBDIRS = Lesson1
|
||||
SUBDIRS = Lesson1 Lesson2 Lesson3
|
||||
|
|
|
|||
Reference in a new issue