[mpich-discuss] How can we generate source files corresponding to f77 binding

Dave Goodell goodell at mcs.anl.gov
Fri Jul 15 13:16:34 CDT 2011


It's handled by autoconf.  Specifically, by the config.status script.  The config.status script is generated by configure and then executed at the end of the configure step.

This is all standard autoconf knowledge, which we can't really provide on this list.  You should consult the autoconf manual for more information:

http://www.gnu.org/software/autoconf/manual/autoconf.html

-Dave

On Jul 15, 2011, at 1:12 PM CDT, clara wrote:

> I have to support F77 either. So I need to know how MPICH2 converts mpif.h.in 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.
> 
> Clara
> 
> On Fri, Jul 15, 2011 at 2:07 PM, Rajeev Thakur <thakur at mcs.anl.gov> wrote:
> Can you work with just the C bindings then?
> 
> Rajeev
> 
> On Jul 15, 2011, at 12:59 PM, clara wrote:
> 
> > I am trying to understand the binding procedure and adapt it to my implementation research on  a subset of MPI.
> >
> > Clara
> >
> > On Fri, Jul 15, 2011 at 1:52 PM, Rajeev Thakur <thakur at mcs.anl.gov> wrote:
> > It is created automatically during configure. What exactly are you trying to do? Why do you need to create it separately by hand?
> >
> > Rajeev
> >
> >
> > On Jul 15, 2011, at 12:50 PM, clara wrote:
> >
> > > Thanks.
> > > Can anyone tell me how to generate mpif.h from mpif.h.in?  There are some symbolic constants in mpif.h.in 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.
> > >
> > > - Clara
> > >
> > > On Fri, Jul 15, 2011 at 10:28 AM, William Gropp <wgropp at illinois.edu> wrote:
> > > 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).
> > >
> > > Bill
> > >
> > >
> > > On 7/14/11 1:03 PM, clara wrote:
> > >> All source code associated with f77 binding are generated by src/binding/f77/buildiface with mpi.h as input, aren't them?
> > >>
> > >> Clara
> > >>
> > >> On Thu, Jul 14, 2011 at 1:52 PM, clara <clarazhang at gmail.com> wrote:
> > >> 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?
> > >> Thanks.
> > >>
> > >> - Clara
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> mpich-discuss mailing list
> > >>
> > >> mpich-discuss at mcs.anl.gov
> > >> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> > >
> > >
> > > _______________________________________________
> > > mpich-discuss mailing list
> > > mpich-discuss at mcs.anl.gov
> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> > _______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> > _______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list