Difference between revisions of "Processors Command"

From OSUPDOCS
Jump to navigation Jump to search
(Created page with "The Processors command selects the number of processors to use when running parallel versions of OSParticulas, NairnMPM, and NairnFEA. The format is Processors (...")
 
m (Nairnj moved page Processors to Processors Command: To be consistent with other command topics)
(No difference)

Revision as of 23:57, 28 August 2013

The Processors command selects the number of processors to use when running parallel versions of OSParticulas, NairnMPM, and NairnFEA. The format is

Processors (number)

where number is the number of processors.

To select number of processors with using XML input files, enter the following comment anywhere in the file:

<!--processors #-->

where # is replaced by the number of processors.

Notes

  • Setting number of processors greater than 1 implies you are running parallel versions of OSParticulas, NairnMPM, or NairnFEA. If not, an error will result and no calculations will run.
  • The comment option for use in XML input files only works when launching calculations in NairnFEAMPM or NairnFEAMPMViz. When using command line to launch calculations, use the -np option instead.
  • If the requested number is greater than the available number of processors, it will be reduced to the available number of processors.