strucscan

strucscan: A lightweight Python-based framework for high-throughput material simulation - Published in JOSS (2022)

https://github.com/icams/strucscan

Science Score: 93.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 1 DOI reference(s) in JOSS metadata
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Mathematics Computer Science - 84% confidence
Chemistry Physical Sciences - 83% confidence
Materials Science Physical Sciences - 63% confidence
Last synced: 4 months ago · JSON representation

Repository

A lightweight python-based framework for high-throughput material simulation

Basic Info
  • Host: GitHub
  • Owner: ICAMS
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 569 KB
Statistics
  • Stars: 6
  • Watchers: 0
  • Forks: 3
  • Open Issues: 0
  • Releases: 1
Created over 3 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

Strucscan

strucscan provides a lightweight Python-based framework for high-throughput material simulation that loops over a specified list of input structures and computes a specified list of properties on compute clusters with a queueing system or on the local host. The property calculations are represented as a pipeline of successive, interdependent steps which can easily be adapted and extended. The data is stored in a human-readable data tree with flat hierarchy. Strucscan performs a series of scalable and easily extendable pre-processing and post-processing steps and compiles the results in Python dictionaries for further evaluation. strucscan comes with interfaces to the VASP software package for ab-initio calculations. The VASP software itself is not included in this distribution.

Documentation

A detailed documentation can be found here.

Installation and setup

  1. clone repository into a <directory> of your choice. Please clone 'main' branch only.
  2. cd in your cloned strucscan directory and type pip3 install .
  3. set-up ~/.strucscan resource file: copy .strucscan in your home directory and set it up according to your preferences. \ These configurations can be edited any time and are read in by strucsan at every start. \ Mandatory keys:
    • PROJECT_PATH: (str) top node of your data tree.
    • STRUCTURES_PATH: (str) top node of your structure pool.
    • RESOURCE_PATH: (str) path to configuration files for binaries, submission scripts, engines settings and further files (e.g. VASP pseudopotentials).

Optional keys: - DEBUG: (bool) enables print commands for more insight. Default is False. - STRUCT_FILE_FORMAT: (str) structure file format of your structure files. Valid values are all formats comptabile with ase.io.read method. Default is cfg. - SLEEP_TIME: (int) Time in sec that strucscan will pause before starting the next monitoring loop. Default are 60 s.

Dependencies

  • ase
  • numpy
  • scipy
  • spglib

Resource directory

The resource directory contains script templates and configurations for modules and calls that can be tailored for specific machines. Additionally, you can deposit parameters and settings for the individual engines. The resource directory is organized like this: resources ├── machineconfig │ ├── HPC1 │ │ ├── config.yaml │ │ └── machinescripts │ │ ├── queue1.sge │ │ ├── queue2.sge │ │ └── ... │ │ │ ├── HPC2 │ │ ├── config.yaml │ │ └── machinescripts │ │ ├── queue1.sge │ │ ├── queue2.sge │ │ └── ... │ │ │ └── ... │ └── engines ├── vasp │ ├── bin │ ├── settings │ └── potentials │ ├── potpaw │ ├── potpaw_PBE │ └── potpaw_GGA │ ├── another_engine │ ├── bin │ ├── settings │ └── potentials │ └── ... The machine configuration folder (machineconfig) contains the information that is required to start a serial or parallel calculation with the specific engine on the local host or to submit it do the scheduler of a compute cluster. This includes particularly modules that need to be loaded, the executable, and the queue requests in the config.yaml file as well as additional scripts that may be needed.

Example: machineconfig/example_vasp/config.yaml with parallel and serial executable of a VASP engine

VASP: parallel: | # this pipe is essential for reading multi-line entries module load vasp/mpi/5.4.4 mpirun -np $NTOTALCORES vasp_std serial: | # this pipe is essential for reading multi-line entries module load vasp/serial/5.4.4 vasp_std

Example: machineconfig/dummy/machinescripts/parallel12.sge with scheduler settings for parallel execution

```

!/bin/bash

$ -S /bin/tcsh

$ -N [JOB_NAME]

$ -l qname=parallel12.q

$ -pe mpi12 [NTOTALCORES]

$ -e $JOB_ID.err

$ -o $JOB_ID.o

$ -cwd

$ -j y

$ -R y

ipcrm --all

START=date

HOST=hostname

QNAME="parallel12"

echo "start: $START $HOSTNAME $QNAME" > start.dat

```

Starting Strucscan

You can start strucscan from the command line using: strucscan input.yaml

Several example calculations with input files are given in the notebooks in strucscan/examples.

Owner

  • Name: ICAMS
  • Login: ICAMS
  • Kind: organization
  • Location: Germany

Interdisciplinary Centre for Advanced Materials Simulation, Ruhr University Bochum

JOSS Publication

strucscan: A lightweight Python-based framework for high-throughput material simulation
Published
November 28, 2022
Volume 7, Issue 79, Page 4719
Authors
Isabel Pietka
Interdisciplinary Centre for Advanced Materials Simulation (ICAMS), Ruhr University Bochum, Bochum, Germany
Ralf Drautz
Interdisciplinary Centre for Advanced Materials Simulation (ICAMS), Ruhr University Bochum, Bochum, Germany
Thomas Hammerschmidt
Interdisciplinary Centre for Advanced Materials Simulation (ICAMS), Ruhr University Bochum, Bochum, Germany
Editor
Antonia Mey ORCID
Tags
material simulation high-throughput ab initio

GitHub Events

Total
Last Year

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 128
  • Total Committers: 2
  • Avg Commits per committer: 64.0
  • Development Distribution Score (DDS): 0.172
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
pietki8q 8****q 106
Thomas Hammerschmidt 3****m 22

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 6
  • Total pull requests: 59
  • Average time to close issues: 15 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.02
  • Merged pull requests: 51
  • 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
  • mturiansky (4)
  • wcwitt (2)
Pull Request Authors
  • pietki8q (58)
  • wcwitt (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 12 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
pypi.org: strucscan

Lightweight Python-based framework for high-throughput material simulation by ICAMS, Ruhr University Bochum

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 12 Last month
Rankings
Dependent packages count: 6.6%
Average: 20.9%
Forks count: 23.2%
Stargazers count: 23.3%
Dependent repos count: 30.6%
Maintainers (1)
Last synced: 4 months ago

Dependencies

environment.yml conda
  • ase
  • numpy
  • pandas
  • phonopy
  • python
  • scipy
  • spglib
docs/requirements.txt pypi
  • ase *
  • furo *
  • ipywidgets ==7.5
  • m2r2 *
  • nbsphinx *
  • numpy *
  • sphinx_rtd_theme *
setup.py pypi
  • ase *
  • numpy *
  • scipy *
  • spglib *
.github/workflows/github-actions-deml.yml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
.ci_support/environment.yml conda
  • ase
  • numpy
  • python
  • pyyaml