<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.uni-due.de/agk/index.php?action=history&amp;feed=atom&amp;title=PETSc%2Fconfig%2FBuildSystem%2Fconfig%2Fpackages%2FMPI.py</id>
	<title>PETSc/config/BuildSystem/config/packages/MPI.py - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.uni-due.de/agk/index.php?action=history&amp;feed=atom&amp;title=PETSc%2Fconfig%2FBuildSystem%2Fconfig%2Fpackages%2FMPI.py"/>
	<link rel="alternate" type="text/html" href="https://wiki.uni-due.de/agk/index.php?title=PETSc/config/BuildSystem/config/packages/MPI.py&amp;action=history"/>
	<updated>2026-04-30T05:53:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://wiki.uni-due.de/agk/index.php?title=PETSc/config/BuildSystem/config/packages/MPI.py&amp;diff=828&amp;oldid=prev</id>
		<title>Lothar.brendel: /* Patch */ 1140850688</title>
		<link rel="alternate" type="text/html" href="https://wiki.uni-due.de/agk/index.php?title=PETSc/config/BuildSystem/config/packages/MPI.py&amp;diff=828&amp;oldid=prev"/>
		<updated>2025-06-13T15:48:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Patch: &lt;/span&gt; 1140850688&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:48, 13 June 2025&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-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;MPI_Comm_f2c()&amp;lt;/code&amp;gt; expects an &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;. A failure of this check makes HAVE_MPI_COMM_F2C &amp;#039;&amp;#039;not&amp;#039;&amp;#039; being defined, which in turn activates the dubious macro &amp;lt;code&amp;gt;#define MPI_Comm_f2c(a) (a)&amp;lt;/code&amp;gt; (i.e. a substitution by the identity) in &amp;quot;conffix.h&amp;quot;, which in turns ruins the prototype in &amp;lt;mpi.h&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;MPI_Comm_f2c()&amp;lt;/code&amp;gt; expects an &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;. A failure of this check makes HAVE_MPI_COMM_F2C &amp;#039;&amp;#039;not&amp;#039;&amp;#039; being defined, which in turn activates the dubious macro &amp;lt;code&amp;gt;#define MPI_Comm_f2c(a) (a)&amp;lt;/code&amp;gt; (i.e. a substitution by the identity) in &amp;quot;conffix.h&amp;quot;, which in turns ruins the prototype in &amp;lt;mpi.h&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;Remark: The number 1140850688 (=0x44000000) is not important, it&#039;s just that [https://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2009/msg00024.html MPICH used it to mean MPI_COMM_WORLD in Fortran].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lothar.brendel</name></author>
	</entry>
	<entry>
		<id>https://wiki.uni-due.de/agk/index.php?title=PETSc/config/BuildSystem/config/packages/MPI.py&amp;diff=827&amp;oldid=prev</id>
		<title>Lothar.brendel: new</title>
		<link rel="alternate" type="text/html" href="https://wiki.uni-due.de/agk/index.php?title=PETSc/config/BuildSystem/config/packages/MPI.py&amp;diff=827&amp;oldid=prev"/>
		<updated>2025-06-13T15:38:21Z</updated>

		<summary type="html">&lt;p&gt;new&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Patch =&lt;br /&gt;
&lt;br /&gt;
  --- petsc-3.1-p8/config/BuildSystem/config/packages/MPI.py~     2025-06-13 10:40:37.944362909 +0200&lt;br /&gt;
  +++ petsc-3.1-p8/config/BuildSystem/config/packages/MPI.py      2025-06-13 10:51:54.113711183 +0200&lt;br /&gt;
  @@ -198,7 +198,7 @@&lt;br /&gt;
       oldLibs  = self.compilers.LIBS&lt;br /&gt;
       self.compilers.CPPFLAGS += &amp;#039; &amp;#039;+self.headers.toString(self.include)&lt;br /&gt;
       self.compilers.LIBS = self.libraries.toString(self.lib)+&amp;#039; &amp;#039;+self.compilers.LIBS&lt;br /&gt;
  -    if self.checkLink(&amp;#039;#include &amp;lt;mpi.h&amp;gt;\n&amp;#039;, &amp;#039;if (MPI_Comm_f2c(MPI_COMM_WORLD));\n&amp;#039;):&lt;br /&gt;
  +    if self.checkLink(&amp;#039;#include &amp;lt;mpi.h&amp;gt;\n&amp;#039;, &amp;#039;if (MPI_Comm_f2c(1140850688));\n&amp;#039;):&lt;br /&gt;
         self.commf2c = 1&lt;br /&gt;
         self.addDefine(&amp;#039;HAVE_MPI_COMM_F2C&amp;#039;, 1)&lt;br /&gt;
       if self.checkLink(&amp;#039;#include &amp;lt;mpi.h&amp;gt;\n&amp;#039;, &amp;#039;if (MPI_Comm_c2f(MPI_COMM_WORLD));\n&amp;#039;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;MPI_Comm_f2c()&amp;lt;/code&amp;gt; expects an &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;. A failure of this check makes HAVE_MPI_COMM_F2C &amp;#039;&amp;#039;not&amp;#039;&amp;#039; being defined, which in turn activates the dubious macro &amp;lt;code&amp;gt;#define MPI_Comm_f2c(a) (a)&amp;lt;/code&amp;gt; (i.e. a substitution by the identity) in &amp;quot;conffix.h&amp;quot;, which in turns ruins the prototype in &amp;lt;mpi.h&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Lothar.brendel</name></author>
	</entry>
</feed>