I have to support F77 either. So I need to know how MPICH2 converts <a href="http://mpif.h.in">mpif.h.in</a> into mpif.h. In my opinion, there is some piece of code in charge of transforming all symbolic constants into integers. Can you tell me where is it if you know? Thanks.<div>
<br></div><div>Clara<br><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 2:07 PM, Rajeev Thakur <span dir="ltr">&lt;<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Can you work with just the C bindings then?<br>
<font color="#888888"><br>
Rajeev<br>
</font><div><div></div><div class="h5"><br>
On Jul 15, 2011, at 12:59 PM, clara wrote:<br>
<br>
&gt; I am trying to understand the binding procedure and adapt it to my implementation research on  a subset of MPI.<br>
&gt;<br>
&gt; Clara<br>
&gt;<br>
&gt; On Fri, Jul 15, 2011 at 1:52 PM, Rajeev Thakur &lt;<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>&gt; wrote:<br>
&gt; It is created automatically during configure. What exactly are you trying to do? Why do you need to create it separately by hand?<br>
&gt;<br>
&gt; Rajeev<br>
&gt;<br>
&gt;<br>
&gt; On Jul 15, 2011, at 12:50 PM, clara wrote:<br>
&gt;<br>
&gt; &gt; Thanks.<br>
&gt; &gt; Can anyone tell me how to generate mpif.h from <a href="http://mpif.h.in" target="_blank">mpif.h.in</a>?  There are some symbolic constants in <a href="http://mpif.h.in" target="_blank">mpif.h.in</a> generated by buildiface, for example, &quot;MPI_F77_LONG&quot; in &quot;PARAMETER (MPI_LONG=@MPI_F77_LONG@)&quot;. And these symbolic constants are converted into constants in  mpif.h.<br>

&gt; &gt;<br>
&gt; &gt; - Clara<br>
&gt; &gt;<br>
&gt; &gt; On Fri, Jul 15, 2011 at 10:28 AM, William Gropp &lt;<a href="mailto:wgropp@illinois.edu">wgropp@illinois.edu</a>&gt; wrote:<br>
&gt; &gt; The file maint/updatefiles shows how buildiface is run to generate the Fortran interfaces.  There are options to buildiface to generate variations on the interfaces; though it is not yet in the distribution, I&#39;m working on a version to handle the case where Fortran INTEGERs are different in size than C ints (which some applications still want).<br>

&gt; &gt;<br>
&gt; &gt; Bill<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On 7/14/11 1:03 PM, clara wrote:<br>
&gt; &gt;&gt; All source code associated with f77 binding are generated by src/binding/f77/buildiface with mpi.h as input, aren&#39;t them?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Clara<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Thu, Jul 14, 2011 at 1:52 PM, clara &lt;<a href="mailto:clarazhang@gmail.com">clarazhang@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt; There is a comment &quot;This file created by buildiface&quot; in src/binding/f77/mpif.h. Can anyone tell me how to generate the related files for f77 binding?<br>
&gt; &gt;&gt; Thanks.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; - Clara<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; mpich-discuss mailing list<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
&gt; &gt;&gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; mpich-discuss mailing list<br>
&gt; &gt; <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
&gt; &gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mpich-discuss mailing list<br>
&gt; <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
&gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mpich-discuss mailing list<br>
&gt; <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
&gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></div></blockquote></div><br></div>