Runs myapp.exe on six processors with the standard output directed to the file myOutput.txt in the user’s home directory on the head node (as defined in the %USERPROFILE% environment variable on the head node).
job submit /numnodes:2 mpiexec myapp.exe
Runs one myapp.exe process on two compute nodes. The standard output is stored in the HPC Job Scheduler Service database in the Output field for the task.
Runs 128 myapp.exe processes where the Message Passing Interface (MPI) data traffic is routed to a specific network in the cluster (157.59.x.x/255.255.0.0 in this example) by setting an environment variable (MPICH_NETMASK) on the MPI processes.
The Windows operating system optimizes the use of multicore systems by dynamically shifting workload to underutilized cores. However, this refinement can be detrimental to the performance of some HPC applications. The -affinity flag prevents the operating system from moving the MPI processes between cores. They run exclusively on the core that they started on.