Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Compiling AB-INIT 6.0.1?

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Compiling AB-INIT 6.0.1?


Chronological Thread 
  • From: sonu kumar <so9ukumar@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Compiling AB-INIT 6.0.1?
  • Date: Sun, 21 Feb 2010 21:03:22 +0530
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jmrxbDtpBnKT1kbbRTr8O8M3JLceLIt+yziWUot/3itBJ3ovmr1kL8k9va/CSgmkll ALzwciB+te6bRKYl6752JOEhZC8VmNexHCB9A5M5rbrjXZ0sqnTIUPvXk1BRDixqMBME Iby7QtxodknF6ooa2cg0gKbgfKKOfw+ygIeJw=

hi Yann and all ABINIT users,
 
 abi_cc_vendor="intel"
 abi_cc_version="<your_version>
 abi_cxx_vendor="intel"
 abi_cxx_version="<your_version>".
This is an ugly trick, but it might work.

This trick is not working, although i got following specification in a log file of a  run:
              === Compiler Suite ===
  C compiler       : intel11.1
  CFLAGS           :  -g   -O2 -vec-report0   |
  C++ compiler     : intel11.1
  CXXFLAGS         :  -g   -O2 -vec-report0   
  Fortran compiler : intel11.1
  FCFLAGS          :  -g  -extend-source -vec-report0
  FC_LDFLAGS       :      -i-static -static-libcxa

But i am still getting following remarks:

/home/hcg/Desktop/intel_fortran_plus_math_lib_mpi_sonu/MPI/mpich2-install/bin/mpicc -O2 -g   -O2 -vec-report0   -i-static -static-libcxa  -o timeout timeout.o 
icc: command line remark #10148: option '-static-libcxa' not supported.
............
............

ifort: command line remark #10148: option '-static-libcxa' not supported

few lines of configure script  are:

line 10147       for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
line 10148       do
                       ac_preproc_ok=false
                       for ac_c_preproc_warn_flag in '' yes
                       do
                        ....
                        .......
But these are not understandable to me. Is there any way out to get rid of this remark in 6.0.1 version?

With due regards,
Sonu kumar

Phd student
Indian Institute of Technology Delhi
Delhi-110016
India
web- http://www.iitd.ac.in/





On Fri, Feb 19, 2010 at 10:35 PM, Yann Pouillon <yann.pouillon@ehu.es> wrote:
Hi,

Le Fri, 19 Feb 2010 10:21:46 +0530, sonu kumar <so9ukumar@gmail.com> a écrit :

> I seemed to  have compiled the abinit 6.0.1.
> But i have few things to ask...
>
> 1) I got a warning during "make", which is
> [...]
> icc: command line warning #10120: overriding '-msse' with '-msse3'
> icc: command line warning #10159: invalid argument for option '-m'
> icc: command line remark #10148: option '-static-libcxa' not supported
>
> is it to be worried about ?

No. This is only affecting the ability of the test suite to kill the tests
when they hang indefinitely.

The cause is a bug in Fortran compiler detection. This has been fixed in the
upcoming 6.0.2. A temporary workaround would be to add the following lines to
your <hostname>.ac:

 abi_cc_vendor="intel"
 abi_cc_version="<your_version>"
 abi_cxx_vendor="intel"
 abi_cxx_version="<your_version>"

This is an ugly trick, but it might work.

> 2) Secondly i put the optimisation flag -O2 in <hostname>.ac file for C and
> C++ compilers, but when i saw in the log file after running an example, i
> got following:
> [...]
>
> i want to assign -O2 flags to both c and c++. How can i do  it?

"./configure --help" will show you the related options:

 with_(cc|cxx|fc)_optflags

> 3)  i gota a warning in config.log as follows
>
> conftest  -g  -extend-source -vec-report0      -i-static -static-libcxa
> conftest.F90        >&5
> ifort: command line remark #10148: option '-static-libcxa' not supported
> configure:27054: $? = 0
> configure:27276: result: yes
> configure:27285: checking whether MPI is usable
> configure:27287: result: yes
> configure:27329: WARNING: disabling MPI I/O is not recommended
>
> Should one use MPI I/O?

Yes. Hopefully this situation will be satisfactorily resolved soon.

Best regards,

Yann.

--
Yann Pouillon               European Theoretical Spectroscopy Facility (ETSF)
Tel: (+34) 943 01 83 94     Centro Joxe Mari Korta, Avenida de Tolosa, 72
Fax: (+34) 943 01 83 90     20018 Donostia-San Sebastián (Gipuzkoa)
Web: http://www.etsf.es/    España



--




Archive powered by MHonArc 2.6.16.

Top of Page