Giter Site home page Giter Site logo

mpi-setup-scripts's Introduction

MPI-setup-scripts

Some basic scripts i used to setup a MPI cluster. Extremely targetted and 10% user friendly coz i spent more time on this fking readme than the scripts. Will generalize if i ever get time.

Config.sh

>set ethernet interface for MAC addres on line 3 slaveMAC
>set slave prefix on line 4 slaveLines
>set masterIP on line 6 masterIP
>set mpiusername on line 7 mpiuserName
>set mpiuserPass on line 8 mpiuserPass

Configures the hosts file, creates a separate user for mpi ops, sets hostname.

Usage:

Create a hosts.txt with the ip of master on the first line (dont insert blank lines because im using line numbers to get slave numbers), create a MACs.txt file with MAC address of master. Copy both of the texts and the script to the same folder. Plug pd into slave, sudo execute in terminal in pd, rinse and repeat for all slaves one by one. At the end just append the hosts.txt to your master's /etc/hosts file.... EZ GG

Setup.sh

Updates and installs required packages

TODO

Better hostname, IP and MAC resolution
Switch to commandline args
Accomodate for stupidities like reruns on the same machine.
Put in a shitload of if-else's for safety checks

mpi-setup-scripts's People

Contributors

derpimort avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.