Git Product home page Git Product logo

best_slurm_partition's Introduction

BestSlurmPartition

Find a Slurm partition with the minimum delay to start your job on cluster.

  • Check for the Slurm partition with the minimum delay: sh find-best-partition -f submit.sh -o check
  • [Optional] Find and save Slurm configuration files in tmpwdir directory: sh find-best-partition -f submit.sh -o set
  • Help: sh find-best-partition -o help

You may omit the sh command if the file has the execute permission.

Sample output:

--- Error using partition: fas_gpu
--- Error using partition: bigmem
--- Error using partition: gpu
--- Error using partition: gpu_requeue
--- Error using partition: test
--- Check tmpwdir/error.log for error log

--- Waiting time to run this job on SLURM partitions sorted by time (sec)
--- 0: knl_centos7
--- 0: olveczky
--- 0: remotedesktop
--- 0: serial_requeue
--- 1: shared
--- 2: olveczkygpu
--- 360: general
--- 310497045: unrestricted

--- Find SLURM submission scripts inside tmpwdir/ folder

alt text

best_slurm_partition's People

Contributors

mmshad avatar mmshx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

best_slurm_partition's Issues

Does not work with --partition alias

Thank you for this wonderful script. Just wanted to highlight a minor issue with this script.

The command find-best-partition -f run_jupyter.sh -o check:

Works when the header for run_jupyter.sh looks like this:

#!/bin/bash
#SBATCH -p test
...

But does not work when run_jupyter.sh starts like this:

#!/bin/bash
#SBATCH --partition=test
...

You would expect the code to run fine in both cases.

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.