Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Configure error with abinit-5.8.4

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Configure error with abinit-5.8.4


Chronological Thread 
  • From: John Barry <john_c_barry@picams.com.au>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Configure error with abinit-5.8.4
  • Date: Thu, 03 Sep 2009 22:01:31 +1000
  • Organization: PicaMS Pty Ltd

Thanks Alain,

I will give it a try.

best regards

John

Alain Jacques wrote:
4A9E7543.2020702@gmail.com" type="cite">
Hello John,

john_c_barry@picams.com.au wrote:
  
I am running CentOS on a vx50 system.  The vx50 has 8 x 4-core AMD Opteron
(Shanghai) processors in a single box.
    

Lucky bird :-)

  
	I recently downloaded abinit-5.8.4 and
tried to install it.  When I run the configure script:

./configure --enable-mpi="yes"

Configure stops with the following error:

   checking whether the C compiler works... configure: error: cannot
   run C compiled programs.
   If you meant to cross compile, use `--host'.
   See `config.log' for more details.

Does anyone know what this error means, or how I might go about correcting it?
  
    

It means that your C compiler - here mpicc - is not properly invoked or
produces broken executables ... And the "see config.log" is the right
suggestion.  Look for failed tests - conftests- outputs in that file to
understand what happens. And maybe show us the relevant part for more
specific replies.
  
Openmpi-1.2.7, gcc, gcc-c++ and gcc-gfortran are installed.
  
    

openmpi-1.2.7 should work but a bit oldish. Abinit will probably not
compile "as-is" with the stock Centos 5 openmpi/gcc - gcc-4.1.2 is too
old and buggy. My suggestion is to build your own compiler toolchain - a
gcc/gfortran-4.3.4 and openmpi-1.3.1 - before trying to compile abinit.
Maybe show us the output of mpif90 -showme, mpicc -showme, gfortran -v,
... . Check with "which gfortran" "which mpif90" ... that the right
compilers are in the PATH

Kind regards,

Alain


  
best regards

John Barry
  
    



  

-- 

Dr John C Barry
PicaMS Pty Ltd
PO Box 378, Kenmore, QLD 4069
Within Aus, ph: (07) 3720 2770, mob: 0439 673 345
International, ph: + 61 7 3720 2770, mob: + 61 439 673 345 
Email: john_c_barry@picams.com.au
Web: www.picams.com.au



Archive powered by MHonArc 2.6.16.

Top of Page