Grappa: scaling irregular applications on commodity clusters
Grappa is a runtime system for scaling irregular applications on commodity clusters. It's a PGAS library and runtime system that allows you to write global-view C++11 code that runs on distributed-memory computers.
Note: all the Grappa developers have graduated and gone on to other things, so the code is no longer maintained. Bit rot has begun to set in, and you are likely to run into problems running it; hopefully our documentation will help.
You must have a 64-bit Linux system with the following installed to build Grappa:
The configure script deals with some other dependences automatically. You may want to override the default behavior for your specific system. See BUILD.md for more details.
In addition, our test and run scripts all assume your machine uses the Slurm job manager. You may still run jobs with using any other MPI launcher, but you'll have to set necessary environment variables yourself. See doc/running.md for more details.
Ensure you have the dependences described above. Then checkout the code:
git clone [email protected]:uwsampa/grappa.git
If you don't have github keys set up and get an authentication error, then try the http URL
bash git clone http://github.com/uwsampa/grappa.gitThen download Grappa's third-party dependences: http://grappa.cs.washington.edu/files/grappa-third-party-downloads.tar.
Now build grappa and hello world.
cd grappa ./configure --third-party-tarfile= cd build/Make+Release make demo-hello_world
Now you should have a binary which you can launch as an MPI job. If you have Slurm installed on your system, you may be able to run jobs like this:
srun --nodes=2 --ntasks-per-node=2 -- applications/demos/hello_world/hello_world.exe
If that doesn't work, use whatever commands are required to launch MPI jobs on your system.
For more detailed instructions on building Grappa, see BUILD.md.
To run all our tests (a lengthy process) on a system using the Slurm job manager, do
make check-all-pass. More information on testing is in doc/testing.md.
You can learn more about Grappa's design and use in four ways:
doc/directory in the repo.
We have a couple other ways to try Grappa without installing it yourself!
The best way to ask questions is to submit an issue on GitHub: by keeping questions there we can make sure the answers are easy for everyone to find. View previously-discussed issues here: https://github.com/uwsampa/grappa/issues?labels=question. If your question isn't already answered, please submit an issue there!
Grappa developers communicate through the grappa-dev mailing list hosted at cs.washington.edu.
We welcome contributions, both in the core software and (especially!) in applications. Get in touch with us if you're thinking of contributing something!