Why am I getting error "Could not run a simple Fortran 77 program. Aborting." while compilation?

Solution Verified - Updated -

Issue

  • Getting following error while compiling Fortran based software
Could not run a simple Fortran 77 program. Aborting.
  • Getting error while configuring 32 bit openmpi.
./configure --prefix=/usr/mpi/openmpi_1.6.5_32 CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.