Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshisumit/rapid-hpc
Shell script that rapidly installs HPC on your laptop!
https://github.com/joshisumit/rapid-hpc
Last synced: 12 days ago
JSON representation
Shell script that rapidly installs HPC on your laptop!
- Host: GitHub
- URL: https://github.com/joshisumit/rapid-hpc
- Owner: joshisumit
- Created: 2015-05-12T11:04:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-10T17:15:22.000Z (over 9 years ago)
- Last Synced: 2024-11-06T15:16:33.659Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Rapid HPC #
This script is used for rapidly creating HPC cluster using LXC on your laptop.
If you want to test some HPC code, than you can easily check that code with the help of RapidHPC.
##What we wiil do ?
We will be creating one master node and then 3 worker nodes to actually do the work.
Everthing will be installed automatically by script.- Master Node:
- Hostname : master
- IP : 192.168.122.151 (IP may vary in your case, given by dnsmasq service)- Compute Node 1:
- Hostname : compute1
- IP : 192.168.122.152- Compute Node 2:
- Hostname : compute2
- IP : 192.168.122.153- Compute Node 3:
- Hostname : compute3
- IP : 192.168.122.154### Note:
U can login to master/compute1/compute2/compute3 with username:`ubuntu` and password:`ubuntu`
All nodes has `cluster` user which is used for running MPI application
## So, How to Set it up?
Download the script :
git clone https://github.com/joshisumit/rapid-hpc.git
Run the script:
sudo bash rapid-hpc
##Verify your HPC Cluster Installationvirsh -c lxc:/// list
You will get following output:Id Name State
----------------------------------------------------
5164 master running
5166 compute-1 running
5169 compute-2 running
5199 compute-3 running
###Verify Master container
Login to your master node container with username 'ubuntu' and password 'ubuntu' :virsh -c lxc:/// console master
After logging in, Check following things in your master container:
1. `cluster` user: to operate our cluster.
2. NFS Server: to share cluster user's home directory with all compute nodes.Just check it by doing:cat /etc/exports
/home/cluster *(rw,sync,no_subtree_check)
3. `/etc/hosts` file: entry for all compute nodes.
4. Passwordless SSH: cluster user will do password less SSH login in all compute node.
5. MPI (`mpich2`):MPI is installed, cluster will communicate with MPI.###Verify compute container
Login to your compute-1 node container with username 'ubuntu' and password 'ubuntu' :virsh -c lxc:/// console compute-1
After logging in, Check following things in your compute-1 container:
1. `/etc/fstab` file
2. Verify NFS share(/home/cluster) is properly mounted.If it is not mounted than mount it by running:
mount -a
3. `/etc/hosts` file##Summary
If you are working with HPC, having a full blown HPC Cluster on your laptop is awesome :)