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.6.6-py2.py3-none-musllinux_1_2_x86_64.whl (23.3 MB view details)

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

ndfes-3.6.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (21.2 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.6.6-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ndfes-3.6.6-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d7d94447b30f691e60c74ef19e369fd564f29fab50546afb341a8aeb7b71a67f
MD5 4fc6ffef33c519328a9abe5ae46f0729
BLAKE2b-256 9b5d125f4da911ffa2ab2f4b3921f512f9cff1b1166bcec4af55732f53303b89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ndfes-3.6.6-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e1d6c6f2ae9d2ff611dd3792a9345fda50a24e57f70a7eaf2cc01c9a3d8dec97
MD5 cab0d9cd026f5cedabd9bf7771f7c850
BLAKE2b-256 0aa945a411973cdea0c00bc3e63f56d669c9a4f63b9e06036e7c863d13f1f2cf

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