[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 5.1 Parallel Configuration

Configuration block: [cluster]

  Description

  When working in parallel, `[cluster]` is required to specify the group of computers that will be used. It is required even if you are only invoking multiple processes on one computer.

  Options

  `Name = CLUSTER_NAME`

    The reference name of this cluster.

  `Members = NODE_NAME NODE_NAME …`

    A list of nodes that comprise the cluster. Each node is separated by at least one space. At the current time, all nodes specified by `Members` option must run the same type of operating system (i.e. all Windows or all Linux/Mac OS X). The platform versions don’t matter (i.e. you can mix Windows XP and 7).

  Example

      [cluster]
      Name = c1
      Members = n1 n2 n3

Configuration block: [node]

  Description

  When working in parallel, `[node]` is required for every computer that will be used. The options that are required differ, depending on the underlying operating system and whether you are working locally or remotely.

  Options

  `Name = NODE_NAME`

    The reference name of this node.

  `CPUnbr = INTEGER | [INTEGER:INTEGER]`

    If just one integer is passed, the number of processors to use. If a range of integers is passed, the specific processors to use (processor counting is defined to begin at one as opposed to zero). Note that using specific processors is only possible under Windows; under Linux and Mac OS X, if a range is passed the same number of processors will be used but the range will be adjusted to begin at one.

  `ComputerName = COMPUTER_NAME`

    The name or IP address of the node. If you want to run locally, use `localhost` (case-sensitive).

  `UserName = USER_NAME`

    The username used to log into a remote system. Required for remote runs on all platforms.

  `Password = PASSWORD`

    The password used to log into the remote system. Required for remote runs originating from Windows.

  `RemoteDrive = DRIVE_NAME`

    The drive to be used for remote computation. Required for remote runs originating from Windows.

  `RemoteDirectory = PATH`

    The directory to be used for remote computation. Required for remote runs on all platforms.

  `DynarePath = PATH`

    The path to the ‘`matlab`’ subdirectory within the Dynare installation directory. The default is the empty string.

  `MatlabOctavePath = PATH_AND_FILE`

    The path to the MATLAB or Octave executable. The default value is `matlab`.

  `SingleCompThread = BOOLEAN`

    Whether or not to disable MATLAB’s native multithreading. The default value is `true`. Option meaningless under Octave.

  Example

      [node]
      Name = n1
      ComputerName = localhost
      CPUnbr = 1

      [node]
      Name = n2
      ComputerName = dynserv.cepremap.org
      CPUnbr = 5
      UserName = usern
      RemoteDirectory = /home/usern/Remote
      DynarePath = /home/usern/dynare/matlab
      MatlabOctavePath = matlab

      [node]
      Name = n3
      ComputerName = dynserv.dynare.org
      CPUnbr = [2:4]
      UserName = usern
      RemoteDirectory = /home/usern/Remote
      DynarePath = /home/usern/dynare/matlab
      MatlabOctavePath = matlab

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ]

This document was generated by SÃ©bastien Villemot on May 24, 2011 using texi2html 1.82.