Commit graph

1,127 commits

Author SHA1 Message Date
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
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
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
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
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
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
Benjamin Bouvier
6ac423bf22 Adding eoEasyEA constructor allowing to precise which eoPopEvalFunc should be used 2012-06-20 11:46:18 +02:00
Benjamin Bouvier
fed65c4f08 Added eoParallelPopEvalFunc and allow compilation of full library. 2012-06-18 17:02:41 +02:00
Benjamin Bouvier
bd959cb3ef First parallel evaluation with MPI. Look at t-eoMpiParallel.cpp 2012-06-18 15:22:47 +02:00
Benjamin Bouvier
04f972475c First version of generic MPI parallelization 2012-06-18 14:20:06 +02:00
Benjamin Bouvier
2851cad471 Configure eo-conf.cmake to enable or disable MPI use. 2012-06-15 17:07:29 +02:00
Benjamin Bouvier
0bd33fe692 Serialization of EO user objects. 2012-06-15 10:56:59 +02:00
Caner Candan
cd94be6957 * fixed gcc 4.7 errors: ambigious calls to super class methods 2012-05-01 20:59:45 +02:00
Caner Candan
d25dc3833b Merge branch 'master' of ssh://eodev.git.sourceforge.net/gitroot/eodev/eodev 2012-05-01 20:49:54 +02:00