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

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

ndfes-3.6.0-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.6.0-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ndfes-3.6.0-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 94e44432c655285e8adfa05859eeff993db70f039dd4c6216e78eb75df2c0853
MD5 4b5e1cac4b93067461e154fd79f56381
BLAKE2b-256 9c8c39974e5192d4a4fe6312168aaedc85adf8b13d55f12ccc8c946d20840b83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ndfes-3.6.0-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3966be9043bae97cd9e9828f64d336b9936ba2b4f27ba6acbec0d45b2e075797
MD5 81b68b9d86dbaa63d61387cbdfeb41cb
BLAKE2b-256 9f52b0aec5ce357cc891fc87d72a208b9e52c245188f70cfb91761b11ffd60ed

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