Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://classic.chem.msu.su/gran/gamess/windows_nt-mpich.html
Дата изменения: Thu Nov 11 11:06:14 2010 Дата индексирования: Mon Oct 1 20:06:21 2012 Кодировка: |
Either several (at least two) Intel/AMD-based computers having identical or similar hardware configuration and running in the local network environment under the control of Windows NT 4.0, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, or Windows 7. Each computer can be either single- CPU workstation, or dual (four, eight, etc..)-CPU (or core) SMP/multicore system, it does not matter.
Or, alternatively, single Intel/AMD-based SMP/multicore system running under Windows NT 4.0/Win2K/WinXP/Win2003/WinVista/Win2008. In this case, it is desirable (although not necessary) to have the high-quality hardware RAID controller installed as well. This will improve the overall performance of disk-intensive jobs considerably. Another things that can help are:
TCPIP protocol must be installed and configured correctly on each system.
The 32-bit NT-MPICH package (the part of MP-MPICH) must be installed, including MPI dynamic link libraries and cluster management service, on all computers to be used to run PC GAMESS/Firefly in parallel. Please consult with the NT-MPICH documentation before start experimenting with parallel PC GAMESS/Firefly runs.
The PC GAMESS/Firefly binaries should present on all the computers you plan to run the PC GAMESS/Firefly in parallel, as well as the proper MPI binding dll
Read the documentation on mpiexec (the part of NT-MPICH) and its options (run mpiexec without any parameters to see the list of supported options).
Finally, one has to carefully read these MUST READ documents:
Consult with NT-MPICH documentation and create an appropriate machinefile (machines.txt).
Use mpiexec to run PC GAMESS in parallel on your Windows cluster. The simplest command line for the parallel PC GAMESS/Firefly run is as follows:
      mpiexec.exe < mpiexec options > PCGAMESS.EXE DIR0 DIR1 DIR2 ... DIRN
Here, DIR0, DIR1, DIR2, etc... are the working directories of the master PC GAMESS/Firefly process (i.e., of MPI RANK=0), second instance of PC GAMESS/Firefly (MPI RANK=1), third instance, and so on. Both absolute and relative paths are allowed. Relative paths are relative to the initial working directory you launched the PC GAMESS/Firefly from.
For example, you can use something like this:
      mpiexec.exe -n 3 -account local/administrator C:\GAMESS\PCGAMESS.EXE -o C:\PCGAMESS\MP2LARGE\mp2.out C:\PCGAMESS\MP2LARGE D:\PCGAMESS\MP2LARGE E:\GAMESS\MP2LARGE
Depending on the particular machinefile, the three directories above must exist prior to PC GAMESS/Firefly execution either on the single computer, two different computers, or three different computers. The input file must be in the master working directory (i.e., in the C:\PCGAMESS\MP2LARGE for the example above)
While running PC GAMESS/Firefly in parallel using standalone SMP system, the performance degradation is possible because of simultaneous I/O operations. In this case, the use of high-quality RAID or separate physical disks can help. If the problem persist, for dual- (and more, 4, 8, for example)-CPUs/cores SMP/multicore systems the better solution is probably to switch to the direct computation methods which require much less disk I/O.
The default value for AOINTS is DUP. It is probably optimal for low-speed networks (10 and 100 Mbps Ethernet). On the other hand, for faster networks and SMP systems the optimal value could be AOINTS=DIST. You can change the default by using the AOINTS keyword in the $SYSTEM group. So, you can check what is the faster way for your systems.
There are four keywords in the $SYSTEM group which can help in the case of MPI-related problems. Do not modify the default values unless you are absolutely sure that you need to do this. They are as follows:
MXBCST (integer) - the maximum size (in DP words) of the message used in broadcast operation. Default is 32768. You can change it to see whether this helps MPISNC (logical) - activates the strategy when the call of the broadcast operation will periodically synchronize all MPI processes, thus freeing wp4 global memory pool. Default is false. Setting it to true should resolve most buffer-overflow problems by the cost of somewhat reduced performance. MXBNUM (integer) - the maximum number of broadcast operations which can be performed before the global synchronization call is done. Relevant if MPISNC=.true. Default is 100. LENSNC (integer) - the maximum total length (in DP words) of all messages which can be broadcasted before the global synchronization call is done. Relevant if MPISNC=.true. Default is dependent on the number of processes used (meaningful values vary from 20000 to, say, 262144 or even more).
Last updated: March 18, 2009