Pylians3 make use of these packages:
We recommend installing all packages, with the exception of openmp, with anaconda.
When facing problems installing openmp, its functionality can be disabled by removing the -fopenmp flags in the library/setup.py file.
Pylians3 can be installed in two ways:
cd library python setup.py install
cd library python setup.py build
the compiled libraries and scripts will be located in build/lib.XXX, where XXX depends on your machine. E.g. build/lib.linux-x86_64-3.7 or build/lib.macosx-10.7-x86_64-3.7
Add that folder to your PYTHONPATH in ~/.bashrc
We recommend using this method since you will know exactly where the libraries are. If you want to uninstall Pylians3 and have used this option, just delete build folder.
Note that Pylians3 works with python3. In some systems, you may need to use
python3 instead of
python when compiling the libraries.
You may need to add specific compilation flags for your system in the case the above procedure fails. For instance, for a Power9 system such as CINECA Marconi 100 you will need to add these compilations flags to
To verify that the installation was successful do
If no output is produced, everything went fine.