MPI Windows* MPI MPI (Message Passing Interface) v2 (MPI-2) MPI MPI
1...4 1.1...4 1.2 Doc Type...4 1.3...4 1.4...5 2 MPI...6 2.1...6 2.2...6 2.3...7 2.4 SMPD...7 2.5...8 2.6 MPI...8 3...10 3.1...10 3.2...11 4...12 : 316404-02JA 2
Intel's Terms and Conditions of Sale ( ) Intel Intel Intel Corporation * 2007 Intel Corporation. : 316404-02JA 3
1 MPI 1.1 MPI 1.2 Doc Type 1: 2: MPI 3: MPI 1.3 This type style This type style THIS_TYPE_STYLE <this type style> [ items ] { item item } : 316404-02JA 4
1.4 MPI Web MPI : 316404-02JA 5
2 MPI 2.1 MPI SMPD MPI 1 : MPI 2.2 1. MPI MPI Windows* 2. [ ] (IA-32 ) [ ] - [ ] - [Intel(R) Software Development Tools ( (R) )] - [Intel(R) MPI Library v3.1 ( (R) MPI 3.1)] - [Build Environment for IA-32 (IA-32 )] ( 64 ) [ ] - [ ] - [Intel(R) Software Development Tools ( (R) )] - [Intel(R) MPI Library v3.1 ( (R) MPI 3.1)] - [Build Environment for Intel(R) 64 ( (R) 64 )] : 316404-02JA 6
(cmd) BAT <installdir>\ia32\bin\mpivars.bat <installdir>\em64t\bin\mpivars.bat 3. smpd 2.3 MPI MPI 1. Microsoft* Visual Studio* 2005 Fortran 9.1 Winxx 2. x64 3. <installdir>\em64t\include 4. <installdir>\em64t\lib 5. C impi.lib ( ) impid.lib ( ) 6. C++ impi.lib impicxx.lib ( ) impid.lib impicxxd.lib ( ) impimt.lib ( ) impidmt.lib ( ) 7. 8. 9. mpiexec.exe 2.4 SMPD MPI SMPD (Simple Multi-Purpose Daemon) Microsoft Visual Studio ( ) SMPD : smpd mpiexec : 316404-02JA 7
SMPD : 1. MPI smpd smpd 2. MPI smpd smpd.exe <installdir>\em64t\bin 3. smpd > smpd.exe remove 4. smpd > smpd.exe install 2.5 MPI MPI I_MPI_DEVICE I_MPI_DEVICE sock shm ssm TCP/Ethernet/ ( ) TCP + (Ethernet SMP ) rdma[:<provider>] InfiniBand* RDMA ( DAPL* ) rdssm[:<provider>] TCP + + DAPL (RDMA SMP ) shm rdma 1 DAPL dat.dll %PATH% mpiexec.exe genv I_MPI_DAT_LIBRARY dat.dll 2.6 MPI MPI mpiexec > mpiexec.exe -n <# of processes> myprog.exe : wmpiexec mpiexec.exe GUI MPI ( ) : 316404-02JA 8
mpiexec -n hosts > mpiexec.exe hosts 2 host1 2 host2 2 myprog.exe -genv I_MPI_DEVICE shm MPI > mpiexec.exe -genv I_MPI_DEVICE shm -n <# of processes> \myprog.exe configfile > mpiexec.exe configfile config_file -host host1 n 1 genv I_MPI_DEVICE rdssm myprog.exe -host host2 n 1 genv I_MPI_DEVICE rdssm myprog.exe rdma > mpiexec.exe hosts 2 host1 1 host2 1 genv I_MPI_DEVICE rdma myprog.exe MPI : 316404-02JA 9
3 MPI 3.1 MPI : 1. [ ] smpd smpd MPI 2. <installdir>\ia32\bin <installdir>\ia32\lib\ ( 64 64 <installdir>\em64t\bin <installdir>\em64t\lib) > echo %PATH% 3. PATH LIB > mpiexec.exe hosts 2 host1 1 host2 1 a.bat a.bat echo %PATH% *vars.bat 64 64 C++ 9.1 Windows Windows [ ] - [ ] [Intel(R) Software Development Tools ( (R) )] > [Intel(R) C++ Compiler 9.1 ( (R) C++ 9.1)]> [Build Environment for Intel(R) 64 ( (R) 64 )] %ProgramFiles%\Intel\Compiler\C++\9.1\em64t\bin\iclvars.bat 4. <installdir>\ia32\lib ( 64 64 <installdir>\em64t\lib) LIB LIB > mpiexec.exe hosts 2 host1 1 host2 1 a.bat a.bat echo %Lib% : 316404-02JA 10
3.2 <installdir>\test 1. 1.1 2. InfiniBand RDMA 3. sock > mpiexec.exe -n 2 -env I_MPI_DEBUG 2 env I_MPI_DEVICE sock a.out 1 sock ssm > mpiexec.exe -n 2 -env I_MPI_DEBUG 2 env I_MPI_DEVICE ssm a.out 1 ssm > mpiexec.exe n 2 -env I_MPI_DEBUG 2 -env I_MPI_DEVICE \<device> a.out <device> shm rdma rdssm mpiexec 1 I_MPI_DEVICE : 316404-02JA 11
4 MPI : Windows [ ] [ ] - [Intel(R) Software Development Tools ( (R) )] - [Intel(R) MPI Library v3.1 ( (R) MPI 3.1)] - [Intel(R) MPI Library Release Notes for Windows* ( (R) MPI Windows* )] Web Web MPI : 316404-02JA 12