[Pw_forum] OpenMPI / QE INSTALLATION ISSUES

2010-08-19 Thread Edmund Ochieng
Hi,
I am in the process of installing Quantum espresso but, am
experiencing issues compiling my OpenMPI. I get the error "configure:
error: could not run a simple Fortran 77 program. Aborting."

Am using gcc-4.2.2 and OpenMPI-1.4.2 on CentOS-5.4. The configure
instruction isssued appears as below:
./configure --prefix=/opt/openmpi/1.4.2 --with-tm=/opt/torque/2.5.1
CC=gcc CXX=g++ F77=gfortran FC=gfortran

-- 
Regards,
EDMUND OCHIENG'.


[Pw_forum] OpenMPI / QE INSTALLATION ISSUES

2010-08-19 Thread Masoud Nahali
  Dear Edmund

Formerly I had installed PWscf on CentOS and there was not any main problem.
Please be sure that your gfortran works well and note that "--with-tm"
option is
generally only necessary if the TM headers  and libraries are not in default
compiler/linker search paths.
I have installed the Openmpi without "--with-tm".  Did you install proper
libraries on your system ?

  Best Wishes
  Masoud Nahali
  SUT


>
> Hi,
> I am in the process of installing Quantum espresso but, am
> experiencing issues compiling my OpenMPI. I get the error "configure:
> error: could not run a simple Fortran 77 program. Aborting."
>
> Am using gcc-4.2.2 and OpenMPI-1.4.2 on CentOS-5.4. The configure
> instruction isssued appears as below:
> ./configure --prefix=/opt/openmpi/1.4.2 --with-tm=/opt/torque/2.5.1
> CC=gcc CXX=g++ F77=gfortran FC=gfortran
>
>
-- next part --
An HTML attachment was scrubbed...
URL: 
http://www.democritos.it/pipermail/pw_forum/attachments/20100819/94509e82/attachment.htm
 


[Pw_forum] OpenMPI / QE INSTALLATION ISSUES

2010-08-20 Thread Edmund Ochieng
Hello,

First, I shall start by thanking Masoud for responding. However, I'd
like to mention that  the ommission of the "--with-tm" option does not
affect the compilation. This is based on two reasons:
1) The Intel compilers installed with the option included
2) I've tried running the configure command excluding the option and
all that appears is the same error which is as shown below:

*** Fortran 77 compiler
checking whether we are using the GNU Fortran 77 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.

The machine on which am carrying out the installation is a Sun Fire
X4140 which is 64-bit and has two six-core AMD processors. All
attempts to assist are greatly appreciated.

-- 
Regards,
EDMUND OCHIENG'.
MOI UNIVERSITY


[Pw_forum] OpenMPI / QE INSTALLATION ISSUES

2010-08-20 Thread Paolo Giannozzi
On Friday 20 August 2010 11:59, Edmund Ochieng wrote:

> checking if Fortran 77 compiler works... no

if configure says that your fortran 77 compiler doesn't work,
it doesn't. This is a a problem of your software, not of quantum
espresso

p.
-- 
Paolo Giannozzi, Democritos and Udine University