Miscellaneous Classes

class ansys.mapdl.reader.Report(additional=None, ncol=3, text_width=79, sort=False, gpu=True)

Generate an environment and software report.

Parameters
  • additional (list(ModuleType), list(str)) – List of packages or package names to add to output information.

  • ncol (int, optional) – Number of package-columns in html table; only has effect if mode='HTML' or mode='html'. Defaults to 3.

  • text_width (int, optional) – The text width for non-HTML display modes.

  • sort (bool, optional) – Alphabetically sort the packages.

  • gpu (bool, optional) – Gather information about the GPU. Defaults to True but if experiencing rendering issues, pass False to safely generate a report.

Examples

>>> from ansys.mapdl import reader as pymapdl_reader
>>> print(pymapdl_reader.Report())
-----------------------------------------------------------------
PyMAPDL-Reader Software and Environment Report
-----------------------------------------------------------------
  Date: Sat Jun 19 14:52:00 2021 MDT
|
                OS : Linux
            CPU(s) : 16
           Machine : x86_64
      Architecture : 64bit
               RAM : 62.8 GiB
       Environment : Python
NVIDIA Corporation : GPU Vendor
NVIDIA Quadro P2000/PCIe/SSE2 : GPU Renderer
4.5.0 NVIDIA 465.27 : GPU Version
|
  Python 3.8.5 (default, May 27 2021, 13:30:53)  [GCC 9.3.0]
|
           pyvista : 0.31.1
               vtk : 9.0.1
             numpy : 1.20.3
           appdirs : 1.4.4
ansys.mapdl.reader : 0.51.dev0
              tqdm : 4.61.1
        matplotlib : 3.4.2
  ansys.mapdl.core : 0.59.dev0
             scipy : 1.6.3
-----------------------------------------------------------------