In this format, hosts represents the hosts and tasks represents the tasks that will run on those
hosts.
There are several ways to specify the hosts and tasks: as a range, as a stride, as a repetition
count, or in free form. Example 2-12 shows some examples.
Important: You need to use the parse_hfile_extension API to parse the shorthand host
and task specifications on the host list file. For more information, see the IBM Parallel
Environment Runtime Edition for AIX V1.1: MPI Programming Guide, SC23-6783.
Example 2-12 Specifying hosts for jobs with large numbers of tasks
Use range form
c250f10c12ap05-hf0*8%[0-7]
c250f10c12ap09-hf0*8%[8-15]
This example can be expanded as:
c250f10c12ap05-hf0
c250f10c12ap05-hf0
c250f10c12ap05-hf0
c250f10c12ap05-hf0
c250f10c12ap05-hf0
c250f10c12ap05-hf0
c250f10c12ap05-hf0
c250f10c12ap05-hf0
c250f10c12ap09-hf0
c250f10c12ap09-hf0
c250f10c12ap09-hf0
c250f10c12ap09-hf0
c250f10c12ap09-hf0
c250f10c12ap09-hf0
c250f10c12ap09-hf0
c250f10c12ap09-hf0
Use stride form
c250f10c12ap05-hf0*8%[0-14:2]
c250f10c12ap09-hf0*8%[1-15:2]
This example can be expanded as:
c250f10c12ap05-hf0
c250f10c12ap09-hf0
c250f10c12ap05-hf0
c250f10c12ap09-hf0
c250f10c12ap05-hf0
c250f10c12ap09-hf0
c250f10c12ap05-hf0
c250f10c12ap09-hf0
c250f10c12ap05-hf0
c250f10c12ap09-hf0
c250f10c12ap05-hf0
c250f10c12ap09-hf0
134
IBM Power Systems 775 for AIX and Linux HPC Solution