[petsc-users] HYPRE mpif77 -g error

Barry Smith bsmith at mcs.anl.gov
Wed Dec 16 10:52:10 CST 2015


   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