GithubHelp home page GithubHelp logo

c4ro-0 / jobage Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 1.84 MB

a job management tool for cluster scheduling systems. support: IBM Spectrum LSF Slurm Workload Manager

License: Mozilla Public License 2.0

Shell 87.26% Python 12.74%

jobage's Introduction

jobage

a job-management tool with nice printing for cluster scheduling systems. remember only one set of commands for all the systems.

author : C4r-bs


view

lsf

jbq_q

slurm

jbq_q

progress

bash zsh
lsf done done
slurm done done
PBS doing -

install

1. clone or download

git clone :

git clone https://github.com/c4rO-0/jobage.git

or

git https://gitee.com/C4r/jobage.git

download:

gitee : https://gitee.com/bsplu/scripts/repository/archive/master.zip

github : https://codeload.github.com/c4rO-0/jobage/zip/refs/heads/master

2. start to run

Temporarily working

source where_is_jobage/main.sh

Always working

add source where_is_jobage/main.sh to ~/.bashrc.

if zsh is used, add source where_is_jobage/main.sh to ~/.zsh.

Specify working path

only suggested for users having single linux account

source main.sh --jbg_prefix path

path is the specific working path, default is $HOME/.local/jobage

Debug mod

source main.sh --jbg_debug 

open debug mod. more details will be printed.

3. test

run

jbg.help

working output like

check_failed

failed output like

check_failed

please make sure that one of bqueues/squeue can run on your system.

usage

  1. all commands run like jbg.XXX
  2. run jbg.help to get a summary help information
  3. run jbg.XXX -h get a help information for the command XXX.

command available

command behavior
jbg.q quary queue information
jbg.qh quary queue history information
jbg.kill [num/grep] kill job
jbg.sub submit job
jbg.cd go to the path of job

custom

  1. on setting: copy setting file to jobage working directory:
mkdir -p "$_jobage_wPath";
cp "$_jobage_default_setting" "$_jobage_setting";
source main.sh
  1. edit setting file:
vi "$_jobage_setting";
  1. off setting (if wanted):
rm "$_jobage_setting";

todo list

-[ ] auto-generate scripts.

jobage's People

Contributors

bsplu avatar

Stargazers

 avatar Shirong_Wang avatar 范文斌 Wenbin FAN avatar

Watchers

 avatar  avatar

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.