You can run Prism in either of the LSF or CRE environments. To determine which environment is in effect, execute the script hpc_rte from a shell prompt.
If you are running Prism in the LSF environment, you can specify bsub options that you want to apply to your message-passing program on the Prism command line as a quoted string following the -bsubargs option. Once you have entered Prism you can issue the bsubargs command on the Prism command line to specify bsub options. Prism stores these options, then applies them when you start up a multiprocess program. Specifying the setting of an option via the bsubargs command supersedes the setting of the entire list of options you have established via the prism command line. You must reset every one of your bsub options every time you issue the bsubargs command.
The string given to bsubargs should not contain the -I, -Ip, or -n flags, because Prism internally generates values for them, and the results will be undefined. The same considerations apply using the -bsubargs switch to Prism.
To remove any existing bsub options you have specified, issue the command bsubargs off This removes options you have set via the prism command line and the bsubargs command. Issuing the bsubargs command with no options shows the current bsub options.
The bsubargs command and the -bsubargs option differ in one respect. Since the -bsubargs option is issued at a shell prompt, you must refer to the documentation for your shell program for the specific syntax for handling any quoted string supplied as an argument to the -bsubargs option. The bsubargs command does not interact with a shell, thus the bsubargs command requires no additional string quoting syntax.
If you are running Prism in the CRE environment, you can specify mprun options that you want to apply to your message-passing program on the Prism command line as a quoted string following the -mprunargs option. Once you have entered Prism you can issue the mprunargs command on the Prism command line to specify mprun options. Prism stores these options, then applies them when you start up a multiprocess program. Specifying the setting of an option via the mprunargs command overrides the setting of the same option you have established via the prism command line. If it is an option that has otherwise not been specified, it is added to the existing settings.
The string given to mprunargs should not contain the -I, -Ip, or -n flags, because Prism internally generates values for them, and the results will be undefined. The same considerations apply using the -mprunargs switch to Prism.
To remove any existing mprun options you have specified, issue the command mprunargs off This removes options you have set via the prism command line and the mprunargs command. Issuing the mprunargs command with no options shows the current mprun options.
The mprunargs command and the -mprunargs option differ in one respect. Since the -mprunargs option is issued at a shell prompt, you must refer to the documentation for your shell program for the specific syntax for handling any quoted string supplied as an argument to the -mprunargs option. The mprunargs command does not interact with a shell, thus the mprunargs command requires no additional string quoting syntax.
Use the -c and -p options to specify a CRE cluster and partition. These options override the CRE environment variables SUNHPC_CLUSTER and SUNHPC_PART. You can use these options only when launching Prism in the CRE environment.