Professional Documents
Culture Documents
this is a small tutorial to have the smallest cluster of 2 machines up and running with fluent.
The following setup is only a demo setup to show how 2 windows machines can be
connected; more into details this tutorial will show you how to connect 2 machines running
windows 7 64 bit to run jobs on distributed memory, without a switch, but directly
connecting the 2 machines.
Since this is only a demo setup and since I haven't a cross cable to connect the machines
through the gigabit ethernet, I was going to connect the 2 machines by wifi at 54 mbps
(very slow); in a real setup, the 2 machines should be connected at least with a cross cable
cat. 5E (Gbit ethernet), or better with infiniband.
On machine 2:
Control panel->network and internet->network and sharing server->change adapter
settings (on the left)
Right click on the network adapter (in my case the internal wifi adapter) and click
properties: highlight "internet protocol version 4 (tcp/ipv4)" and click properties
Check "use the following ip address" and "use the following DNS server addresses"
Ip address: write 192.168.1.2
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.1
Disable firewalls and UAC on machine 1 and 2 to prevent errors in communication (you can
activate them later once all is working)
4 packets will be sent by machine 1 to machine 2 and to machine 2 to machine 1 and you
must see that all packets reach destination.
VERY IMPORTANT
The 2 machines must have fluent installed in the same directory;
The 2 machines must have intel mpi installed in the same directory;
The 2 machines must have the same username and password to login in windows (so you
must assign the same password to the usernames, you cannot have a blank password).
Test usernames/password
On both machines 1 and 2 share a directory, for example the C:\ directory
Go to Start->Computer
Right click on C:\ then click on properties
Click on sharing tab->advanced sharing
Check Share this folder, click apply and click on permissions
Highlight Everyone in users and groups and assign full control (all checks under "Allow")
Click apply, ok, ok
From machine 1 go to Start->Computer and click on network on the left to see machine 2
Double click on it and access the shared folder C:\ on machine 2
You will be prompted for a username and a password
Type the windows username and password and see if you can access the shared folder
On machine 1 create a new .txt file with notepad and write the hostnames of the network:
the format of the file is:
Code:
ipmachine1
ipmachine1
ipmachine1
ipmachine1
ipmachine2
ipmachine2
This is a 4 cores machine 1 + 2 cores machine 2; under the last line a blank line must be
present.
This is my hostnames.txt file (16 cores on machine 1 and 2 cores on machine 2)
Code:
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.1
192.168.1.2
192.168.1.2
I'm attaching some pictures: 'alicegate' is the macbook pro (2 cores); 'Workstation' is the
workstation with 16 cores.
The other pictures show: on the macbook pro 100% cpu usage and network addresses; on
the workstation 100% cpu usage and fluent running