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

[Documentation] Case Study: Use executorlib for task handling in a larger application

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Inizia con le API indicate nell’issue, get_future_from_file e terminate_task_in_cache, e rivedi le implementazioni nelle pull request 915 e 914. Documenta un caso di studio relativo a un’applicazione più grande che copra resource_dict={"cache_key": "foo"}, i controlli dello stato e la terminazione dei task, con esempi che mostrino questi workflow operare insieme.

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

Descrizione

documentation

excutorlib can be integrated in existing frameworks and in combination with the flux framework is can provide an efficient task scaling solution, using the available resources while not oversubscribing them. Given the background of executorlib these tasks can be distributed on a high performance computing (HPC) cluster:

  • Explain the use of external cache key in the resource dictionary: resource_dict={"cache_key": "foo"}. This enables external applications to define the key to store a given calculation in.
  • Implement a check status function based on from executorlib import get_future_from_file as implemented in https://github.com/pyiron/executorlib/pull/915 . The external application uses its cache key to check the status of a given job object.
  • Terminate a task which is no longer required using the from executorlib import terminate_task_in_cache function as implemented in https://github.com/pyiron/executorlib/pull/914 . The external application again uses its cache key to remove tasks from the backlog.
Lingua principale
Python
Stelle
77
Fork
7
Merge medio
10h 32m
PR unite (30g)
12

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 pyiron/executorlib

Tutte le issue di pyiron/executorlib

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.