icetDiagnostics(3)

πŸ’– icetDiagnostics(3) β€” IceT Reference πŸ’–

okay bestie, pull up a chair, we're talking about icetDiagnostics from the IceT manual, section 3. it's giving "control the vibes of your log output" and honestly? iconic.


✨ NAME ✨

icetDiagnostics β€” change diagnostic reporting level.

like, it literally just picks how chatty IceT is gonna be with you. πŸŽ€


🌸 Synopsis 🌸

#include <IceT.h>

void icetDiagnostics(   IceTBitField   mask  );

πŸ¦‹ Description πŸ¦‹

Sets what diagnostic messages are printed to standard output. which messages show up is decided by mask. and mask is a bunch of flags that you OR together β€” that's the whole bit, no cap.

the valid flags are, and I need you to read all of them because they all matter:

  • ICET_DIAG_OFF β€” a zero flag used to indicate that no diagnostic messages are desired. the "girl, silence" option. πŸ’€
  • ICET_DIAG_ERRORS β€” print messages associated with anomalous conditions. the messy stuff.
  • 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. this one is LOUD, it's main character energy, it will tell you everything. 😭
  • 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. so if you say nothing, it's just the rank-0 node spilling the tea. β˜•
  • ICET_DIAG_ALL_NODES β€” print messages all every nodes. every single one of them gets a turn to speak. 🫢
  • ICET_DIAG_FULL β€” turn on all diagnostic messages on all nodes. the everything-everywhere-all-at-once setting. πŸ”₯

the default flags are ICET_DIAG_ALL_NODES | ICET_DIAG_WARNINGS. write that down. ⭐


πŸ™ˆ Errors πŸ™ˆ

None.


😭 Warnings 😭

None.


πŸ’€ Bugs πŸ’€

None known.


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 🌈


and that's the whole page, bestie β€” that was the IceT Reference version of icetDiagnostics, dated August 9, 2010. slay, go forth and set your mask. πŸ’…βœ¨