If you are in MP Prism, you can also use the Prism options listed below to specify where you want the message-passing processes and their associated MP Prism processes to run.
Use the -W argument to instruct Prism to start the specified number of processes, even when that number exceeds the number of processors. By default, Prism launches one process per processor. For example:
% prism -n 4 -W a.x
starts four processes, regardless of the number of processors.
% prism -n 4 -W -bsubargs '-m argos' a.x
Here, you requested four processes to be launched on host argos, wrapping if necessary.
Use the -mprunargs argument to provide Prism (when using the CRE environment) with mprun arguments. For example, using the C shell (csh), you can specify a preferred host by name.
% prism -n 4 -W -mprunargs '-p delos' a.x
Here, you requested four processes to be launched on partition delos, wrapping if necessary.
If the bsub option itself uses quotation marks, refer to the documentation for your shell program for the syntax for handling quotes.