Re: [OMPI users] openmpi-1.8.1 Unable to compile on CentOS6.5

2014-08-26 Thread Syed Ahsan Ali
Hi Jeff and Ralph

I could have figured out the issue but the problem was that I cannot find
the exact error line in config.log just as you identified. The shared
library libquadmath is present in lib64 directory. So, adding the path to
the environment removed the error.

Thank you guys for helping me :)



On Tue, Aug 26, 2014 at 7:29 PM, Jeff Squyres (jsquyres)  wrote:

> Just to elaborate: as the error message implies, this error message was
> put there specifically to ensure that the Fortran compiler works before
> continuing any further.  If the Fortran compiler is busted, configure exits
> with this help message.
>
> You can either fix your Fortran compiler, or use --disable-mpi-fortran to
> disable all Fortran support from Open MPI (and therefore this "test whether
> the Fortran compiler works" test will be skipped).
>
> Here's the specific log section showing the failure:
>
> -
> configure:32389: checking if Fortran compiler works
> configure:32418: gfortran -o conftestconftest.f  >&5
> configure:32418: $? = 0
> configure:32418: ./conftest
> ./conftest: error while loading shared libraries: libquadmath.so.0: wrong
> ELF class: ELFCLASS32
> configure:32418: $? = 127
> configure: program exited with status 127
> configure: failed program was:
> |   program main
> |
> |   end
> configure:32434: result: no
> configure:32448: error: Could not run a simple Fortran program.  Aborting.
> -
>
>
> On Aug 26, 2014, at 10:10 AM, Ralph Castain  wrote:
>
> > Looks like there is something wrong with your gfortran install:
> >
> > *** Fortran compiler
> > checking for gfortran... gfortran
> > checking whether we are using the GNU Fortran compiler... yes
> > checking whether gfortran accepts -g... yes
> > checking whether ln -s works... yes
> > checking if Fortran compiler works... no
> > **
> > * It appears that your Fortran 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 the Open MPI build directory.
> > **
> > configure: error: Could not run a simple Fortran program.  Aborting.
> >
> >
> > FWIW: I can compile and run on my CentOS6.5 system just fine. I have
> gfortran 4.4.7 installed on it
> >
> > On Aug 26, 2014, at 2:59 AM, Syed Ahsan Ali 
> wrote:
> >
> >>
> >>
> >> I have problems in compilation of openmpi-1.8.1 on Linux machine.
> Kindly see the logs attached.
> >>
> >>
> >> ___
> >> users mailing list
> >> us...@open-mpi.org
> >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> >> Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/08/25147.php
> >
> > ___
> > users mailing list
> > us...@open-mpi.org
> > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> > Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/08/25150.php
>
>
> --
> 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
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/08/25151.php
>



-- 
Syed Ahsan Ali Bokhari
Electronic Engineer (EE)

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


Re: [OMPI users] openmpi-1.8.1 Unable to compile on CentOS6.5

2014-08-26 Thread Jeff Squyres (jsquyres)
Just to elaborate: as the error message implies, this error message was put 
there specifically to ensure that the Fortran compiler works before continuing 
any further.  If the Fortran compiler is busted, configure exits with this help 
message.

You can either fix your Fortran compiler, or use --disable-mpi-fortran to 
disable all Fortran support from Open MPI (and therefore this "test whether the 
Fortran compiler works" test will be skipped).

Here's the specific log section showing the failure:

-
configure:32389: checking if Fortran compiler works
configure:32418: gfortran -o conftestconftest.f  >&5
configure:32418: $? = 0
configure:32418: ./conftest
./conftest: error while loading shared libraries: libquadmath.so.0: wrong ELF 
class: ELFCLASS32
configure:32418: $? = 127
configure: program exited with status 127
configure: failed program was:
|   program main
|
|   end
configure:32434: result: no
configure:32448: error: Could not run a simple Fortran program.  Aborting.
-


On Aug 26, 2014, at 10:10 AM, Ralph Castain  wrote:

> Looks like there is something wrong with your gfortran install:
> 
> *** Fortran compiler
> checking for gfortran... gfortran
> checking whether we are using the GNU Fortran compiler... yes
> checking whether gfortran accepts -g... yes
> checking whether ln -s works... yes
> checking if Fortran compiler works... no
> **
> * It appears that your Fortran 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 the Open MPI build directory.
> **
> configure: error: Could not run a simple Fortran program.  Aborting.
> 
> 
> FWIW: I can compile and run on my CentOS6.5 system just fine. I have gfortran 
> 4.4.7 installed on it
> 
> On Aug 26, 2014, at 2:59 AM, Syed Ahsan Ali  wrote:
> 
>> 
>> 
>> I have problems in compilation of openmpi-1.8.1 on Linux machine. Kindly see 
>> the logs attached.
>> 
>> 
>> ___
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post: 
>> http://www.open-mpi.org/community/lists/users/2014/08/25147.php
> 
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2014/08/25150.php


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



Re: [OMPI users] openmpi-1.8.1 Unable to compile on CentOS6.5

2014-08-26 Thread Ralph Castain
Looks like there is something wrong with your gfortran install:

*** Fortran compiler
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking whether ln -s works... yes
checking if Fortran compiler works... no
**
* It appears that your Fortran 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 the Open MPI build directory.
**
configure: error: Could not run a simple Fortran program.  Aborting.


FWIW: I can compile and run on my CentOS6.5 system just fine. I have gfortran 
4.4.7 installed on it

On Aug 26, 2014, at 2:59 AM, Syed Ahsan Ali  wrote:

> 
> 
> I have problems in compilation of openmpi-1.8.1 on Linux machine. Kindly see 
> the logs attached.
>  
>  
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2014/08/25147.php



[OMPI users] openmpi-1.8.1 Unable to compile on CentOS6.5

2014-08-26 Thread Syed Ahsan Ali
I have problems in compilation of openmpi-1.8.1 on Linux machine. Kindly
see the logs attached.


configure.bz2
Description: BZip2 compressed data