Skip to content

jfjlaros/smake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SMake

Wrapper that enables GNU Make to make use of a Slurm cluster.

Quick Start

A normal Makefile can be used by overriding the SHELL variable.

make "SHELL=./wrapper" -j 100

Alternatively, this can be set in the Makefile itself.

SHELL := ./wrapper

Job parameters

The SBATCH environment variable can be used for setting default sbatch options.

export SBATCH="--mem=1G"

Alternatively, this can be set in the Makefile itself.

export SBATCH := --mem=1G

Defaults can be overridden per rule using the SBATCH variable.

SBATCH="--mem=2G" mycommand

Local rules

Rules that start with a definition of the LOCAL variable are executed locally.

LOCAL="true" mycommand

Releases

No releases published

Packages

No packages published