[mvapich-discuss] Problem with the newest mvapich RPM spec file?

Mike Heinz michael.heinz at qlogic.com
Thu Sep 18 09:07:08 EDT 2008


Pavil,

Unfortunately, the modified spec file does not correct the behavior -
configure still tries to create an f90 version. I believe the correct
patch for configuring with gcc v3 is:

*** mvapich.spec.orig   2008-09-18 09:03:50.000000000 -0400
--- mvapich.spec.new    2008-09-18 09:04:27.000000000 -0400
***************
*** 120,126 ****
          export FC=g77
          export F77=g77
          export F90=g77
!         CONFIG_ENABLE_F90=""
      fi
      export CFLAGS="-Wall"
      export FFLAGS="-fPIC"
--- 120,126 ----
          export FC=g77
          export F77=g77
          export F90=g77
!       CONFIG_ENABLE_F90="--disable-f90"
      fi
      export CFLAGS="-Wall"
      export FFLAGS="-fPIC" 


I've tested this patch and it correctly stops configure from trying to
build mpif90.
--
Michael Heinz
Principal Engineer, Qlogic Corporation
King of Prussia, Pennsylvania

-----Original Message-----
From: Pavel Shamis [mailto:pasha at mellanox.co.il] 
Sent: Tuesday, September 09, 2008 11:03 AM
To: Dhabaleswar Panda; Mike Heinz
Cc: mvapich-discuss at cse.ohio-state.edu
Subject: RE: [mvapich-discuss] Problem with the newest mvapich RPM spec
file?


Looks that it was some issue in the spec file, can you please check the
new version :
http://www.openfabrics.org/~pasha/ofed_1_4/mvapich/mvapich-1.1.0-2977.sr
c.rpm

Thanks,
Pasha.

> -----Original Message-----
> From: Dhabaleswar Panda [mailto:panda at cse.ohio-state.edu]
> Sent: Tuesday, September 09, 2008 4:45 PM
> To: Mike Heinz; Pavel Shamis
> Cc: mvapich-discuss at cse.ohio-state.edu
> Subject: RE: [mvapich-discuss] Problem with the newest mvapich RPM 
> spec file?
> 
> Mike - Thanks for the clarification.
> 
> Pasha - Can you take a look at it.
> 
> Thanks,
> 
> DK
> 
> > Sorry, OFED 1.4. The RPM is mvapich-1.1.0-2931.src.rpm
> >
> > --
> > Michael Heinz
> > Principal Engineer, Qlogic Corporation King of Prussia, Pennsylvania
> >
> > -----Original Message-----
> > From: Dhabaleswar Panda [mailto:panda at cse.ohio-state.edu]
> > Sent: Tuesday, September 09, 2008 9:36 AM
> > To: Mike Heinz
> > Cc: mvapich-discuss at cse.ohio-state.edu; pasha at mellanox.co.il
> > Subject: Re: [mvapich-discuss] Problem with the newest mvapich RPM 
> > spec file?
> >
> > Mike,
> >
> > Are you referring to the MVAPICH RPM spec file in OFED
> 1.3.1 or OFED
> > 1.4?
> >
> > Thanks,
> >
> > DK
> >
> > On Tue, 9 Sep 2008, Mike Heinz wrote:
> >
> > > When building recent versions of the mvapich RPM, we are
> seeing the
> > > following error when compiling on systems that still have g77
> > installed:
> > >
> > > configure: error: Fortran 90 and Fortran 77 compilers are not 
> > > compatible.
> > >
> > > This was causing our automated build system to fail, even
> though the
> > > make process seems to ignore the error. This raises a couple of
> > > questions:
> > >
> > > 1. g77 doesn't support Fortran 90 as far as I know - is
> it correct
> > > to configure mpif90 to use g77?
> > > 2. Should this be an error or perhaps a warning?
> > >
> > > We can work around the error message easily enough now that we 
> > > understand it - but I'm a little concerned about distributing an 
> > > mpif90 command that won't be able to process real Fortran 90 
> > > programs
> > > - should the spec file be altered to disable Fortran 90
> in this case?
> > >
> > > --
> > > Michael Heinz
> > > Principal Engineer, Qlogic Corporation King of Prussia,
> Pennsylvania
> > >
> > > _______________________________________________
> > > mvapich-discuss mailing list
> > > mvapich-discuss at cse.ohio-state.edu
> > > http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
> > >
> >
> >
> 
> 



More information about the mvapich-discuss mailing list