Code Monkey home page Code Monkey logo

sstate's Introduction

sstate

sstate is a rewrite of a perl-based utility in Python, which will give the current resource state of any Slurm-based HPC cluster.

Requirements

Uses tabulate python library

Installation and Usage

Running as Python script

sstate can be run after installing the tabulate python library

pip3 install -r requirements.txt
./sstate.py

Creating a standalone executable

For environments that don't want to have a virtual environment setup nor have python libraries installed:

Install pipenv and pyinstaller

This will install pipenv and pyinstaller for your general environment

pip3 install [--user] pipenv pyinstaller

Install pipenv and pyinstaller

This will create the virtual environment, download the required libraries, and then generate a compiled version which will reside in dist/sstate

pipenv install
pipenv run pyinstaller sstate.py --onefile
./dist/sstate

sstate's People

Contributors

jacobmal avatar msbritt avatar cgbriggs avatar vnegrea avatar

Stargazers

 avatar Santiago Castro avatar

Watchers

 avatar Christopher Lilienthal avatar Jonathan Potter avatar  avatar Brock Palen avatar Santiago Castro avatar David avatar  avatar John Thiels avatar Todd Raeker avatar  avatar Malcolm Miranda avatar  avatar  avatar

Forkers

bryant1410

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.