Commit graph

1,198 commits

Author SHA1 Message Date
Johann Dreo
ea8da0e965 manual merge eompi 2012-07-10 18:00:25 +02:00
Benjamin Bouvier
472b86bc68 MPI job functors have to be created with new, so as to be deleted by delete, because of Composite / Decorator pattern. 2012-07-10 17:34:18 +02:00
Benjamin Bouvier
008f2571b2 MultiJob and OneShotJob allow to choose job's way of termination (Kill for multi, Finish for one shot). 2012-07-10 17:32:18 +02:00
Benjamin Bouvier
6600f1db51 Suppressed some warnings at compilation. 2012-07-10 16:08:35 +02:00
Benjamin Bouvier
76c4f19829 Separating parameters of store's default constructor of job parameters in eoParallelPopEval. 2012-07-10 15:38:36 +02:00
Benjamin Bouvier
606eef08d8 Difference between termination messages Kill (stops the worker) and Terminate (waits for another task). 2012-07-10 14:48:46 +02:00
Benjamin Bouvier
ad89e280f9 Serialization: using maximum precision when converting double to string. 2012-07-10 14:46:12 +02:00
nojhan
51632cf856 add an assert to check if parents size <= offspring size when using eoCommaReplacement
This may be more explicit than the exception thrown in eoTruncate.
2012-07-06 21:40:28 +02:00
nojhan
5827444774 Comment out deprecated stuff and fix corresponding tests
This may break your code if you did not pay attention to warnings in the previous release, the old code is still here in
case you want to understand what's going on.
2012-07-06 20:48:18 +02:00
Joost
b01c7ac0f0 include omp.h only if _OPENMP is defined 2012-07-06 20:33:58 +02:00
nojhan
07fede786f Merge branch 'master' of ssh://eodev.git.sourceforge.net/gitroot/eodev/eodev 2012-07-06 18:25:15 +02:00
Benjamin Bouvier
79c7a263a3 Static assignment algorithm works with parallel eval now. 2012-07-06 16:44:06 +02:00
Benjamin Bouvier
23acd1a633 Catching exceptions and sending them back in eoMpi loop. 2012-07-06 10:06:34 +02:00
Benjamin Bouvier
8753787725 Cleaning code (useless comments, suppressing warnings, etc...) 2012-07-05 18:16:49 +02:00
Benjamin Bouvier
581b24af18 Bugfix: a reference can't be reinitialized. Different vectors weren't recopied after evaluation. 2012-07-04 13:24:10 +02:00
Benjamin Bouvier
603268b053 Added store management to eoPopEvalFunc. 2012-07-04 10:53:57 +02:00
Benjamin Bouvier
24c29db6f3 Using again parallel apply into eoPopEvalFunc::eoParallelPopEvalFunc. 2012-07-03 15:53:19 +02:00
Benjamin Bouvier
564cc3bccd Using eo::mpi::DEFAULT_MASTER instead of raw constants. 2012-07-03 14:51:34 +02:00
Benjamin Bouvier
63f12c4e1c JobStore has now getters, setters and wrappers methods. 2012-07-03 14:48:47 +02:00
Benjamin Bouvier
6bb2ccfbd6 Steps of MpiJob are now functors which can be wrapped (using decorator pattern). 2012-07-03 13:57:20 +02:00
Benjamin Bouvier
ff61676fb7 Cleaner version of functional parallel job. 2012-07-02 17:53:02 +02:00
Benjamin Bouvier
d05cbfd60d First version of functional job 2012-07-02 11:56:41 +02:00
Benjamin Bouvier
4675abaa24 Implementation test of functional configurable job 2012-06-29 18:19:55 +02:00
Benjamin Bouvier
2861fc98de Mesuring time with eoTimer. 2012-06-27 15:09:12 +02:00
Benjamin Bouvier
7b399aa1dd Putting time conditions into eo::mpi::Job and MultiParallelApply, which doesn't prefigure about number of workers evaluations. 2012-06-26 17:53:32 +02:00
Benjamin Bouvier
fc68c3b81e eoPopEvalFunc updated for parallel evaluation. 2012-06-25 14:55:15 +02:00
Benjamin Bouvier
de2df9de81 Preprocessor conditions for debug print 2012-06-25 14:18:04 +02:00
Benjamin Bouvier
b291e56e03 Putting everything in namespace eo::mpi 2012-06-25 14:11:44 +02:00
Benjamin Bouvier
2cc112c33b Throwing exception when packet size is negative. 2012-06-25 13:50:22 +02:00
Benjamin Bouvier
f4d8b43f7d ParallelApply can now handle many data at a time. 2012-06-25 13:41:48 +02:00
Caner Candan
29e31fb6df * ga/make_op: added kbit flip mutation, disabled by default 2012-06-25 02:18:15 +02:00
Caner Candan
1809120d34 * ga/make_ga: eoBooleanGeneration is now settable 2012-06-25 02:17:32 +02:00
Caner Candan
d44a696e21 * fixed regression with gcc 4.7 2012-06-23 13:39:17 +02:00
Caner Candan
46b3f77d9c * make_checkpoint.h: added --monitor_with_CtrlC option in order to monitor only when Ctrl-C is pressed 2012-06-22 17:41:46 +02:00
Benjamin Bouvier
ac13550faa REST_OF_THE_WORLD constant in assignmentAlgorithm. 2012-06-22 17:40:00 +02:00
Benjamin Bouvier
f3cb5eec20 More constructors for assignment algorithms: by interval, by unique worker, by vector of ranks, or whole world. 2012-06-22 17:31:46 +02:00
Benjamin Bouvier
5bfcf4cd2c Moving MpiNode into MpiNode.h 2012-06-22 17:28:31 +02:00
Caner Candan
48a9063312 * make_checkpoint.h: too much empty lines removed 2012-06-22 16:55:40 +02:00
Benjamin Bouvier
cf5317f614 Static assignement algorithm 2012-06-22 16:13:08 +02:00
Caner Candan
afc0bb6f9b + eoSignal: to handle signal with eoCheckpoint instances 2012-06-22 15:37:51 +02:00
Caner Candan
ba45bac06c * make_continue_ga.cpp: typo 2012-06-22 15:36:19 +02:00
Caner Candan
4d2931b810 * eoCtrlCContinue.h: signal c++ header file 2012-06-22 15:35:54 +02:00
Caner Candan
5c85bbdede * eoStdoutMonitor.h: warning message should be disabled 2012-06-22 15:35:16 +02:00
Benjamin Bouvier
da9eb9ce7b Merged MpiJob and Role, using eoLogger instead of cout. 2012-06-22 14:24:23 +02:00
Benjamin Bouvier
fb871382e0 Removed useless continuator functor, replaced with a virtual method into MpiJob. 2012-06-22 12:09:19 +02:00
Benjamin Bouvier
28ab2004ea MpiJob now just deal with loop logic, not with handled data. Handled data is now handled by the MpiJob subclasses. Tests updated. 2012-06-21 18:26:56 +02:00
Benjamin Bouvier
33e062d166 Simplified master condition. 2012-06-21 17:31:07 +02:00
Benjamin Bouvier
2aa312e43d Allowing more than one master. 2012-06-21 17:21:13 +02:00
Benjamin Bouvier
122d0debf0 eoMpi API is simpler and allows to have multiple roles for a given node. 2012-06-21 16:10:51 +02:00
Benjamin Bouvier
fd2facb14e Moved mpi related files into mpi/ and compiling it as an extern library. 2012-06-21 15:03:41 +02:00