Giter Club home page Giter Club logo

evostencils's Introduction

EvoStencils

EvoStencils is an open source tool for the grammar-based design of geometric multigrid methods for solving partial differential equations (PDEs) with stencil-based discretizations. With the use of grammar-guided genetic programming (GGGP) it can alter a multigrid cycle's components on each discretization level individually and is, therefore, capable of evolving algorithms whose construction has been previously impossible.

EvoStencils is purely written in Python and utilizes the DEAP framework as genetic programming backend. To automatically generate efficient implementations of a multigrid solver, EvoStencils builds upon the ExaStencils framework, which is capable of generating highly optimized and scalable solver code that utilizes the hardware resources of recent supercomputers.

EvoStencils has been developed at the Chair for System Simulation of Friedrich-Alexander University Erlangen-Nürnberg (FAU). In case you run into any troubles using EvoStencils, please contact [email protected].

Installation

Requirements: Python >= 3.6, sbt (for ExaStencils), MPI

  1. Clone and build the ExaStencils framework
git clone https://i10git.cs.fau.de/exastencils/release exastencils
cd exastencils
sbt compile
sbt assembly
  1. Install required Python packages
pip install deap sympy mpi4py
  1. Install LFA Lab (optional) Follow these instructions: https://hrittich.github.io/lfa-lab/install.html
  2. Clone EvoStencils
git clone https://github.com/jonas-schmitt/evostencils
  1. Set up the environment
cd evostencils
source ./setup.sh

Running

An example script for running an optimization can be found in the scripts folder.

python scripts/optimize.py

Publications

To refer to EvoStencils, please cite the following publications.

@inproceedings{evostencils2022,
  author = {Schmitt, Jonas and K\"{o}stler, Harald},
  title = {Evolving Generalizable Multigrid-Based Helmholtz Preconditioners with Grammar-Guided Genetic Programming},
  year = {2022},
  isbn = {9781450392372},
  publisher = {Association for Computing Machinery},
  address = {New York, NY, USA},
  url = {https://doi.org/10.1145/3512290.3528688},
  doi = {10.1145/3512290.3528688},
  booktitle = {Proceedings of the Genetic and Evolutionary Computation Conference},
  pages = {1009–1018},
  numpages = {10},
  location = {Boston, Massachusetts},
  series = {GECCO '22}
}
@article{evostencils2021,
  author={Schmitt, Jonas and Kuckuk, Sebastian and K{\"o}stler, Harald},
  title={EvoStencils: a grammar-based genetic programming approach for constructing efficient geometric multigrid methods},
  journal={Genetic Programming and Evolvable Machines},
  year={2021},
  month={Sep},
  day={03},
  issn={1573-7632},
  doi={10.1007/s10710-021-09412-w},
  url={https://doi.org/10.1007/s10710-021-09412-w}
}
@inproceedings{evostencils2020,
  author = {Schmitt, Jonas and Kuckuk, Sebastian and K\"{o}stler, Harald},
  title = {Constructing Efficient Multigrid Solvers with Genetic Programming},
  year = {2020},
  isbn = {9781450371285},
  publisher = {Association for Computing Machinery},
  address = {New York, NY, USA},
  url = {https://doi.org/10.1145/3377930.3389811},
  doi = {10.1145/3377930.3389811},
  booktitle = {Proceedings of the 2020 Genetic and Evolutionary Computation Conference},
  pages = {1012–1020},
  numpages = {9},
  location = {Canc\'{u}n, Mexico},
  series = {GECCO '20}
}

evostencils's People

Contributors

jonas-schmitt avatar dinesh-parthasarathy avatar marcoheisig avatar dh-ab93 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.