User Clarification on Queue Submit Directives
The suggestion for job script has to do with proper execution of commands in the script. Currently, the number of nodes/cpus is either on the qsub command or script comments. The number of CPU's/nodes is then also required on the mpirun/prun commands. An environment variable or such would help to keep these synchronized.
BC Team Feedback
Both LSF and PBS have an environment variable called NCPUS (Number of CPUs). A user may specify NCPUS via a directive or on the submit command. The environment variable NCPUS can be passed to mpirun, or other parallel application execution commands. Please note that the NCPUS nomenclature was established prior to the advent of multi-core CPUs.
The appearance of hyperlinks does not constitute endorsement by the U.S. Air Force of this website or the information, products, or services contained therein. For other than authorized activities such as military exchanges and morale, welfare and recreation sites, the U.S. Air Force does not exercise any editorial control over the information you may find at these locations. Such links are provided consistent with the stated purpose of this DoD website.