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

filter_modify_dict(d, filter_keys, mod_keys)

Create a new dictionary by filtering and modifying the keys.

get_col_widths(d[, widths])

get_info_fluiddyn()

Create a dictionary of dictionaries for all FluidDyn packages.

get_info_h5py()

Create a dictionary detailing h5py installation.

get_info_hardware()

Create a dictionary for CPU information.

get_info_numpy()

Create a dictionary for numpy and linalg library information.

get_info_python()

Python information.

get_info_software()

Create a dictionary for compiler and OS information.

get_info_third_party()

Create a dictionary of dictionaries for all third party packages.

linux_distribution()

main([args])

Parse arguments and execute fluidinfo.

make_dict_about(pkg)

Make dictionary with all collected information about one package.

print_info_numpy([verbosity])

Print information about Numpy

print_sys_info([verbosity])

Print package information as a formatted table.

reset_col_width(widths)

Detect total width of the current terminal.

safe_check_output(cmd[, first_row_only])

Error-tolerant version of subprocess check output

save_sys_info([path_dir, filename])

Save all system information as a xml file.

update_dict(d1, d2)

Update dictionary with missing keys and related values.