<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to PMTM_finalize</title><link>https://sourceforge.net/p/ichnaea/wiki/PMTM_finalize/</link><description>Recent changes to PMTM_finalize</description><atom:link href="https://sourceforge.net/p/ichnaea/wiki/PMTM_finalize/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 30 Jan 2014 09:25:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ichnaea/wiki/PMTM_finalize/feed" rel="self" type="application/rss+xml"/><item><title>PMTM_finalize modified by Iain Miller</title><link>https://sourceforge.net/p/ichnaea/wiki/PMTM_finalize/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Iain Miller</dc:creator><pubDate>Thu, 30 Jan 2014 09:25:43 -0000</pubDate><guid>https://sourceforge.netcddbe0ebcb295b67c97163fd7d017d5ca8cf7e9a</guid></item><item><title>PMTM_finalise modified by Iain Miller</title><link>https://sourceforge.net/p/ichnaea/wiki/PMTM_finalise/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="pmtm_finalize"&gt;PMTM_finalize&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Fortran:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="k"&gt;subroutine &lt;/span&gt;&lt;span class="nv"&gt;PMTM_finalize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;err_code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Finalises all PMTM instances, writing any remaining timers to the output files before closing them and destroying all global state. Upon successful completion of this routine PMTM will be left in a state where it can be reinitialised with PMTM_init.&lt;br /&gt;
Notes This must be called before MPI_FINALIZE.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="kt"&gt;integer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;intent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;out&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="kd"&gt;::&lt;/span&gt;&lt;span class="nv"&gt;err_code&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Will be set to &lt;strong&gt;PMTM_SUCCESS&lt;/strong&gt; if the call was successful and the appropriate error code if not.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Notes:&lt;/strong&gt; OpenMP PMTM_finalize should be called outside of a parallel section or if inside by one thread only. All usage of PMTM facilities should have ceased in all threads prior to the call. A synchronisation mechanism should be applied to ensure this if it cannot be guaranteed any other way.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="n"&gt;PMTM_error_t&lt;/span&gt; &lt;span class="n"&gt;PMTM_finalize&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Iain Miller</dc:creator><pubDate>Wed, 29 Jan 2014 10:09:21 -0000</pubDate><guid>https://sourceforge.net31dea61509f4fb0778eb391686ceff5f61ab0000</guid></item></channel></rss>