MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 511

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 510
mapreducer
11-167
mapreducer
Define parallel execution environment for mapreduce
mapreducer is the execution configuration function for mapreduce. This function
specifies where mapreduce execution takes place. With Parallel Computing Toolbox, you
can expand the execution environment to include various compute clusters.
Syntax
mapreducer
mapreducer(0)
mapreducer(poolobj)
mapreducer(hcluster)
mapreducer(mr)
mr = mapreducer( ___ )
mr = mapreducer( ___ ,'ObjectVisibility','Off')
Description
mapreducer specifies the default global execution environment for mapreduce.
If you have Parallel Computing Toolbox installed, and your default cluster profile
specifies a local cluster, then mapreducer also opens a parallel pool so that mapreduce
can distribute mapper and reducer tasks to the pool workers.
You can set your parallel preferences so that a pool does not automatically open. In this
case, you must explicitly start a pool if you want to use parallel resources. See “Parallel
Preferences”.
mapreducer(0) specifies that mapreduce run in the MATLAB client session without
using any parallel resources.
mapreducer(poolobj) specifies a cluster for parallel execution of mapreduce.
poolobj is a parallel.Pool object. The default pool is the current pool that is returned or
opened by gcp.
Zobrazit stránku 510
1 2 ... 506 507 508 509 510 511 512 513 514 515 516 ... 655 656

Komentáře k této Příručce

Žádné komentáře