Provides a web frontend for cluster users to view how efficient they are in regards to use of requested resources. Provides a ranking system and graphs to help users and groups improve their usage.
- Slurm
- jobstats-cmd
- jobstats-db
- WSGI-compatible web server (gunicon recommended)
- Parent web server (nginx recommended)
- Clone and enter repository
git clone https://github.com/nauhpc/doppler.git && cd doppler
- Install dependencies
pip install -r requirements.txt
- Run WSGI server
gunicorn -w 4 app:app
- Set your web server to be a reverse-proxy for the WSGI server
NGINX:
server {
listen 80;
server_name example.org;
access_log /var/log/nginx/example.log;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Apache:
<VirtualHost *:80>
ServerName 134.114.32.210
ProxyPreserveHost on
ProxyPass "/" "http://127.0.0.1:8000"
</VirtualHost>
Reference yout WSGI server's guide for more information
Documentation is available for generation via Sphinx, with Google-style docstrings. You can generate docs by:
cd docs
make html
Reference Sphinx's documentation for more information