GLUE Code

GLUE Code: A framework handling communication and interfaces between scales - Published in JOSS (2022)

https://github.com/lanl/glue

Science Score: 98.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    9 of 10 committers (90.0%) from academic institutions
  • Institutional organization owner
    Organization lanl has institutional domain (www.lanl.gov)
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Materials Science Physical Sciences - 40% confidence
Last synced: 4 months ago · JSON representation

Repository

Generic Learning User Enablement Code

Basic Info
  • Host: GitHub
  • Owner: lanl
  • License: other
  • Language: Python
  • Default Branch: main
  • Size: 1.11 MB
Statistics
  • Stars: 2
  • Watchers: 5
  • Forks: 2
  • Open Issues: 1
  • Releases: 1
Created over 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

DOI

Generic Learning User Enablement Code

The Generic Learning User Enablement Code (GLUE Code) is a modular framework designed to couple different scientific applications to support use cases including multiscale methods and various forms of machine learning. The workflow was initially designed around supporting active learning as an alternative to coupled applications to support multiscale methods but has been written in a sufficiently modular way that different machine learning methods can be utilized. Application programming interfaces (API) are available for C, C++, Fortran, and Python with support for various storage formats. The code also provides direct coupling with high performance computing job schedulers such as Slurm and Flux.

Repository Structure

GLUECode_Library contains the C++ library that is meant to be linked to the coarse grain solver. This allows existing applications to couple to the GLUECode_Service with minimal code alterations.

GLUECode_Service contains the python scripts that the library communicates with and uses a combination of active learning and spawning of fine grain simulation jobs to enable and accelerate multiscale scientific applications.

Running

examples/sniffTest_serial.sh demonstrates the basic workflow to run a coupled simulation.

  1. Prepare a json file with the desired configuration for the GLUECode_Service. See docs/inputSchema.json
  2. Use GLUECode_Service/initTables.py to prepare SQL tables in the specified database.
  3. Start GLUECode_Service/alInterface.py to listen for requests from the coarse grain solver.
  4. Finally, start the coarse grain solver itself.

License

The GLUE Code is provided under a BSD-3 license. See LICENSE for more details.

© 2021. Triad National Security, LLC. All rights reserved.

This program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S. Department of Energy/National Nuclear Security Administration. All rights in the program are reserved by Triad National Security, LLC, and the U.S. Department of Energy/National Nuclear Security Administration. The Government is granted for itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license in this material to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so.

Development and questions

If you would like to contribute to the project, please clone the repo and make a pull request. If you have any questions, please contact Aleksandra Pachalieva (apachalieva@lanl.gov) or Robert Pavel (rspavel@lanl.gov).

Owner

  • Name: Los Alamos National Laboratory
  • Login: lanl
  • Kind: organization
  • Email: github-register@lanl.gov
  • Location: Los Alamos, New Mexico, USA

JOSS Publication

GLUE Code: A framework handling communication and interfaces between scales
Published
December 23, 2022
Volume 7, Issue 80, Page 4822
Authors
Aleksandra Pachalieva ORCID
Center for Non-Linear Studies, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA, Earth and Environmental Sciences (EES) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Robert S. Pavel ORCID
Computer, Computational and Statistical Sciences (CCS) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Javier E. Santos ORCID
Center for Non-Linear Studies, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA, Earth and Environmental Sciences (EES) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Abdourahmane Diaw ORCID
Fusion Energy Division, Oak Ridge National Laboratory, 1 Bethel Valley Road, Oak Ridge, TN 37831, USA
Nicholas Lubbers ORCID
Computer, Computational and Statistical Sciences (CCS) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Mohamed Mehana ORCID
Earth and Environmental Sciences (EES) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Jeffrey R. Haack ORCID
Computer, Computational and Statistical Sciences (CCS) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Hari S. Viswanathan ORCID
Earth and Environmental Sciences (EES) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Daniel Livescu ORCID
Computer, Computational and Statistical Sciences (CCS) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Timothy C. Germann ORCID
Theoretical Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Christoph Junghans ORCID
Computer, Computational and Statistical Sciences (CCS) Division, Los Alamos National Laboratory, Los Alamos, 87545 NM, USA
Editor
Daniel S. Katz ORCID
Tags
multiscale simulations active machine leanring scale-bridging ICF MD

GitHub Events

Total
Last Year

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 490
  • Total Committers: 10
  • Avg Commits per committer: 49.0
  • Development Distribution Score (DDS): 0.155
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Robert Pavel r****l@l****v 414
Abdourahmane Diaw d****w@l****v 50
Nicholas Edward Lubbers n****s@l****v 10
Aleksandra Pachalieva a****a@l****v 8
MZM m****m@l****v 3
Jeffrey Haack h****k@l****v 1
Christoph Junghans c****s@g****m 1
Abdou Diaw d****a@o****v 1
jesantos j****s@p****v 1
JavierESantos j****s@l****v 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 8
  • Total pull requests: 14
  • Average time to close issues: 16 days
  • Average time to close pull requests: 1 day
  • Total issue authors: 3
  • Total pull request authors: 4
  • Average comments per issue: 3.13
  • Average comments per pull request: 0.29
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • govarguz (5)
  • rspavel (2)
  • keipertk (1)
Pull Request Authors
  • rspavel (6)
  • apachalieva (4)
  • danielskatz (3)
  • govarguz (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

GLUECode_Service/requirements.txt pypi
  • Pillow *
  • matplotlib *
  • numpy *
  • scipy *
  • sklearn *
  • torch *
  • torchaudio *
  • torchvision *
.github/workflows/ci-sniff.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • awalsh128/cache-apt-pkgs-action latest composite