|
![]() |
For my research and teaching purposes, I conducted design of materials regularly. I also often constructed stochastic models to simulate experimental data acquired in my lab. To meet those various demands, I concluded that a personal computing facility will be useful to me. So in past several months, I began to survey and build a personal computing network with open source softwares. However, because of my poor memory, I am unable to remember what are the scripts I used to build the network and the simulation packages after several weeks working on other business. To avoid such inconveniences, I decide to create these webpages to help me maintain the computing facility in hope of simply copying and pasting relevant scripts from the webpages. In this web page, I first describe the architecture of my computing network and the building procedures of the computing network. In the next webpages, I will describe how I install some software libraries and packages, which are useful for my computing purpose. I hope these webpages will be helpful to you too by saving your time. |
II. Install Computing NetworkA Beowulf Cluster is a collection of networked computers which can be used for parallel computations. They consist of commodity hardware running open source softwares coupled with MPI (Message Passing Interface). A standard set up will consist of one master node which will control a number of slave nodes. The slave nodes are typically headless and generally all access the same files from a server.
Setting up the Ubuntu cluster machines
(B) On the computation master node (dell-m4800) :
(2) While logged in as an open mpiuser (e.g., xxyyzz), create SSH public/private key pairs, which are to be stored in the folder /home/xxyyzz/.ssh/ -->
(3) Keep the private key id_rsa intack and then copy the public key to the authorized_keys in the subdirectory on each slave node. -->
(4) Correct file permissions (This will also need to be done on the slave nodes if not sharing the home folder)
(5) Use ssh-agent to remember the password while logged in as mpiuser xxyyzz
(6) Test by logging into one of the slave nodes, while logged in as mpiuser xxyyzz This shouldn't ask for a password. If it is not working, check the known_hosts file on the master note. Keep only the newest line of host. To simplify the task, I had installed third-party softwares for ubuntu linux and open source libraries to ensure similar environment on each computing node. These software resource will be needed to support some useful open source simulation packages for my applications. |