Skip to content

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

License

Notifications You must be signed in to change notification settings

fghoussen/geneo4PETSc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 74.0%
  • Shell 13.5%
  • Python 8.6%
  • CMake 3.8%
  • C 0.1%