Giter Site home page Giter Site logo

gcp-mpi-cluster's People

Contributors

kenji-h avatar

Watchers

 avatar

Forkers

aibrahem

gcp-mpi-cluster's Issues

make -np option configurable

You can set the number of processes when running MPI programs.

mpirun -np 10 ./main

Even when running on cluster, it would be nice if you can configure the number of processes per node, which defaults to 1.

pass program argument when compiling

It's good if you can specify source code to compile.

  • add app directory in top directory
  • user can add source code in app directory
  • user can remotely compile source code in app directory

yum loop deprecated

change to use array and remove the loop.

[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop
to supply multiple items and specifying `name: {{ item }}`, please use `name: ['emacs', 'mpich', 'mpich-devel']` and remove
the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.

network configuration

create firewall rules:

  • allow ssh from only specified IPs
  • allow all communications inside of the network

make the number of nodes configurable

For now, it only construct a cluster of a small size . But you will want to try larger size of cluster soon.
It is better to have the number of nodes configurable.

add MPI commands to PATH

Sometimes you log in a node and try command by yourself.
For this purpose, adding /usr/lib64/mpich/bin/ to PATH is a good idea.

UNREACHABLE before server launch

create_cluster runs ansible scripts after terraform.
If the server is not created yet, when executing ansible scripts, It throws errors.

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.