Skip to main content

Companion library to the ndfes C++ program for analyzing umbrella sampling

Project description

The configuration is performed with cmake. You will need cmake (version 3.12 or later installed). The installation of the python components is performed with pip.

To install cmake and update your version of pip, you can run:

USERBASE=$(python3 -m site --user-base)
USERSITE=$(python3 -m site --user-site)
export PATH="${USERBASE}/bin:${PATH}"
export PYTHONPATH="${USERSITE}:${PYTHONPATH}"
python3 -m pip install pip --upgrade --user
python3 -m pip install cmake --upgrade --user

You should consider adding the above export commands to your ${HOME}/.bashrc and then source ~/.bashrc.

If, for whatever reason, pip is unavailable on your system, you can install it using the directions here: https://pip.pypa.io/en/stable/installation/

To install ndfes:

cd build
bash ./run_cmake.sh
make install VERBOSE=1 -j4
cd ../local
export PATH="${PWD}/bin:${PATH}"
export PYTHONPATH="${PWD}/lib/python3.XX/site-packages:${PYTHONPATH}"

where python3.XX should be replaced by the appropriate python version.

ndfes has dependencies on blas/lapack and nlopt. The cmake configuration will check if these libraries are available. If they are not available, it will automatically download them from github and install them.

The blas/lapack libraries are installed from the openblas package.

https://github.com/OpenMathLib/OpenBLAS

The nlopt software is used to perform nonlinear optimizations.

https://github.com/stevengj/nlopt

These libraries could also be installed globally using your system’s package manager. For example, on Fedora, you could install them with:

sudo dnf install NLopt-devel openblas

See the contents of build/run_cmake.sh to see how you can adjust the compilers, compiler flags, python interpreter, and installation directory.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

ndfes-3.5.8-py2.py3-none-musllinux_1_2_x86_64.whl (24.3 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ x86-64

ndfes-3.5.8-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (22.3 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file ndfes-3.5.8-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ndfes-3.5.8-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1d8f7ecc0cda281caacc6ad33ec348a3342dab26a19faefa679f455fa91c0628
MD5 21179ba1fdbd858c0a87468ee9f86d61
BLAKE2b-256 f855907bcb668c83da71d05debcb76106ae3f70b381560c8bc00012a9ccf6393

See more details on using hashes here.

File details

Details for the file ndfes-3.5.8-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ndfes-3.5.8-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 53cfb248eb5ca46f4fcd7c6f695c5abe1404e5ae2da19664940cf8ae93d6306a
MD5 0344abf17afb3232dbae19100e351d5f
BLAKE2b-256 3ef6405024a27e937f730dcce8b8abc8229b0cdb6d24df064b7eec3f18d3c9f3

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