fluiddyn.util.infoï
Console script to print and save system information. (fluiddyn.util.info
)ï
Displays all important information related to software and hardware. It also includes detailed information such as currently installed FluidDyn packages, other third-party packages, C compiler, MPI and NumPy configuration.
Examplesï
>>> fluidinfo # print package, Python, software and hardware info
>>> fluidinfo -v # also print Numpy info
>>> fluidinfo -s # save all information into sys_info.xml
>>> fluidinfo -o /tmp # save all information into /tmp/sys_info.xml
Todo
Use a YAML package to print.
Functions
|
Create a new dictionary by filtering and modifying the keys. |
|
|
|
Create a dictionary of dictionaries for all FluidDyn packages. |
|
Create a dictionary detailing h5py installation. |
|
Create a dictionary for CPU information. |
|
Create a dictionary for numpy and linalg library information. |
|
Python information. |
|
Create a dictionary for compiler and OS information. |
|
Create a dictionary of dictionaries for all third party packages. |
|
|
|
Parse arguments and execute |
|
Make dictionary with all collected information about one package. |
|
Print information about Numpy |
|
Print package information as a formatted table. |
|
Detect total width of the current terminal. |
|
Error-tolerant version of subprocess check output |
|
Save all system information as a xml file. |
|
Update dictionary with missing keys and related values. |