Re: [OMPI users] configure: error: Could not run a simple Fortran 77 program. Aborting.

2013-02-01 Thread Jeff Squyres (jsquyres)
What is happening is that configure is trying to compile and run a fortran test 
with gfortran and it is failing because it can't find libgfortran.so.3.  Here's 
the relevant lines from config.log:

-
configure:28735: gfortran -o conftest   conftest.f  >&5
configure:28735: $? = 0
configure:28735: ./conftest
./conftest: error while loading shared libraries: libgfortran.so.3: cannot open 
shared object file: No such file or directory
configure:28735: $? = 127
configure: program exited with status 127
configure: failed program was:
|   program main
| 
|   end
configure:28751: result: no
configure:28765: error: Could not run a simple Fortran 77 program.  Aborting.
-

Perhaps you need to set your LD_LIBRARY_PATH to point to where libgfortran is 
located?

In short: when you can run gfortran manually to compile/run trivial fortran 
programs, then configure will succeed.


On Feb 1, 2013, at 5:58 AM, Syed Ahsan Ali  wrote:

> 
> I am getting following error while bulding openmpi
>  
> *** Fortran 90/95 compiler
> checking whether we are using the GNU Fortran compiler... yes
> checking whether gfortran accepts -g... yes
> checking if Fortran 77 compiler works... no
> **
> * It appears that your Fortran 77 compiler is unable to produce working
> * executables.  A simple test application failed to properly
> * execute.  Note that this is likely not a problem with Open MPI,
> * but a problem with the local compiler installation.  More
> * information (including exactly what command was given to the
> * compiler and what error resulted when the command was executed) is
> * available in the config.log file in this directory.
> **
> configure: error: Could not run a simple Fortran 77 program.  Aborting.
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> [root@pmd openmpi-1.6.3]#
>  
> System has gfortran installed
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/




Re: [OMPI users] configure: error: Could not run a simple Fortran 77 program. Aborting.

2013-02-01 Thread Syed Ahsan Ali
Dear Jeff

Thanks for reply. You are always very helpful.

Please note that openmpi version is 1.6.3
Rest log files are attatched,
On Fri, Feb 1, 2013 at 4:51 PM, Jeff Squyres (jsquyres)
wrote:

> configure is not finding a working Fortran compiler.  Please send all the
> information listed here:
>
> http://www.open-mpi.org/community/help/
>
>
> On Feb 1, 2013, at 5:58 AM, Syed Ahsan Ali  wrote:
>
> >
> > I am getting following error while bulding openmpi
> >
> > *** Fortran 90/95 compiler
> > checking whether we are using the GNU Fortran compiler... yes
> > checking whether gfortran accepts -g... yes
> > checking if Fortran 77 compiler works... no
> > **
> > * It appears that your Fortran 77 compiler is unable to produce working
> > * executables.  A simple test application failed to properly
> > * execute.  Note that this is likely not a problem with Open MPI,
> > * but a problem with the local compiler installation.  More
> > * information (including exactly what command was given to the
> > * compiler and what error resulted when the command was executed) is
> > * available in the config.log file in this directory.
> > **
> > configure: error: Could not run a simple Fortran 77 program.  Aborting.
> > make: *** No targets specified and no makefile found.  Stop.
> > make: *** No rule to make target `install'.  Stop.
> > [root@pmd openmpi-1.6.3]#
> >
> > System has gfortran installed
> > ___
> > users mailing list
> > us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



-- 
Syed Ahsan Ali Bokhari
Electronic Engineer (EE)

Research & Development Division
Pakistan Meteorological Department H-8/4, Islamabad.
Phone # off  +92518358714
Cell # +923155145014


*
** **
** WARNING:  This email contains an attachment of a very suspicious type.  **
** You are urged NOT to open this attachment unless you are absolutely **
** sure it is legitimate.  Opening this attachment may cause irreparable   **
** damage to your computer and your files.  If you have any questions  **
** about the validity of this message, PLEASE SEEK HELP BEFORE OPENING IT. **
** **
** This warning was added by the IU Computer Science Dept. mail scanner.   **
*


<>


Re: [OMPI users] configure: error: Could not run a simple Fortran 77 program. Aborting.

2013-02-01 Thread Jeff Squyres (jsquyres)
configure is not finding a working Fortran compiler.  Please send all the 
information listed here:

http://www.open-mpi.org/community/help/


On Feb 1, 2013, at 5:58 AM, Syed Ahsan Ali  wrote:

> 
> I am getting following error while bulding openmpi
>  
> *** Fortran 90/95 compiler
> checking whether we are using the GNU Fortran compiler... yes
> checking whether gfortran accepts -g... yes
> checking if Fortran 77 compiler works... no
> **
> * It appears that your Fortran 77 compiler is unable to produce working
> * executables.  A simple test application failed to properly
> * execute.  Note that this is likely not a problem with Open MPI,
> * but a problem with the local compiler installation.  More
> * information (including exactly what command was given to the
> * compiler and what error resulted when the command was executed) is
> * available in the config.log file in this directory.
> **
> configure: error: Could not run a simple Fortran 77 program.  Aborting.
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> [root@pmd openmpi-1.6.3]#
>  
> System has gfortran installed
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/