---
name: "icetDiagnostics"
section: "3"
platform: "linux"
package: "paraview"
version: "5.13.2+dfsg-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/icetDiagnostics"
---

# icetDiagnostics(3)

## NAME

**icetDiagnostics -- change diagnostic reporting level.**

## Synopsis

\#include \<IceT.h\>

| | | |
| --- | --- | --- |
| void **icetDiagnostics**( | IceTBitField | *mask* ); |

## Description

Sets what diagnostic message are printed to standard output. The messages to be printed out are defined by *mask*. *mask* consists of flags that are OR-ed together. The valid flags are:

- **ICET\_DIAG\_OFF**

   A zero flag used to indicate that no diagnostic messages are desired.

- **ICET\_DIAG\_ERRORS**

   Print messages associated with anomalous conditions.

- **ICET\_DIAG\_WARNINGS**

   Print messages associated with conditions that are unexpected or may lead to errors. Implicitly turns on **ICET\_DIAG\_ERRORS**.

- **ICET\_DIAG\_DEBUG**

   Print frequent messages concerning the status of **IceT** .Implicitly turns on **ICET\_DIAG\_ERRORS** and **ICET\_DIAG\_WARNINGS**.

- **ICET\_DIAG\_ROOT\_NODE**

   Print messages only on the node with a process rank of 0. This is the default if neither **ICET\_DIAG\_ROOT\_NODE** nor **ICET\_DIAG\_ALL\_NODES** is set.

- **ICET\_DIAG\_ALL\_NODES**

   Print messages all every nodes.

- **ICET\_DIAG\_FULL**

   Turn on all diagnostic messages on all nodes.

The default flags are **ICET\_DIAG\_ALL\_NODES** \| **ICET\_DIAG\_WARNINGS**.

## Errors

None.

## Warnings

None.

## Bugs

None known.

## Copyright

Copyright (C)2003 Sandia Corporation

Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.

This source code is released under the New BSD License.

## See Also

[*icetGetError*(3)](/icetGetError/3.md)
