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.3-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.3-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.3-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ndfes-3.6.3-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2204e9d3a36c0946a17f8efcf60242824e2ad7eff43fa53163c244c7ff67a4aa
MD5 8c65bbaaaf8b38c3d9b587b264246874
BLAKE2b-256 d15d81e8b016c177e51621a234147b72ad2c22ef1397bb7c350be5f821e1c132

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ndfes-3.6.3-py2.py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ce7de7d085c9f4a5cb70ad5ca332a0e1ecb93d851816018de14596c2ee8f843f
MD5 d88865b821629fa4f33a95b4f06c5694
BLAKE2b-256 88f4a926421a58048a444be1b1e0b2355bfda307fa722716a59612ddcfb53d59

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