Python software on Archer

From Thom Group Wiki
Revision as of 12:58, 29 August 2017 by Ap837 (talk | contribs) (Created page with "For running Python on work nodes on Archer, there are python-compute (native) and anaconda-compute modules available. Users are discouraged from using anaconda-compute because...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

For running Python on work nodes on Archer, there are python-compute (native) and anaconda-compute modules available. Users are discouraged from using anaconda-compute because it is not optimised for running on Archer. There are some preinstalled packages for python-compute and they begin with pc-. For installation of additional packages, virtual environments are encouraged.

For more info see: http://www.archer.ac.uk/documentation/user-guide/python.php

When compiling Python software (like PySCF) Archer by default builds all libraries as static libraries. This leads to errors like:

ImportError Cannot import name ...

Or other errors.

To prevent dynamic libraries from becoming static you must:

export CRAYPE_LINK_TYPE=dynamic

For more information see: http://www.archer.ac.uk/documentation/user-guide/development.php#sec-4.6