Coder Social home page Coder Social logo

geneo4petsc / geneo4petsc Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 6.0 128 KB

geneo4PETSc - implementation of the GenEO preconditioner with PETSc and SLEPc.

License: GNU Lesser General Public License v3.0

CMake 3.83% C++ 73.92% Shell 13.54% Python 8.61% C 0.10%
geneo preconditioner petsc slepc

geneo4petsc's Introduction

geneo4PETSc - implementation of the GenEO preconditioner with PETSc and SLEPc.

Prerequisites:

  1. geneo4PETSc
    • CMake
    • dlopen utilities
    • Metis
    • MPI
    • Boost: Boost.MPI, Boost.Serialization
    • PETSc: configure --with-mpi=1 --download-mumps --download-scalapack ...
    • SLEPc: configure --download-arpack ...
  2. test suite
    • python: argparse, numpy, matplotlib (for test suite)
    • diff (for test suite)

Note: if not done by "module load", you need to export PKG_CONFIG_PATH/CMAKE_PREFIX_PATH (check the doc/wiki).

Note: prq.sh can help to build prerequisites (caution: export variables when script ends).
~/geneo4PETSc> ./prq.sh petsc slepc

Build and test:

~/geneo4PETSc> pip install argparse numpy matplotlib
~/geneo4PETSc> module load cmake metis mpi boost petsc slepc
~/geneo4PETSc> mkdir BUILD; cd BUILD
~/geneo4PETSc/BUILD> cmake ..; make all checkv

Note: you need to check that all prerequisites are consistent unless link may break (check the doc/wiki).

Usage:

~/geneo4PETSc/BUILD> ./src/geneo4PETSc --help

Note: in case the solver diverges, check the doc/wiki.

Examples:

Look at examples provided by the test suite.

geneo4petsc's People

Contributors

fredericn avatar wence- avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.