Complilation problem with yambo-4.3.0

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

Moderators: Daniele Varsano, andrea.ferretti, andrea marini, Conor Hogan, myrta gruning

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

Complilation problem with yambo-4.3.0

Postby Radha » Sat Sep 07, 2019 10:37 am

[b]Respected Sir/madam,
I am trying to install yambo-4.3.0 version but unable to install it.
with "./configure" it is configuring successfully
but while "make all" , following error shows. Please help me with this.


for target in yambo ypp a2y p2y yambo_ph ypp_ph yambo_rt ypp_rt yambo_nl ypp_nl yambo_kerr ; do rm -f "/home/magnetizer/Documents/yambo-4.3.2/bin/$target" ; make $target; if test ! -f "/home/magnetizer/Documents/yambo-4.3.2/bin/$target" ; then echo "$target build failed"; break;fi ; done
make[1]: Entering directory '/home/magnetizer/Documents/yambo-4.3.2'

>>>[Making libxc]<<<
make[2]: Entering directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc'
if test -d libxc-2.2.3 ; then \
( cd libxc-2.2.3; make ) ; fi
make[3]: Entering directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3'
make all-recursive
make[4]: Entering directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3'
Making all in build
make[5]: Entering directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3/build'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3/build'
Making all in src
make[5]: Entering directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3/src'
make all-am
make[6]: Entering directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3/src'
/bin/sh ../libtool --tag=CC --mode=compile mpiicc -DHAVE_CONFIG_H -I. -I.. -O2 -D_C_US -D_FORTRAN_US -MT special_functions.lo -MD -MP -MF .deps/special_functions.Tpo -c -o special_functions.lo special_functions.c
libtool: compile: mpiicc -DHAVE_CONFIG_H -I. -I.. -O2 -D_C_US -D_FORTRAN_US -MT special_functions.lo -MD -MP -MF .deps/special_functions.Tpo -c special_functions.c -o special_functions.o
In file included from /usr/include/math.h(420),
from /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(95),
from util.h(22),
from special_functions.c(21):
/usr/include/bits/mathcalls-helper-functions.h(21): error: identifier "_Float128" is undefined
__MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value))
^

In file included from /usr/include/math.h(420),
from /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(95),
from util.h(22),
from special_functions.c(21):
/usr/include/bits/mathcalls-helper-functions.h(25): error: identifier "_Float128" is undefined
__MATHDECL_1 (int, __signbit,, (_Mdouble_ __value))
^

In file included from /usr/include/math.h(420),
from /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(95),
from util.h(22),
from special_functions.c(21):
/usr/include/bits/mathcalls-helper-functions.h(30): error: identifier "_Float128" is undefined
__MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
^

In file included from /usr/include/math.h(420),
from /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(95),
from util.h(22),
from special_functions.c(21):
/usr/include/bits/mathcalls-helper-functions.h(33): error: identifier "_Float128" is undefined
__MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
^

In file included from /usr/include/math.h(420),
from /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(95),
from util.h(22),
from special_functions.c(21):
/usr/include/bits/mathcalls-helper-functions.h(36): error: identifier "_Float128" is undefined
__MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
^

In file included from /usr/include/math.h(420),
from /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(95),
from util.h(22),
from special_functions.c(21):
/usr/include/bits/mathcalls-helper-functions.h(39): error: identifier "_Float128" is undefined
__MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
^

In file included from /usr/include/math.h(420),
from /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(95),
from util.h(22),
from special_functions.c(21):
/usr/include/bits/mathcalls-helper-functions.h(39): error: identifier "_Float128" is undefined
__MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
^

In file included from /usr/include/math.h(420),
from /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(95),
from util.h(22),
from special_functions.c(21):
/usr/include/bits/mathcalls-helper-functions.h(42): error: identifier "_Float128" is undefined
__MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value))
^

In file included from util.h(22),
from special_functions.c(21):
/opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/include/math.h(1303): error: identifier "_LIB_VERSION_TYPE" is undefined
_LIBIMF_EXT _LIB_VERSIONIMF_TYPE _LIBIMF_PUBVAR _LIB_VERSIONIMF;
^

compilation aborted for special_functions.c (code 2)
make[6]: *** [Makefile:937: special_functions.lo] Error 1
make[6]: Leaving directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3/src'
make[5]: *** [Makefile:536: all] Error 2
make[5]: Leaving directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3/src'
make[4]: *** [Makefile:467: all-recursive] Error 1
make[4]: Leaving directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3'
make[3]: *** [Makefile:376: all] Error 2
make[3]: Leaving directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc/libxc-2.2.3'
make[2]: *** [Makefile:45: package-ready-stamp] Error 2
make[2]: Leaving directory '/home/magnetizer/Documents/yambo-4.3.2/lib/libxc'
make[1]: *** [Makefile:151: ext-libs] Error 2
make[1]: Leaving directory '/home/magnetizer/Documents/yambo-4.3.2'
yambo build failed
Radha
 
Posts: 1
Joined: Sat Sep 07, 2019 10:31 am

Re: Complilation problem with yambo-4.3.0

Postby Daniele Varsano » Sat Sep 07, 2019 11:05 am

Dear Radha,
please include your full name and affiliation. You can do once for all by filling your signature in the user profile. This is a rule of the forum.
It seems you have some problem with the used compiler (som mixing of intel and gcc?, just a guess).
Can you please post the config.log file (in order to attach in the post you need probably to rename it as config.txt).
We will have a look at it soon.
Even if not related to your problem, if you are not interested in all the project you can just compile yambo and its utility and nterface:
>make yambo interfaces ypp

Moreover, I suggest you to download a more recent verision of the code (yambo-4.4 or yambo-4.3.3) you can find them here:
https://github.com/yambo-code/yambo/wik ... -format%29

and try to assign the compilers in the configure e.g.:
./configure CC=icc FC=ifort

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/
User avatar
Daniele Varsano
 
Posts: 2018
Joined: Tue Mar 17, 2009 2:23 pm


Return to Compilation

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron