kenji-h / gcp-mpi-cluster Goto Github PK
View Code? Open in Web Editor NEWMPI cluster on GCP
MPI cluster on GCP
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
.
There are many become
in ansible
scripts.
Setting become
on role
looks simper.
You can set the become options per:
・playbook
・role
・task
It's good if you can specify source code to compile.
app
directory in top directoryapp
directoryapp
directorychange 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.
create firewall rules:
ssh
from only specified IPsFor 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.
I found /usr/lib64/mpich/bin/mpic++
.
Using cpp would be better than using c.
Master can get its own rank
and processor_name
.
But it stalls when sending/receiving data from slaves.
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.
create_cluster
runs ansible
scripts after terraform
.
If the server is not created yet, when executing ansible
scripts, It throws errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.