写作与投稿科研写作与发表FreedomIntelligence/OpenClaw-Medical-Skills写作与投稿
SL

slurm-job-script-generator

维护者 FreedomIntelligence · 最近更新 2026年4月1日

slurm-job-script-generator:生成 SLURM `sbatch` job scripts 、 sanity-check HPC resource requests (nodes,tasks,CPUs,memory,GPUs) ,用于 模拟 runs。 适合在preparing submission scripts,deciding MPI vs MPI+OpenMP layouts,standardizing `#SBATCH` directives,或 debugging job launch configuration (`sbatch`/`srun`)时使用。

OpenClawNanoClaw写作整理投稿回应slurm-job-script-generator📊 data science & toolscomputational simulation & ontologygenerate

原始来源

FreedomIntelligence/OpenClaw-Medical-Skills

https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/slurm-job-script-generator

维护者
FreedomIntelligence
许可
MIT
最近更新
2026年4月1日

技能摘要

来自 SKILL.md 的关键信息

2 min

核心说明

  • 生成 correct,copy-pasteable SLURM job script (.sbatch) ,用于 running 模拟,、 surface common configuration mistakes (bad walltime format,conflicting memory flags,oversubscription hints)。
  • python3 skills/hpc-deployment/slurm-job-script-generator/scripts/slurm_script_generator.py \ --job-name phasefield \ --time 00:10:00 \ --partition compute \ --nodes 1 \ --ntasks-per-node 8 \ --cpus-per-task 2 \ --mem 16G \ --module gcc/12 \ --module openmpi/4.1 \ -- \./simulate --config config.json。

原始文档

SKILL.md 摘录

Requirements

  • Python 3.8+
  • No external dependencies (Python standard library only)
  • Works on Linux, macOS, and Windows (script generation only)

Inputs to Gather

InputDescriptionExample
Job nameShort identifier for the jobphasefield-strong-scaling
WalltimeSLURM time limit00:30:00
PartitionCluster partition/queue (if required)compute
AccountProject/account (if required)matsim
NodesNumber of nodes to allocate2
MPI tasksTotal tasks, or tasks per node128 or 64 per node
ThreadsCPUs per task (OpenMP threads)2
Memory--mem or --mem-per-cpu (cluster policy dependent)32G
GPUsGPUs per node (optional)4
Working directoryWhere the run should execute$SLURM_SUBMIT_DIR
ModulesEnvironment modules to load (optional)gcc/12, openmpi/4.1
Run commandThe command to launch under SLURM./simulate --config cfg.json

MPI vs MPI+OpenMP layout

Rule of thumb: if you see diminishing strong-scaling efficiency at high MPI ranks, try fewer ranks with more threads per rank (and measure).

适用场景

  • 适合在preparing submission scripts,deciding MPI vs MPI+OpenMP layouts,standardizing `#SBATCH` directives,或 debugging job launch configuration (`sbatch`/`srun`)时使用。

不适用场景

  • Do not treat this catalog entry as substitute ,用于 full upstream workflow。

相关技能

相关技能

返回目录
BI
写作与投稿科研写作与发表

bio-alignment-io

bio-alignment-io:Read,write,、 convert multiple sequence alignment files ,使用 Biopython Bio.AlignIO。 支持 Clustal,PHYLIP,Sto…

OpenClawNanoClaw写作整理
FreedomIntelligence/OpenClaw-Medical-Skills查看
DO
写作与投稿科研写作与发表

doc-coauthoring

doc-coauthoring:指引 users through structured workflow ,用于 co-authoring documentation。 This workflow helps users efficient…

OpenClawNanoClaw写作整理
FreedomIntelligence/OpenClaw-Medical-Skills查看
PA
写作与投稿科研写作与发表

paper-polish-workflow

paper-polish-workflow:Systematic top-down workflow ,用于 polishing academic papers。 Structure to logic to expression ,支持 u…

Claude Code写作整理
Lylll9436/Paper-Polish-Workflow-skill查看
PP
写作与投稿科研写作与发表

ppw:abstract

Generate or optimize academic paper abstracts using the 5-sentence Farquhar formula. Supports generate-from-scratch and…

Claude Code写作整理
Lylll9436/Paper-Polish-Workflow-skill查看