Hardware
Before starting, you should have the following hardware and
- At least two computers with Windows XP, Windows NT, SP6 or
Windows 2000 networked with some sort ofLAN equipment (hub, switch etc.). - Ensure during the Windows set up phase that TCP/
IP , and NETBUI are installed, and that the network is started with all thenetwork cards detected and the correct drivers installed.
We will call these two computers a Windows cluster. You now you need some sort of software that will help you to develop, deploy and execute applications over this cluster. This software is the core of what makes a Windows cluster possible.
Software
The Message Passing Interface (MPI) is an evolving de facto standard for supporting clustered computing based on message passing. There are several implementations of this standard.
In this article, we will use mpich2, which is freely available and you can download it here for Windows clustering, and find related documentation here . Please read the PDF before starting the following steps.
Step 1: Download and unzip mpich2 into any folder and share this folder with write permission.
Step 2: Copy all files with the .dll extension from C:\MPICH2\lib to the C:\Windows\system32 folder.
Step 3: Install the Cluster Manager Service on each host you want to use for remote execution of MPI processes. For installation, start rcluma-install.bat (located in the C:\MPICH2\bin directory) by double-clicking from the local or network-drive. You must have administrator rights on the hosts to install this service.
Step 4: Follow step 1 and 2 for each node in the cluster (we will name each computer in the cluster as node).
Step 5: Now Start RexecShell (from folder C:\MPICH2\bin) by double-clicking it:
Open the configuration dialog by pressing F2. The distribution contains a precompiled example MPI program named cpi.exe (located in MPICH2/bin). Choose it as the actual program. Make sure that each host can reach cpi.exe at the specified path.
Choose ch_wsock as the active plug-in. Select the hosts to compute on. On the tab 'Account', enter your username, domain and password, which need to be valid on each host chosen. Press OK to confirm your selections. The Start Button (from the Window RexecShell) is now enabled and can be pressed to start cpi.exe on all chosen hosts. The output will be displayed in separate windows.
Congratulations -- your supercomputer (Windows cluster) is ready to run MPI programs!
*can apply too linux OS too, but i didnt paste it here ^^
SoonSing
No comments:
Post a Comment