Commit graph

1,814 commits

Author SHA1 Message Date
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
12560899ae Updating MPI tests. 2012-07-11 12:00:36 +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
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
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
1d3790a0e4 Updating multiple roles test. 2012-07-03 15:07:27 +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
b9a2246f82 Generating time based seed for random generator 2012-06-25 13:53:34 +02:00
Benjamin Bouvier
d9c7ef0300 Parallel apply test is done on a big table. 2012-06-25 13:51:49 +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
Benjamin Bouvier
66c7b1f12d Using real dynamic assignments for tests. 2012-06-25 11:44:14 +02:00
Benjamin Bouvier
5bf03dec2b Multiple roles demo has now 2 sub masters. Needs to be launched with at least 7 nodes. 2012-06-22 17:56:08 +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
Benjamin Bouvier
aec5236eb1 Updated tests: multipleRoles compiles again and parallelApply tries all kinds of assignments algorithms. 2012-06-22 16:14:27 +02:00
Benjamin Bouvier
cf5317f614 Static assignement algorithm 2012-06-22 16:13:08 +02:00
Benjamin Bouvier
da9eb9ce7b Merged MpiJob and Role, using eoLogger instead of cout. 2012-06-22 14:24:23 +02:00