Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] cannot compile

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] cannot compile


Chronological Thread 
  • From: Damien Caliste <caliste@pcpm.ucl.ac.be>
  • To: forum@abinit.org
  • Cc: vranjan@ncsu.edu
  • Subject: Re: [abinit-forum] cannot compile
  • Date: Wed, 19 Jul 2006 10:04:34 +0200

Hello Vivek,

I am trying to compile abinit-5.1.4 on multiprocessor IBM power4 machine.
Two things :
(i) When I run hostname it returns b1n1 and not the name@domainame. So, I
don't know if the hostname.ac file I created should be b1n1.ac or .....
The name b1n1.ac is correct. In fact, ABINIT uses 'hostname -s' which returns the name without the domain name. So b1n1 is short enough!

(ii) I have been able to compile abinit-4.6.5. So, I copied, FC, CC, etc
from the makefile_macros to the hostname.ac file and ran configure. I get
the following error message on running make :
--------------------------------------------------------------
Making all in light
mpxlf90_r -DHAVE_CONFIG_H -I. -I. -I../.. -c -o module.o
module.F90
xlf90_r: 1501-218 file module.F90 contains an incorrect file suffix
make: 1254-004 The error code from the last command is 1.
--------------------------------------------------------------
and then the program stops.
You're using xlf90, aren't you? This compiler uses non standard options and this annoys the build system. To avoid that, Yann Pouillon added a wrapper around that compiler. The build system will activate this wrapper according to the name of your compiler. So use an alias to ensure the compiler name to 'xlf90' (without _r).
When you run 'configure', in the Fortran support section, you should have two lines like these ones :
checking if we are using the IBM XL Fortran compiler... yes
configure: applying Fortran compiler tricks (type: ibm, version: 9.1)

Damien.



Archive powered by MHonArc 2.6.16.

Top of Page