Skip to main content

Domain-specific languages and supporting tools for scientific computing

Project description

What does "VRE language" mean?

This is a Domain-Specific Language (DSL) to be used in a Virtual Research Environment. It is a computer language using domain-specific notations and abstractions rather than such commonly used in general purpose languages such as Python. For example, in our DSL there are no for-loops and classes (that are used in Python) and no workflows and workflow node objects (used in workflow DSLs). But we have objects such as atoms and molecules and semantics to perform specific operations on these.

Requirements

Domain concepts

The DSL totally depends on how we define our domain. In this VRE language, we define our domain as materials modelling domain that is a subdomain of scientific computing and has subdomains such as atomistic modeling and molecular modeling. Particularly, support of physical units by the language is a common concept for all these domains. Nevertheless, these domains can still be defined in different ways. Therefore, we base our domain definition on a set of use cases. For an example use case, look at this repository. You are welcome to contribute with further uses cases and extend the VRE language.

Requirements from the community and the target platform

Apart from the domain-specific notations, our VRE language has to satisfy further requirements.

Full life cycle of modeling, simulation and data analysis

A model should be accessible and extensible dynamically, at any time. This is what we call persistence and dynamics of the model. To satisfy this requirement, we connect the interpreter to a workflow management system equipped with a database.

Jupyter front-end system

This poses a challenge for models with persistence and on the other hand a new Jupyter kernel with the VRE language interpreter had to be developed. Currently, VRE Language includes a full fledged Jupyter kernel that can be used in Jupyter Console, Jupyter Notebook and Jupyter Lab.

Transparent workflow management system and workload management system

This is not obvious and also not trivial to implement. Particularly, notations in the program code about the granularity (which statements belong to the same workflow node) and the computing resources needed (such as computing time, number of CPUs, memory, disk space, ...) are necessary for computational performance or other practical reasons but difficult to hide completely from the language. Currently, the workflow management system FireWorks and workload management system Slurm are supported.

Python as interpreter language

This requirement is due to the fact that a plenty of libraries (APIs) for Python in the domain already exist: the Atomic Simulation Environment (ASE), Python Materials Genomics (Pymatgen) and PyIron, to name only a few. These libraries cover the most relevant aspects of their domains but still are used in the general-purpose language Python. The use of Python implies in turn that a workflow management system and system of physical units providing Python APIs are required.

History

Originally this package has been developed in a VirtMat project.

Development status

The current developement status of the VRE language is beta. If you detect bugs or suggest missing features, you can file an issue.

If you want to use workflows for modeling and data analysis using Python in Jupyter you can use VRE middleware (currently in beta state).

Documentation

An installation guide and comprehensive documentation is provided on these pages.

Support

If you need support or have any questions about VRE Language please write a message to virtmat-tools@lists.kit.edu.

Citing the VRE Language package

If you find the VRE Language package useful in your research please cite:

Ivan Kondov, Rodrigo Cortés Mejía, Marvin Müller, Nikolai Pfisterer, Sruthy Sreenivasan
Domain Specific Language for Materials Modeling
M. Paszynski et al. (Eds.): International Conference on Computational Science (ICCS) 2025 Workshops, LNCS 15909, pp. 1–16, 2025.
https://doi.org/10.1007/978-3-031-97564-6_18

Contributing

You are welcome to contribute to VRE Language. More details can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vre_language-0.8.0.tar.gz (243.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vre_language-0.8.0-py3-none-any.whl (210.3 kB view details)

Uploaded Python 3

File details

Details for the file vre_language-0.8.0.tar.gz.

File metadata

  • Download URL: vre_language-0.8.0.tar.gz
  • Upload date:
  • Size: 243.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for vre_language-0.8.0.tar.gz
Algorithm Hash digest
SHA256 c94f0a429340fa1f77a7b401595fc36b882a4935cbe272c8abb7049f624ad431
MD5 f0831cc8b70441ec149e88a110fa9f3a
BLAKE2b-256 a9b15a57d7110b381b719fdeb0b6e4d3720d628a5e601a891ac8afc746b39a2c

See more details on using hashes here.

File details

Details for the file vre_language-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: vre_language-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 210.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for vre_language-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3d0e710e5df176ffc6f1ced8018eabb8fe76446a40cebafea356e0d7b7bbd71
MD5 3eced231805864877b4907aa877f5e80
BLAKE2b-256 a6656c2cb23a81c5a0e0111115c9accb738d201d340a0ac6470d3fcc0426d129

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page