Compilation problems for yambo-3.3.0-rev36

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
kopinjol
Posts: 44
Joined: Thu Sep 23, 2010 6:59 pm

Compilation problems for yambo-3.3.0-rev36

Post by kopinjol » Tue Apr 16, 2013 4:18 pm

Hello everyone,

I was trying to compile the latest yambo release on our linux cluster. But I get this error message when I make :

(mpif90 -c -O3 -mtune=native -I /home/kbaish2/DFT-GW-Codes/Yambo/yambo-3.3.0-rev36/include -I/home/kbaish2/DFT-GW-Codes/Yambo/yambo-3.3.0-rev36/include -I/home/kbaish2/DFT-GW-Codes/Espresso/espresso-5.0/iotk/src qexml_v4.0.f90) > /dev/null
qexml_v4.0.f90:3277.32:

call mat_dia_inv(DIAGO,USE_LK,cd_tmp,E_real=d)
1
Error: Type mismatch in argument 'm' at (1); passed COMPLEX(4) to COMPLEX(8)
make[1]: *** [qexml_v4.0.o] Error 1
make[1]: Leaving directory `/home/kbaish2/DFT-GW-Codes/Yambo/yambo-3.3.0-rev36/interfaces/p2y'
make: *** [interfaces] Error 2


Here is my configure line:

./configure --prefix=$(pwd) --with-iotk=/home/kbaish2/DFT-GW-Codes/Espresso/espresso-5.0/iotk --with-p2y=5.0 FC=gfortran44 --enable-dp --with-netcdf-lib=/home/kbaish2/DFT-GW-Codes/netcdf-4.1.3/installation/lib --with-netcdf-include=/home/kbaish2/DFT-GW-Codes/netcdf-4.1.3/installation/include CC=gcc44 MPICC=/home/kbaish2/gcc44/openmpi-1.4.5/bin/mpicc --with-mpi=-L/home/kbaish2/gcc44/openmpi-1.4.5 --enable-msgs-comps

Could anyone point out exactly what may be going wrong?
Thanks in advance,
Kopinjol Baishya
Graduate Student,
Materials Modeling Group,
UIC
Chicago IL 60607
Kopinjol Baishya
Graduate Student,
Materials Modeling Group
Deptt of Physics,
University of Illinois,
Chicago,
IL 60607

User avatar
claudio
Posts: 456
Joined: Tue Mar 31, 2009 11:33 pm
Location: Marseille
Contact:

Re: Compilation problems for yambo-3.3.0-rev36

Post by claudio » Tue Apr 16, 2013 4:25 pm

There should be some bug with double precision,

do you need Yambo in double precision?
otherwise remove the --enable-dp option and it will work,

anyway we will fix the bug in the next release, that will appear soon

with best regards
Claudio Attaccalite
Claudio Attaccalite
[CNRS/ Aix-Marseille Université/ CINaM laborarory / TSN department
Campus de Luminy – Case 913
13288 MARSEILLE Cedex 09
web site: http://www.attaccalite.com

kopinjol
Posts: 44
Joined: Thu Sep 23, 2010 6:59 pm

Re: Compilation problems for yambo-3.3.0-rev36

Post by kopinjol » Tue Apr 16, 2013 9:32 pm

Hi,

Thank you so much for the reply. I removed the --enable-dp and it worked.

thanks again,
kopinjol
Kopinjol Baishya
Graduate Student,
Materials Modeling Group
Deptt of Physics,
University of Illinois,
Chicago,
IL 60607

Post Reply