[mpich-discuss] problem to build MPI

Anthony Chan chan at mcs.anl.gov
Tue Feb 28 10:13:41 CST 2012


As shown in your c.txt, your configure failed (so you don't
have any Makefiles generated) as below.  The automatic chosen
pgf77 isn't working correctly in your environment.  If you couldn't
fix the portland compiler, you could choose another set Fortran compilers
by setting F77 and FC flags, e.g.

./configure F77=gfortran FC=gfortran ........

A.Chan

checking for pgf77... pgf77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether pgf77 accepts -g... no
checking whether Fortran 77 compiler accepts option -O2... no
checking how to get verbose linking output from pgf77... configure: WARNING: compilation failed

checking for Fortran 77 libraries of pgf77... 
checking whether pgf77 accepts the FLIBS found by autoconf... no
checking for valid entries in FLIBS... 
checking whether gcc links with FLIBS found by autoconf... yes
checking whether Fortran 77 and C objects are compatible... no
checking for file... file
configure: error: ****  Incompatible Fortran and C Object File Types!  ****
F77 Object File Type produced by "pgf77  " is : : cannot open ().
 C  Object File Type produced by "gcc    -O2" is : : ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped.


----- Original Message -----
> Please see attached for c.txt file that was made after MPI was
> configured.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Regards
> Mr. L. Alves.
> Meteorologist
> NWWC
> Hydrometeorological Service,
> Ministry of Agriculture.
> Hyde Park Timehri
> East Bank, Demerara
> Guyana.
> 
> 
> 
> 
> 
> 
> Be sober, be watchful.your
> adversary the devil prowls around
> like a roaring lion seeking someone to
> devour.Resist him firm in your faith.
> 
> 
> 
> ________________________________
> From: Anthony Chan <chan at mcs.anl.gov>
> To: Mr.L Alves <stanlyl84 at yahoo.com>
> Cc: mpich-discuss at mcs.anl.gov
> Sent: Friday, February 24, 2012 7:41 PM
> Subject: Re: [mpich-discuss] problem to build MPI
> 
> 
> Send us the configure output as stated in the README file.
> 
> ----- Original Message -----
> > Yes I did and it was without problem. I looked for make in the
> > filesystem but I did not find it. I was able to find configure but
> > not
> > make. in which directory can I find make? from where do I have to
> > run
> > make? what is the exact syntax for make? I see that the manuals have
> >
> > make 2>&1 | tee m.txt. Is there something missing from this? do I
> > have
> > to use the same syntax as with configure?
> > Thank you for the help and quick response.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Regards
> > Mr. L. Alves.
> > Meteorologist
> > NWWC
> > Hydrometeorological Service,
> > Ministry of Agriculture.
> > Hyde Park Timehri
> > East Bank, Demerara
> > Guyana.
> >
> >
> >
> >
> >
> >
> > Be sober, be watchful.your
> > adversary the devil prowls around
> > like a roaring lion seeking someone to
> > devour.Resist him firm in your faith.
> >
> >
> >
> > ________________________________
> > From: Anthony Chan <chan at mcs.anl.gov>
> > To: Mr.L Alves <stanlyl84 at yahoo.com>; mpich-discuss at mcs.anl.gov
> > Sent: Friday, February 24, 2012 6:29 PM
> > Subject: Re: [mpich-discuss] problem to build MPI
> >
> >
> > Did you run configure before invoking make ?
> >
> > ----- Original Message -----
> > > I am trying to build the MPI but I am having some problems.
> > > I was able to configure but when it is time to Build using
> > >
> > > make 2>&1 | tee m.txt
> > > the pc is tell me that there is no such file or directory.
> > > Grateful for your help.
> > >
> > >
> > >
> > >
> > > Regards
> > > Mr. L. Alves.
> > > Meteorologist
> > > NWWC
> > > Hydrometeorological Service,
> > > Ministry of Agriculture.
> > > Hyde Park Timehri
> > > East Bank, Demerara
> > > Guyana.
> > >
> > >
> > >
> > >
> > >
> > >
> > > Be sober, be watchful.your
> > > adversary the devil prowls around
> > > like a roaring lion seeking someone to
> > > devour.Resist him firm in your faith.
> > >
> > > _______________________________________________
> > > mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> > > To manage subscription options or unsubscribe:
> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list