Commit graph

1,389 commits

Author SHA1 Message Date
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
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
Caner Candan
f962a7942b * we can now disable deprecated messages 2012-06-17 21:01:16 +02:00
Caner Candan
699a6c1858 * eo/src/pyeo/test/run_tests.sh: removed ambigious use of python version 2012-06-17 14:21:55 +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
a183a1c6d1 * make_op.h, eoLogger.cpp: disabled not used variables. should I remove them ? 2012-06-14 15:30:41 +02:00