Download Platform MPI User's Guide - Platform Cluster Manager
Transcript
Understanding Platform MPI The following is an example of using TCP over GigE, assuming GigE is installed and 192.168.1.1 corresponds to the Ethernet interface with GigE. The implicit use of -netaddr 192.168.1.1 is required to effectively get TCP over the proper subnet. % export MPI_IC_ORDER="ibv:vapi:udapl:psm:mx:gm:elan: itapi:TCP" % export MPIRUN_SYSTEM_OPTIONS="-netaddr 192.168.1.1" % $MPI_ROOT/bin/mpirun -prot -TCP -srun -n4 ./a.out MPI_IC_SUFFIXES When Platform MPI is determining the availability of a given interconnect on Linux, it tries to open libraries and find loaded modules based on a collection of variables. The use of interconnect environment variables MPI_ICLIB_ELAN, MPI_ICLIB_GM, MPI_ICLIB_ITAPI, MPI_ICLIB_MX, MPI_ICLIB_UDAPL, MPI_ICLIB_VAPI, and MPI_ICLIB_VAPIDIR has been deprecated. MPI_COMMD MPI_COMMD routes all off-host communication through daemons rather than between processes. The MPI_COMMD syntax is as follows: out_frags,in_frags where out_frags Specifies the number of 16 KB fragments available in shared memory for outbound messages. Outbound messages are sent from processes on a given host to processes on other hosts using the communication daemon. The default value for out_frags is 64. Increasing the number of fragments for applications with a large number of processes improves system throughput. in_frags Specifies the number of 16 KB fragments available in shared memory for inbound messages. Inbound messages are sent from processes on hosts to processes on a given host using the communication daemon. The default value for in_frags is 64. Increasing the number of fragments for applications with a large number of processes improves system throughput. When -commd is used, MPI_COMMD specifies daemon communication fragments. InfiniBand environment variables MPI_IB_MULTIRAIL Supports multi-rail on OpenFabric. This environment variable is ignored by all other interconnects. In multi-rail mode, a rank can use all the node cards, but only if its peer rank uses the same number of cards. Messages are striped among all the cards to improve bandwidth. By default, multi-card message striping is off. Specify -e MPI_IB_MULTIRAIL=N, where N is the number of cards used by a rank. If N <= 1, then message striping is not used. If N is greater than the maximum Platform MPI User's Guide 131