How to set up a parametric distribution on a single machine

Requirements

In Flux 2D and in Flux 3D, the parametric distribution options (number of secondary Flux in parallel) may be setted in the Supervisor's options or by clicking on the button Distribution manager in the bottom right of the Supervisor. For the Flux Skew module, this feature is not yet available and will run automatically in sequential mode.

In any case, the parametric distribution may be setted as follows:

  • The Distribution manager may be started in the Supervisor's options, in the Parallel Computing menu, in the section Distributed Computing and then Parametric Distribution click on the button Set local ressources as shown below;


    Figure 1. The supervisor's options allowing the user to set the parametric distribution.
  • An additional window Distribution manager should appears and is asking to allow some resources (Number of secondary Flux in parallel) for the parametric distribution, click on Allow;
  • The Distribution manager then asks for the Number of concurrent Flux as follows:


    Figure 2. The distribution manager asking for the Number of Concurrent Flux.
    This number is directy linked to the number of cores available on the machine, the numbers of varying parameters are automatically distributed over the number of concurrent Flux. The secondary Flux are automatically run in monocore mode but may be changed by using the slider Number of cores per concurrent Flux.
  • Finally, click on Use to complete the parametric distribution
  • The parametric distribution may also be started by clicking the button Distribution manager in the bottom right of the Supervisor as shown below.


    Figure 3. The distribution manager button in the Flux Supervisor.

Define a parametrized scenario in Flux

Once that the distribution has been setted in the Supervisor, it may be employed as follow in a Flux scenario:
  • Check the box Parametric distribution in the selected Scenario.
    Note: All the varying parameters should be declared as Controlled parameters in the Control parameters tab of the scenario as depicted below.


Figure 4. Scenario GUI box, highlightning in (1) the Parametric distribution that is enabled and in (2) a list a of several varying parameters.