On Jun 28, 2007, at 12:42 AM, Ethan Mallove wrote:
env_max_procs uses this order of precedence to get a
"max_np".
1. Various resource managers
2. If a global hostfile was specified
3. If a global hostlist was specified
4. If a global max_np was specified
Shouldn't 4 be at the top of the list?
I'm doing single node testing, but the fact that I have only
one node listed in hostlist causes env_max_procs to return
"1". I'd like to override the 1 value with the number of
CPU's on the single node I'm running on.
Is the :N notation not sufficient?
# OMPI Core: if you would rather list the hosts individually on the
# mpirun command line, list hosts here delimited by whitespace (if you
# have a hostfile listed above, this value will be ignored!). Hosts
# can optionally be suffixed with ":num", where "num" is an integer
# indicating how many processes may be started on that machine (if not
# specified, ":1" is assumed). The sum of all of these values is used
# for &env_max_np() at run time. Example (4 uniprocessors):
# hostlist = node1 node2 node3 node4
# Another example (4 2-way SMPs):
# hostlist = node1:2 node2:2 node3:2 node4:2
# The "hostlist" value is ignored if you are running in a scheduled
# environment or if you have specified a hostfile.
--
Jeff Squyres
Cisco Systems