Compilation problems yambo-3.3.0-rev41

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 yambo-3.3.0-rev41

Post by kopinjol » Mon May 27, 2013 12:09 am

Hi,

I get he following error message when I try to compile yambo on my linux cluster:



mod_pw_data.F (eval gcc44 -E -P -D_NETCDF_IO -D_MPI -D_DOUBLE -D_P2Y_V50 -D_linux qexml_v4.0.F > qexml_v4.0.f90) > /dev/null
(mpif90 -c -O3 -mtune=native -I /home/kbaish2/DFT-GW-Codes/Yambo/yambo-3.3.0-rev41/include -I/home/kbaish2/DFT-GW-Codes/Yambo/yambo-3.3.0-rev41/include -I/home/kbaish2/DFT-GW-Codes/Espresso/espresso-5.0.2/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-rev41/interfaces/p2y'
make: *** [interfaces] Error 2


Here is my configure line:

./configure --prefix=/home/kbaish2/DFT-GW-Codes/Yambo/yambo-3.3.0-rev41 --with-iotk=/home/kbaish2/DFT-GW-Codes/Espresso/espresso-5.0.2/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


I have attached my config.log file. Any help will be greatly appreciated.

Thanks,
kopinjol
You do not have the required permissions to view the files attached to this post.
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 yambo-3.3.0-rev41

Post by claudio » Mon May 27, 2013 8:17 am

Dear Kopinjol

there is a problem with the double precision, if you do not need it for particular reasons,
remove --enable-dp from your configure and it will works.

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 yambo-3.3.0-rev41

Post by kopinjol » Mon May 27, 2013 4:48 pm

Thanks Caludio,

I will try without the --enable-dp .

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

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

Re: Compilation problems yambo-3.3.0-rev41

Post by kopinjol » Mon May 27, 2013 8:44 pm

Hello Caludio,

It worked. Thanks for your help.

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

Post Reply