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

Rajeev Thakur thakur at mcs.anl.gov
Fri Jul 15 13:14:41 CDT 2011


All the @MPI_F77_LONG@ like things are filled in by configure. That's what GNU autoconf does.

Rajeev


On Jul 15, 2011, at 1:12 PM, 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