Error in compilation libxc

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
javad
Posts: 44
Joined: Fri Feb 28, 2014 10:23 pm

Error in compilation libxc

Post by javad » Mon Mar 16, 2015 12:19 pm

Dear yambo developers

I have a problem to compile yambo on my new pc with gfortran
I got the folling error message from the libxc compilation

Code: Select all

libtool: ignoring unknown tag F77
libtool: compile:  gfortran -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none -c libxc.f90 -o libxc_la-libxc.o
/usr/include/stdc-predef.h:1.1:
    Included at ./libxc_master.F90:1:

/* Copyright (C) 1991-2013 Free Software Foundation, Inc.
 1
Error: Invalid character in name at (1)

any idea?

regards
Javad
Javad Exirifard
IPM - Institute for Research in Fundamental Sciences
P. O. Box 19395-5746
Niavaran Square
Tehran, Iran

User avatar
Daniele Varsano
Posts: 4198
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Error in compilation libxc

Post by Daniele Varsano » Mon Mar 16, 2015 12:23 pm

Dear Javad,
It seems a preprocessor problem,
can you please post your confg.log file?
have a look also to this post
May be it can help you.

Daniele

Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

Post Reply