Technical data

Installation
Opening TCP ports for MPICH2
17
1
» Users can restrict MPICH2 to use a range of ports, and open those ports in a
firewall to avoid the multiple warnings.
» Users can also set a system environment variable named
MPICH_PORT_RANGE with a value of <port range start>:<port range
end>. This restricts MPICH2 to only use the given port range.
» For example, use MPICH_PORT_RANGE=3000:3100 to restrict to the
range to 3000-3100.
Pharsight provides a batch file called mpiPortTool.bat that allows users to
automatically open and close ports for MPICH2 in Windows Firewall. Users
must be logged in as an administrator for the batch file to work correctly.
The default location of the batch file is C:\Program Files\Phar-
sight\MPICH2\tools\mpiPortTool.bat. The batch file is installed
only if MPICH2 is installed.
Double-click mpiPortTool.bat. A command prompt is opened that
asks users what port range to use.
At the prompt, enter a beginning port number, such as 3000. Press ENTER.
Enter an ending port number such as 3100. Press ENTER.