manual merge: deactivate t-eoParallel, that depends on OpenMP, whatever the build options
This commit is contained in:
commit
afd02eeb37
34 changed files with 2330 additions and 809 deletions
|
|
@ -36,12 +36,6 @@
|
|||
#include <omp.h>
|
||||
#endif
|
||||
|
||||
# ifdef WITH_MPI
|
||||
# include <mpi/eoMpi.h>
|
||||
# include <mpi/eoMultiParallelApply.h>
|
||||
# include <mpi/eoTerminateJob.h>
|
||||
# endif // WITH_MPI
|
||||
|
||||
/**
|
||||
Applies a unary function to a std::vector of things.
|
||||
|
||||
|
|
@ -88,21 +82,6 @@ void apply(eoUF<EOT&, void>& _proc, std::vector<EOT>& _pop)
|
|||
#endif // !_OPENMP
|
||||
}
|
||||
|
||||
#ifdef WITH_MPI
|
||||
template<class EOT>
|
||||
void parallelApply(
|
||||
std::vector<EOT>& _pop,
|
||||
eo::mpi::AssignmentAlgorithm& _algo,
|
||||
int _masterRank,
|
||||
eo::mpi::ParallelEvalStore<EOT> & _store )
|
||||
{
|
||||
_store.data( _pop );
|
||||
_algo.reinit( _pop.size() );
|
||||
eo::mpi::ParallelApply<EOT> job( _algo, _masterRank, _store );
|
||||
job.run();
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
This is a variant of apply<EOT> which is called in parallel
|
||||
thanks to OpenMP.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue