Commit graph

1,166 commits

Author SHA1 Message Date
Johann Dreo
e7d38c54f0 Merge branch 'master' of ssh://trtp7097/home/bouvier/eo into eompi 2012-07-20 11:27:38 +02:00
Benjamin Bouvier
eebeaa810e Updating names: SharedDataFunction::d => SharedDataFunction::_data, ParallelApplyData::_data => ParallelApplyData::_table 2012-07-18 17:37:50 +02:00
Benjamin Bouvier
766a8f40d6 Solved memory leak on terminate job ctor 2012-07-18 14:02:39 +02:00
Johann Dreo
afd02eeb37 manual merge: deactivate t-eoParallel, that depends on OpenMP, whatever the build options 2012-07-16 15:15:42 +02:00
Benjamin Bouvier
fb75279012 Added doxygen links to examples on MPI classes 2012-07-16 15:08:53 +02:00
Benjamin Bouvier
ad74755d8e Precised group MPI instead of group Parallel for Mpi classes in documentation. 2012-07-13 15:50:51 +02:00
Benjamin Bouvier
d54e88dd16 eoMultiParallelApply is no more used, replaced with eo::mpi::MultiJob instead. 2012-07-13 15:07:42 +02:00
Benjamin Bouvier
f9a0084f95 Taking in account Doxygen remarks, fixed some documentation errors. 2012-07-13 14:45:56 +02:00
Benjamin Bouvier
5e76ba30b0 mDocumentation of eo::mpi classes. 2012-07-13 14:31:29 +02:00
Benjamin Bouvier
1eac497c4d Documentating eoMpi.h 2012-07-13 11:54:21 +02:00
Benjamin Bouvier
e7a48b8afb Using dynamic scheduling by default 2012-07-12 19:15:52 +02:00
Benjamin Bouvier
f963a15fbe Fixing assignment algorithm, who gave too many assignments by worker. Now, when using static assignment, the optimal size of packet (so as each worker has to process only one packet of data) is sent. 2012-07-12 19:15:07 +02:00
Benjamin Bouvier
d711369f12 Correctly handling remainders when using eoTimer. 2012-07-12 14:17:51 +02:00
Benjamin Bouvier
60fff427fe Documentation of serialization, utils/eoTimer and eoPopEvalFunc. 2012-07-12 13:56:54 +02:00
Benjamin Bouvier
4ab5b2fd89 Taking time measures only if parallel.doMeasure() is true. 2012-07-11 11:41:10 +02:00
Benjamin Bouvier
414e011296 Using ParallelApplyJob instead of MultiParallelApplyJob in eoPopEvalFunc. 2012-07-11 10:42:35 +02:00
Benjamin Bouvier
108c0bcf35 Automatic deleting functors, only if necessary. 2012-07-11 10:41:48 +02:00
Benjamin Bouvier
d805800731 Added packet size to parallel parser and default argument to static assignment. 2012-07-11 10:03:53 +02:00
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