No project description provided
Project description
Renormalizer is a python package based on tensor network states for electron-phonon quantum dynamics.
Installation
pip install renormalizer
For users who are not familiar with python, step-by-step installation guide can be found in the document.
Documentation
Primitive documentation could be found here.
Notice
Renormalizer relies on linear algebra libraries such as OpenBLAS or MKL for matrix operations. These libraries by default parallel over as many CPU cores as possible. However, we have found empirically that the calculations carried out in Renormalizer has very poor parallelism efficiency over 4 cores (see this paper). Thus, we highly recommend limiting the number of parallel CPU cores to 4 for large scale calculations and 1 for small scale tests. To do this, set the environment variable before running Python
export RENO_NUM_THREADS=1
which sets all environment variables for underlying linear algebra libraries, such as MKL_NUM_THREADS
.
After importing NumPy or Renormalizer, setting the environment variables will have no effect.
In fact, limiting the cores was once the default behavior of Renormalizer. It is later changed in this PR because Renormalizer is sometimes imported as a utility package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file renormalizer-0.0.11.tar.gz
.
File metadata
- Download URL: renormalizer-0.0.11.tar.gz
- Upload date:
- Size: 249.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fa77b9c0a4e6af81d6696e82f995cdad5536b84fd0b166a54d49296a4ae599b |
|
MD5 | f36d0562da4a98fd0a6927ced3d079f4 |
|
BLAKE2b-256 | 9f413811b98cefb697b64d7804a5840a300801f0659af985d411c604ede498e4 |