<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/LMDZPedia/index.php?action=history&amp;feed=atom&amp;title=HowTo%3A_Print_alert_messages</id>
		<title>HowTo: Print alert messages - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/LMDZPedia/index.php?action=history&amp;feed=atom&amp;title=HowTo%3A_Print_alert_messages"/>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/LMDZPedia/index.php?title=HowTo:_Print_alert_messages&amp;action=history"/>
		<updated>2026-06-15T07:37:40Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/LMDZPedia/index.php?title=HowTo:_Print_alert_messages&amp;diff=109&amp;oldid=prev</id>
		<title>Lfairhead le 17 septembre 2021 à 11:04</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/LMDZPedia/index.php?title=HowTo:_Print_alert_messages&amp;diff=109&amp;oldid=prev"/>
				<updated>2021-09-17T11:04:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='fr'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version du 17 septembre 2021 à 11:04&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot; &gt;Ligne 32 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 32 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;in your output file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;in your output file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Catégorie:HowTo]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lfairhead</name></author>	</entry>

	<entry>
		<id>http://lmdz-forge.lmd.jussieu.fr/mediawiki/LMDZPedia/index.php?title=HowTo:_Print_alert_messages&amp;diff=108&amp;oldid=prev</id>
		<title>Lfairhead : Page créée avec « Routine 'prt_alerte' has been added to module phy_common/print_control_mod.F90 to enable developpers to print out informative messages on the first pass through physics an... »</title>
		<link rel="alternate" type="text/html" href="http://lmdz-forge.lmd.jussieu.fr/mediawiki/LMDZPedia/index.php?title=HowTo:_Print_alert_messages&amp;diff=108&amp;oldid=prev"/>
				<updated>2021-09-17T11:03:16Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « Routine &amp;#039;prt_alerte&amp;#039; has been added to module phy_common/print_control_mod.F90 to enable developpers to print out informative messages on the first pass through physics an... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Routine 'prt_alerte' has been added to module phy_common/print_control_mod.F90 to enable developpers to print out informative messages on the first pass through physics and from the master process only. This can be used to remind oneself of potential problems or further enhancements.&lt;br /&gt;
&lt;br /&gt;
Messages can be differentiated by a 'priority' code 0/1/2 (corresponding to GREEN/ORANGE/RED alerts)&lt;br /&gt;
&lt;br /&gt;
By default, the messages are output in a file called ALERTES.txt but changing the unit number to 6 in the&lt;br /&gt;
print_control_mod.F90 file allows you to print out your messages to the screen.&lt;br /&gt;
&lt;br /&gt;
To use you simply need to:&lt;br /&gt;
&lt;br /&gt;
* have this USE statement at the start of your routine: &lt;br /&gt;
&lt;br /&gt;
    USE print_control_mod, ONLY: prt_level, lunout, call_alert, prt_alerte&lt;br /&gt;
&lt;br /&gt;
* ensure that the modname variable is defined and contains the name of your routine&lt;br /&gt;
&lt;br /&gt;
then you just need to add the following lines in your routine wherever you want to ouput your message (preferably not in a do loop) &lt;br /&gt;
&lt;br /&gt;
    message='your informative message'&lt;br /&gt;
    IF (call_alert) CALL prt_alerte(message,modname,CODE)&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
    message is the message to print out&lt;br /&gt;
    modname is the routine name&lt;br /&gt;
    CODE is an integer representing your priority code (0/1/2) &lt;br /&gt;
&lt;br /&gt;
and you should get messages of the form&lt;br /&gt;
&lt;br /&gt;
    ALERTE ROUGE cva_driver! ym missing init, need to have a look by developpers&lt;br /&gt;
    ALERTE VERTE orosetup_strato! ym correction en attendant mieux&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in your output file.&lt;/div&gt;</summary>
		<author><name>Lfairhead</name></author>	</entry>

	</feed>