[petsc-users] HYPRE mpif77 -g error
Satish Balay
balay at mcs.anl.gov
Wed Dec 16 11:05:51 CST 2015
$ ./configure --prefix=/u/home/lcosta/.hashdist/bld/hypre/7ywg3ao4uvlv --with-blas=yes --with-blas-libs=blas --with-blas-lib-dirs=/u/home/lcosta/.hashdist/bld/blas/ga3yotglkobk/lib --with-lapack=yes --with-lapack-libs=lapack --with-lapack-lib-dirs=/u/home/lcosta/.hashdist/bld/lapack/bing2onlchtu/lib --with-MPI --with-MPI-include=/u/home/lcosta/.hashdist/bld/mpi/jrk6uiczudla/include --with-MPI-lib-dirs=/u/home/lcosta/.hashdist/bld/mpi/jrk6uiczudla/lib --with-MPI-lib=mpi --without-babel --without-mli --without-fei --without-superlu --enable-shared
I see hashdist in there - so you should probably report to hashdist mailing list
https://hashdist.github.io/
cc:ing Aron.
Satish
On Wed, 16 Dec 2015, Satish Balay wrote:
> Looks like this hypre is not built via petsc. If so - it would have used 'mpif90'
>
> $ ./configure --prefix=/scratch/balay/petsc/arch-linux2-c-debug MAKE=/usr/bin/make --libdir=/scratch/balay/petsc/arch-linux2-c-debug/lib CC="mpicc" CFLAGS="-fPIC -g3" CXX="mpicxx" CXXFLAGS="-g -fPIC" F90="mpif90" F90FLAGS="-fPIC -ffree-line-length-0 -g" F77="mpif90" FFLAGS="-fPIC -ffree-line-length-0 -g" FC="mpif90" FCFLAGS="-fPIC -ffree-line-length-0 -g" --with-MPI-include="/usr/include/mpich2" --with-MPI-lib-dirs="" --with-MPI-libs="" --with-blas-libs= --with-blas-lib-dir= --with-lapack-libs= --with-lapack-lib-dir= --with-blas=yes --with-lapack=yes --with-fmangle-blas=one-underscore --with-fmangle-lapack=one-underscore --without-babel --without-mli --without-fei --without-superlu AR="/usr/bin/ar cr"
>
> Satish
>
> On Wed, 16 Dec 2015, Barry Smith wrote:
>
> >
> > It found /site/intel/impi/4.1.3.048/intel64/bin/mpif77 to use as the Fortran compiler but that script does not work since it cannot find the g77.
> >
> >
> > configure:5671: /site/intel/impi/4.1.3.048/intel64/bin/mpif77 -c conftest.f >&5
> > /site/intel/impi/4.1.3.048/intel64/bin/mpif77: line 643: g77: command not found
> > configure:5678: $? = 127
> > configure: failed program was:
> > | subroutine foobar()
> > | return
> > | end
> > | subroutine foo_bar()
> > | return
> > | end
> > configure:5880: error: in `/u/home/lcosta/.hashdist/tmp/hypre-7ywg3ao4uvlv/src':
> > configure:5883: error: cannot compile a simple Fortran program
> >
> > Regardless in 2015 it is insane to use g77, the gfortran compiler is what you should use. You should talk to whoever maintains the MPI etc on your system.
> >
> > Barry
> >
> >
> >
> > > On Dec 16, 2015, at 8:21 AM, Costa, Luis CIV (US) <luis.costa.civ at mail.mil> wrote:
> > >
> > > I am having trouble building HYPRE on an IBM iDataPlex cluster running RHEL with Intel MPI compilers. I receive the following error:
> > >
> > > 2015/12/16 02:29:44 - INFO: [package:run_job] checking whether /site/intel/impi/4.1.3.048/intel64/bin/mpif77 accepts -g... no
> > > 2015/12/16 02:29:44 - INFO: [package:run_job] configure: WARNING: compilation failed
> > > I've attached my config.log also. Any help is appreciated.
> > >
> > > Thank you!
> > >
> > >
> > > Luis Costa
> > > Research Scientist
> > > US ARMY RDECOM-ARDEC
> > > Explosive Technology & Prototyping Division
> > > Energetics, Warheads & Manufacturing Technologies Directorate
> > > RDAR-MEE-W, Building 3022, Room 44
> > > Picatinny, NJ 07806-5000
> > > COM: 973.724.4236
> > > DSN: 880.4236
> > > CELL: 973.668.0044
> > > FAX: 973.724.4059
> > > luis.costa.civ at mail.mil
> > > <config.log>
> >
> >
>
>
More information about the petsc-users
mailing list