Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CP2K: register the code, with a first editor, input generator and parser (periodic DFT+U geometry optimisation)

Aperta
#329 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
hpc

Direzione di ricerca

This is a multi-stage feature, so start by reading how an existing code is registered: the EDML files under scripts/codereg and the code lists, then the sh job scripts that launch cp2k.psmp or cp2k.ssmp. Stages two to four (editor, input generator, output parser) each need the existing editor and parser patterns for another code. Done means the first-case calculation is generated, run and parsed on the test cell, which the issue asks to be built from a real job.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

CP2K is one of the target codes, but ECCE has no CP2K support yet: there is no code registration (EDML, scripts/codereg), no input generator, and no output parser. The Builder already opens with the lattice tools for periodic codes (#300).

First case

A periodic geometry optimisation with Quickstep:

  • GPW, MOLOPT basis sets and GTH pseudopotentials, with the basis and potential files given by name
  • PBE, with D3 dispersion
  • DFT+U on a transition-metal site
  • UKS, with charge and multiplicity set
  • OT SCF
  • periodic in XYZ, with the cell taken from the Builder lattice
  • coordinates written into the input or a PDB coordinate file

Stages

  1. Code registration. CP2K in Register Machines and in the code lists, run as cp2k.psmp (MPI) or cp2k.ssmp, through the sh job scripts.
  2. Calculation editor for the first case: run type (ENERGY, GEO_OPT, CELL_OPT), functional, basis/potential per element, charge, multiplicity, UKS, +U per element (U value and orbital), dispersion, cutoff/rel_cutoff, SCF settings, memory in GB (#77 rule).
  3. Input generator (ai.cp2k or a .tpl) writing &GLOBAL, &FORCE_EVAL/&DFT, &SUBSYS with &CELL, &COORD, &KIND, and &MOTION for optimisations.
  4. Output parsing: total energy, SCF and optimisation progress (Organizer progress, #284), final geometry from the -pos-1.xyz trajectory, cell, Mulliken charges, spin moments.
  5. Test set: a small cell derived from a real job (no third-party research data in the repo), run on niobium and on Kebnekaise.

Later

MD (NVT/NPT), CELL_OPT, vibrational analysis, QM/MM (FIST), restart from .wfn.

Lingua principale
C
Stelle
10
Fork
8
Merge medio
21m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FriendsofECCE/ECCE

Tutte le issue di FriendsofECCE/ECCE

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.