Azzera filtri
Azzera filtri

Compiled Standalone app with Parfor

2 visualizzazioni (ultimi 30 giorni)
Rainer
Rainer il 24 Lug 2012
Hi, my script utilizes parfor and I was wondering if there was a way to compile it into a standalone .exe such that it can be used across all types of multi core CPUs? ie if it is deployed on a 4 core comp it uses all 4 cores....it will use all 6 cores in a 6 core CPU etc?

Risposte (1)

Walter Roberson
Walter Roberson il 24 Lug 2012
  1 Commento
Jason Ross
Jason Ross il 24 Lug 2012
I believe that if you did not hard code the cluster size into the local configuration, it would do what you want. The default cluster size is one worker per core*, so if you didn't hard code that in the configuration, I'd think it would determine it.
*- When I say "core", I mean a real compute core, not a hyper-threaded one.

Accedi per commentare.

Categorie

Scopri di più su MATLAB Parallel Server in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by