Install using the following command:
python -m pip install plumed
WARNING: You will need to also build and install the plumed library (see http://www.plumed.org) and make sure the file libplumedKernel.so (or libplumedKernel.dylib) is available on your system.
You should then make sure the library is found setting the environment variable PLUMED_KERNEL:
export PLUMED_KERNEL=/path/to/libplumedKernel.so python >>> import plumed >>> p=plumed.Plumed()
If you manage multiple plumed versions on your system using tcl environment modules, this should be taken care automatically by the plumed module.
Alternatively, a pure python solution is:
>>> import plumed >>> os.environ["PLUMED_KERNEL"]="/path/to/libplumedKernel.so" >>> p=plumed.Plumed()
Finally, notice that you can set the path to the plumed library directly when declaring a Plumed object:
>>> import plumed >>> p=plumed.Plumed(kernel="/path/to/libplumedKernel.so")
This will allow you to mix different plumed versions in the same python script.
CHANGES: See the PLUMED documentation.
Metadata
Release files for plumed 2.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plumed-2.10.0.tar.gz | 341.6 kB | Details |
Release files / plumed-2.10.0.tar.gz
| Download URL | plumed-2.10.0.tar.gz |
|---|---|
| Size | 341.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5568c5bd37c76c33357b399eef92c6c2c41295259a7b8055a234b4c3d69c2202
|
|
BLAKE2b-256 checksum How to use checksums |
b6ca785e676ad84cd58517c378ea901e554960f79c6b0b82f79b083b9297fc06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|