Compiling error
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
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
-
- Posts: 18
- Joined: Sun Mar 10, 2013 11:16 am
Compiling error
Dear all
I am trying to install yambo-3.4.1 in ubuntu 14.04 LTS (gnu fortran 95 compiler, version gfortran 4:4.8.2-1ubuntu6), and I got the compiling error (attached file) in make yambo.
Is there a way to avoid this error?
Thank you in advance
Karim
I am trying to install yambo-3.4.1 in ubuntu 14.04 LTS (gnu fortran 95 compiler, version gfortran 4:4.8.2-1ubuntu6), and I got the compiling error (attached file) in make yambo.
Is there a way to avoid this error?
Thank you in advance
Karim
You do not have the required permissions to view the files attached to this post.
Dr. Karim Rezouali,
Laboratoire de Physique théorique,
Département de Physique,
Université de Béjaia,
06000, Béjaia
Laboratoire de Physique théorique,
Département de Physique,
Université de Béjaia,
06000, Béjaia
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Compiling error
Dear Karim,
it is not possible to spot the problem from your post.
Please do the following:
1) make clean_all
2) run the configure script
3) make yambo
and then post the config.log file and the error message.
Best,
Daniele
it is not possible to spot the problem from your post.
Please do the following:
1) make clean_all
2) run the configure script
3) make yambo
and then post the config.log file and the error message.
Best,
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/
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/
-
- Posts: 18
- Joined: Sun Mar 10, 2013 11:16 am
Re: Compiling error
Dear Daniele,
Please find attached the file you asked me for,
Best,
Karim
Please find attached the file you asked me for,
Best,
Karim
You do not have the required permissions to view the files attached to this post.
Dr. Karim Rezouali,
Laboratoire de Physique théorique,
Département de Physique,
Université de Béjaia,
06000, Béjaia
Laboratoire de Physique théorique,
Département de Physique,
Université de Béjaia,
06000, Béjaia
-
- Posts: 18
- Joined: Sun Mar 10, 2013 11:16 am
Re: Compiling error
Dear Daniele,
I got the following error in make yambo
>>>[Making libxc]<<<
Making all in build
Making all in src
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-2014 Free Software Foundation, Inc.
1
Error: Invalid character in name at (1)
/usr/include/stdc-predef.h:2.3:
Included at ./libxc_master.F90:1:
This file is part of the GNU C Library.
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:4.3:
Included at ./libxc_master.F90:1:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:4.39:
Included at ./libxc_master.F90:1:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:5.3:
Included at ./libxc_master.F90:1:
modify it under the terms of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:6.3:
Included at ./libxc_master.F90:1:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:6.57:
Included at ./libxc_master.F90:1:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:7.3:
Included at ./libxc_master.F90:1:
version 2.1 of the License, or (at your option) any later version.
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:9.3:
Included at ./libxc_master.F90:1:
The GNU C Library is distributed in the hope that it will be useful,
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:10.3:
Included at ./libxc_master.F90:1:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:10.29:
Included at ./libxc_master.F90:1:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:11.3:
Included at ./libxc_master.F90:1:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:12.3:
Included at ./libxc_master.F90:1:
Lesser General Public License for more details.
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:14.3:
Included at ./libxc_master.F90:1:
You should have received a copy of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:15.3:
Included at ./libxc_master.F90:1:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:15.41:
Included at ./libxc_master.F90:1:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:16.4:
Included at ./libxc_master.F90:1:
<http://www.gnu.org/licenses/>. */
1
Error: Invalid character in name at (1)
/usr/include/stdc-predef.h:21.1:
Included at ./libxc_master.F90:1:
/* This header is separate from features.h so that the compiler can
1
Error: Invalid character in name at (1)
/usr/include/stdc-predef.h:22.3:
Included at ./libxc_master.F90:1:
include it implicitly at the start of every compilation. It must
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:23.3:
Included at ./libxc_master.F90:1:
not itself include <features.h> or any other header that includes
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:24.4:
Included at ./libxc_master.F90:1:
<features.h> because the implicit include comes before any feature
1
Error: Invalid character in name at (1)
/usr/include/stdc-predef.h:25.3:
Included at ./libxc_master.F90:1:
test macros that may be defined in a source file before it first
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:26.3:
Included at ./libxc_master.F90:1:
explicitly includes a system header. GCC knows the name of this
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:27.3:
Included at ./libxc_master.F90:1:
header in order to preinclude it. */
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:29.1:
Included at ./libxc_master.F90:1:
/* glibc's intent is to support the IEC 559 math functionality, real
1
Error: Invalid character in name at (1)
Fatal Error: Error count reached limit of 25.
make[4]: *** [libxc_la-libxc.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [libs] Error 2
Karim
I got the following error in make yambo
>>>[Making libxc]<<<
Making all in build
Making all in src
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-2014 Free Software Foundation, Inc.
1
Error: Invalid character in name at (1)
/usr/include/stdc-predef.h:2.3:
Included at ./libxc_master.F90:1:
This file is part of the GNU C Library.
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:4.3:
Included at ./libxc_master.F90:1:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:4.39:
Included at ./libxc_master.F90:1:
The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:5.3:
Included at ./libxc_master.F90:1:
modify it under the terms of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:6.3:
Included at ./libxc_master.F90:1:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:6.57:
Included at ./libxc_master.F90:1:
License as published by the Free Software Foundation; either
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:7.3:
Included at ./libxc_master.F90:1:
version 2.1 of the License, or (at your option) any later version.
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:9.3:
Included at ./libxc_master.F90:1:
The GNU C Library is distributed in the hope that it will be useful,
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:10.3:
Included at ./libxc_master.F90:1:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:10.29:
Included at ./libxc_master.F90:1:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:11.3:
Included at ./libxc_master.F90:1:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:12.3:
Included at ./libxc_master.F90:1:
Lesser General Public License for more details.
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:14.3:
Included at ./libxc_master.F90:1:
You should have received a copy of the GNU Lesser General Public
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:15.3:
Included at ./libxc_master.F90:1:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:15.41:
Included at ./libxc_master.F90:1:
License along with the GNU C Library; if not, see
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:16.4:
Included at ./libxc_master.F90:1:
<http://www.gnu.org/licenses/>. */
1
Error: Invalid character in name at (1)
/usr/include/stdc-predef.h:21.1:
Included at ./libxc_master.F90:1:
/* This header is separate from features.h so that the compiler can
1
Error: Invalid character in name at (1)
/usr/include/stdc-predef.h:22.3:
Included at ./libxc_master.F90:1:
include it implicitly at the start of every compilation. It must
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:23.3:
Included at ./libxc_master.F90:1:
not itself include <features.h> or any other header that includes
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:24.4:
Included at ./libxc_master.F90:1:
<features.h> because the implicit include comes before any feature
1
Error: Invalid character in name at (1)
/usr/include/stdc-predef.h:25.3:
Included at ./libxc_master.F90:1:
test macros that may be defined in a source file before it first
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:26.3:
Included at ./libxc_master.F90:1:
explicitly includes a system header. GCC knows the name of this
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:27.3:
Included at ./libxc_master.F90:1:
header in order to preinclude it. */
1
Error: Unclassifiable statement at (1)
/usr/include/stdc-predef.h:29.1:
Included at ./libxc_master.F90:1:
/* glibc's intent is to support the IEC 559 math functionality, real
1
Error: Invalid character in name at (1)
Fatal Error: Error count reached limit of 25.
make[4]: *** [libxc_la-libxc.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [libs] Error 2
Karim
Dr. Karim Rezouali,
Laboratoire de Physique théorique,
Département de Physique,
Université de Béjaia,
06000, Béjaia
Laboratoire de Physique théorique,
Département de Physique,
Université de Béjaia,
06000, Béjaia
- Davide Sangalli
- Posts: 640
- Joined: Tue May 29, 2012 4:49 pm
- Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
- Contact:
Re: Compiling error
Dear Karim,
this is unfortunately a problem with the libxc which we include in the code but we do not develop.
We will sonn upgrade to a version which is free from this bug.
Meanwhile you can just edit your file "/usr/include/stdc-predef.h" removing all comments, i.e. all the ines lwhich are between /* comments */
Best regards,
Davide
this is unfortunately a problem with the libxc which we include in the code but we do not develop.
We will sonn upgrade to a version which is free from this bug.
Meanwhile you can just edit your file "/usr/include/stdc-predef.h" removing all comments, i.e. all the ines lwhich are between /* comments */
Best regards,
Davide
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
-
- Posts: 18
- Joined: Sun Mar 10, 2013 11:16 am
Re: Compiling error
Dear Davide,
Thank you
Best,
Karim
Thank you
Best,
Karim
Dr. Karim Rezouali,
Laboratoire de Physique théorique,
Département de Physique,
Université de Béjaia,
06000, Béjaia
Laboratoire de Physique théorique,
Département de Physique,
Université de Béjaia,
06000, Béjaia
-
- Posts: 2
- Joined: Wed Oct 01, 2014 4:33 pm
Re: Compiling error
Dear Daniel
I am trying to install yambo-3.4.1 in ubuntu 14.04 LTS
and i enounterd tha same problem that karim said.
and tried to use your instruction " removing all comments, i.e. all the ines lwhich are between /* comments */"
but the problem didn't solve!
the config.log and stdc-predef.h attached!
thanks
kazem
I am trying to install yambo-3.4.1 in ubuntu 14.04 LTS
and i enounterd tha same problem that karim said.
and tried to use your instruction " removing all comments, i.e. all the ines lwhich are between /* comments */"
but the problem didn't solve!
the config.log and stdc-predef.h attached!
thanks
kazem
You do not have the required permissions to view the files attached to this post.
seyed mohammad kazem manzoorolajdad
MS student of kharazmi university,alborz,iran
MS student of kharazmi university,alborz,iran
- Daniele Varsano
- Posts: 4198
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: Compiling error
Dear Kazem,
please fill your signature with your complete affiliation, this is a rule of the forum.
Could you please post exactly the error you encountered?
And what error you have after having removed the comment in the .h file?
Best,
Daniele
please fill your signature with your complete affiliation, this is a rule of the forum.
Could you please post exactly the error you encountered?
And what error you have after having removed the comment in the .h file?
Best,
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/
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/
- Davide Sangalli
- Posts: 640
- Joined: Tue May 29, 2012 4:49 pm
- Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
- Contact:
Re: Compiling error
Try to do
make clean_all
Then run again the configure and compile.
make clean_all
Then run again the configure and compile.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/
-
- Posts: 2
- Joined: Wed Oct 01, 2014 4:33 pm
Re: Compiling error
Dear Davide,
Thank you
Best,
kazem
Thank you
Best,
kazem
seyed mohammad kazem manzoorolajdad
MS student of kharazmi university,alborz,iran
MS student of kharazmi university,alborz,iran