Skip to content
/ mrcpp Public
forked from MRChemSoft/mrcpp

MultiResolution Computation Program Package

License

Notifications You must be signed in to change notification settings

stigrj/mrcpp

This branch is 18 commits behind MRChemSoft/mrcpp:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2f05eee · Feb 20, 2025
Oct 8, 2021
Sep 9, 2019
Feb 4, 2025
Aug 5, 2024
Jan 24, 2025
Feb 7, 2025
Jan 24, 2025
Aug 18, 2023
Jul 19, 2019
Nov 20, 2023
Feb 20, 2025
Feb 7, 2025
Nov 20, 2023
Mar 8, 2021
Feb 10, 2020
Mar 24, 2021
Nov 20, 2023
Oct 2, 2023
Feb 6, 2025
Oct 8, 2021
Oct 27, 2020
Sep 20, 2017
Nov 11, 2020
May 24, 2023
Mar 24, 2021
Sep 29, 2020
Mar 24, 2021

Repository files navigation

MRCPP logo

DOI License Documentation Status Build and test MRCPP CircleCI codecov

The MultiResolution Computation Program Package (MRCPP) is a general purpose numerical mathematics library based on multiresolution analysis and the multiwavelet basis which provide low-scaling algorithms as well as rigorous error control in numerical computations.

The code is being developed at the Hylleraas Centre for Quantum Molecular Sciences at UiT - The Arctic University of Norway.

User support: mrchem.slack.com

Documentation: mrcpp.readthedocs.io

Installation

For optimal performance it is recommended to build from source, as the packaged builds are quite generic without architecture specific optimizations.

From source including code examples

To build MRCPP from source with MPI+OpenMP parallelization:

$ git clone [email protected]:MRChemSoft/mrcpp.git
$ cd mrcpp
$ ./setup --prefix=<install-dir> --enable-examples --omp --mpi --cxx=<mpi-compiler> <build-dir>
$ cd <build-dir>
$ make
$ make test
$ make install

The --enable-examples will trigger compilation of the code snippets in the examples/ directory. Each example will get a separate executable under <build-dir>/bin, but these are not installed.

For more information on different kinds of builds, see installation instructions.

Using Conda

Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

To install MRCPP in a Conda environment myenv:

$ conda create -n myenv
$ conda activate myenv
$ conda install -c conda-forge mrcpp                # latest version (OpenMP only)
$ conda install -c conda-forge mrcpp=1.3.6          # tagged version (OpenMP only)
$ conda install -c conda-forge mrcpp=*=*openmpi*    # latest version (MPI+OpenMP)
$ conda install -c conda-forge mrcpp=*=*mpich*      # latest version (MPI+OpenMP)

To list all available versions

$ conda search -c conda-forge mrcpp

Using Spack

To install MRCPP in a Spack environment myenv:

$ spack env create myenv
$ spack env activate myenv
$ spack install mrcpp                               # latest version (MPI+OpenMP)
$ spack install mrcpp @1.3.6                        # tagged version (MPI+OpenMP)
$ spack install mrcpp -mpi                          # latest version (OpenMP only)

For information on available Spack builds:

$ spack info mrcpp

Using EasyBuild

To install MRCPP in an EasyBuild/Lmod environment (only MPI+OpenMP version available):

$ eb MRCPP-<version>-<toolchain> --fetch
$ eb MRCPP-<version>-<toolchain> --robot
$ module load MRCPP/<version>-<toolchain>

See EasyBuild for available <versions> and <toolchains>.

About

MultiResolution Computation Program Package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.9%
  • CMake 3.4%
  • Python 3.1%
  • Shell 0.6%