{"id":18509149,"url":"https://github.com/joshisumit/rapid-hpc","last_synced_at":"2025-05-14T10:16:41.834Z","repository":{"id":31914037,"uuid":"35483231","full_name":"joshisumit/rapid-hpc","owner":"joshisumit","description":"Shell script that rapidly installs HPC on your laptop!","archived":false,"fork":false,"pushed_at":"2015-06-10T17:15:22.000Z","size":180,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-25T20:11:56.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshisumit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-12T11:04:36.000Z","updated_at":"2024-11-25T17:18:38.000Z","dependencies_parsed_at":"2022-08-25T05:41:35.231Z","dependency_job_id":null,"html_url":"https://github.com/joshisumit/rapid-hpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshisumit%2Frapid-hpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshisumit%2Frapid-hpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshisumit%2Frapid-hpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshisumit%2Frapid-hpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshisumit","download_url":"https://codeload.github.com/joshisumit/rapid-hpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239222011,"owners_count":19602542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T15:16:36.984Z","updated_at":"2025-02-17T02:24:20.502Z","avatar_url":"https://github.com/joshisumit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Rapid HPC #\n\nThis script is used for rapidly creating HPC cluster using LXC on your laptop.\n\nIf you want to test some HPC code, than you can easily check that code with the help of RapidHPC.\n\n##What we wiil do ?\n\nWe will be creating one master node and then 3 worker nodes to actually do the work.\nEverthing will be installed automatically by script.\n\n- Master Node:\n  - Hostname : master\n  - IP : 192.168.122.151 (IP may vary in your case, given by dnsmasq service)\n\n- Compute Node 1:\n  - Hostname : compute1\n  - IP : 192.168.122.152\n\n- Compute Node 2:\n  - Hostname : compute2\n  - IP : 192.168.122.153\n\n- Compute Node 3:\n  - Hostname : compute3\n  - IP : 192.168.122.154\n\n\n### Note: \n\nU can login to master/compute1/compute2/compute3 with username:`ubuntu` and password:`ubuntu`\n\nAll nodes has `cluster` user which is used for running MPI application\n\n\n## So, How to Set it up?\n\nDownload the script :\n\n    git clone https://github.com/joshisumit/rapid-hpc.git\n\n\nRun the script:\n\n     sudo bash rapid-hpc\n     \n     \n##Verify your HPC Cluster Installation\n\n\n    virsh -c lxc:/// list\n    \nYou will get following output:\n\n    Id    Name                           State\n    ----------------------------------------------------\n    5164  master                         running\n    5166  compute-1                      running\n    5169  compute-2                      running\n    5199  compute-3                      running\n \n \n###Verify Master container  \nLogin to your master node container with username 'ubuntu' and password 'ubuntu' :\n\n    virsh -c lxc:/// console master\n\nAfter logging in, Check following things in your master container:\n\n1. `cluster` user: to operate our cluster.\n2. NFS Server: to share cluster user's home directory with all compute nodes.Just check it by doing:\n\n        cat /etc/exports\n        \n        /home/cluster *(rw,sync,no_subtree_check)\n3. `/etc/hosts` file: entry for all compute nodes.\n4. Passwordless SSH: cluster user will do password less SSH login in all compute node.\n5. MPI (`mpich2`):MPI is installed, cluster will communicate with MPI.\n\n\n###Verify compute container \nLogin to your compute-1 node container with username 'ubuntu' and password 'ubuntu' :\n\n    virsh -c lxc:/// console compute-1\n\nAfter logging in, Check following things in your compute-1 container:\n\n1. `/etc/fstab` file\n2. Verify NFS share(/home/cluster) is properly mounted.If it is not mounted than mount it by running:\n    mount -a\n3. `/etc/hosts` file\n\n##Summary\n\nIf you are working with HPC, having a full blown HPC Cluster on your laptop is awesome :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshisumit%2Frapid-hpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshisumit%2Frapid-hpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshisumit%2Frapid-hpc/lists"}