Skip to main content

dft

Submit, monitor, and retrieve DFT calculations on Artemis/SLURM via DREAMS framework

소스 정보

저장소
lamm-mit/scienceclaw
최근 소스 활동
2026년 4월 1일 15:40
감지된 SKILL.md 언어
영어
스타
250
포크
49

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
6 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
dft
description
Submit, monitor, and retrieve DFT calculations on Artemis/SLURM via DREAMS framework
metadata
null
# DFT Skill Submit and monitor density functional theory (DFT) calculations on the Artemis HPC cluster via the SLURM scheduler. Uses the [DREAMS](https://github.com/BattModels/material_agent) framework for structured DFT workflows ([paper](https://arxiv.org/pdf/2507.14267)). ## Status: IN DEVELOPMENT ## Prerequisites - Access to Artemis HPC cluster (SLURM scheduler) - Quantum Espresso installed on the cluster - DREAMS framework configured (see `references/dreams_integration.md`) - SSH key or credentials for job submission from a login node ## Scripts ### `dft_submit.py` — Submit a relaxation/SCF job ```bash python3 {baseDir}/scripts/dft_submit.py \ --structure path/to/structure.cif \ --calc-type relax \ --format json ``` ### `dft_status.py` — Poll job status ```bash python3 {baseDir}/scripts/dft_status.py \ --job-id 12345 \ --format json ``` ### `dft_retrieve.py` — Retrieve and parse completed results ```bash python3 {baseDir}/scripts/dft_retrieve.py \ --job-id 12345 \ --format json ``` ## Parameters | Parameter | Script | Description | |-----------|--------|-------------| | `--structure` | submit | Path to CIF or POSCAR file | | `--calc-type` | submit | `relax` \| `scf` \| `vc-relax` \| `bands` | | `--job-id` | status, retrieve | SLURM job ID | | `--mp-id` | submit | Materials Project ID (fetches structure automatically) | | `--format` | all | `summary` \| `json` | | `--dry-run` | submit | Print SLURM script without submitting | | `--queue` | submit | SLURM partition: `venkvis-cpu` (default), `venkvis-largemem`, `venkvis-a100`, `venkvis-h100`, `debug` | ## Output (JSON) ### Submit ```json {"job_id": "12345", "calc_type": "relax", "structure": "LaH10", "status": "PENDING", "submit_time": "..."} ``` ### Status ```json {"job_id": "12345", "status": "RUNNING", "elapsed": "00:45:12", "node": "artemis-gpu-01"} ``` ### Retrieve ```json {"job_id": "12345", "status": "COMPLETED", "total_energy_eV": -142.38, "forces_converged": true, "relaxed_structure_cif": "...", "band_gap_eV": 0.0} ``` ## Scheduler: SLURM (sbatch), NOT PBS ## Safety - Never submit jobs from inside a compute node - Never auto-generate input files without user confirmation - Always validate structure file exists before submission
GitHub에서 보기