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"><<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>></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>
> I am trying to understand the binding procedure and adapt it to my implementation research on a subset of MPI.<br>
><br>
> Clara<br>
><br>
> On Fri, Jul 15, 2011 at 1:52 PM, Rajeev Thakur <<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>> wrote:<br>
> It is created automatically during configure. What exactly are you trying to do? Why do you need to create it separately by hand?<br>
><br>
> Rajeev<br>
><br>
><br>
> On Jul 15, 2011, at 12:50 PM, clara wrote:<br>
><br>
> > Thanks.<br>
> > 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, "MPI_F77_LONG" in "PARAMETER (MPI_LONG=@MPI_F77_LONG@)". And these symbolic constants are converted into constants in mpif.h.<br>
> ><br>
> > - Clara<br>
> ><br>
> > On Fri, Jul 15, 2011 at 10:28 AM, William Gropp <<a href="mailto:wgropp@illinois.edu">wgropp@illinois.edu</a>> wrote:<br>
> > 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'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>
> ><br>
> > Bill<br>
> ><br>
> ><br>
> > On 7/14/11 1:03 PM, clara wrote:<br>
> >> All source code associated with f77 binding are generated by src/binding/f77/buildiface with mpi.h as input, aren't them?<br>
> >><br>
> >> Clara<br>
> >><br>
> >> On Thu, Jul 14, 2011 at 1:52 PM, clara <<a href="mailto:clarazhang@gmail.com">clarazhang@gmail.com</a>> wrote:<br>
> >> There is a comment "This file created by buildiface" in src/binding/f77/mpif.h. Can anyone tell me how to generate the related files for f77 binding?<br>
> >> Thanks.<br>
> >><br>
> >> - Clara<br>
> >><br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> mpich-discuss mailing list<br>
> >><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>
> ><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>
><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>
><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>
<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>