Page 2 of 2

Re: yyp for DOS

Posted: Wed Sep 01, 2010 9:28 pm
by kazemoor
Dear claudio
I used attached Si and also BN example you send with yambo:
when I use GfnQPdb= "none" the DOS doesn't differ from when use GfnQPdb= "E < SAVE/db.QP" .

I am really confusing . my results for qp dos is not like your results while I used just your inputs. it seems that the yambo doesn't read qp correction. How can I found that the code use qp correction?it's realy strange.

what goes wrong ? may be the code is compiled incorrectly or ...? or I should use NetCDF?

Best

Re: yyp for DOS

Posted: Thu Sep 02, 2010 10:05 am
by claudio
Dear Ali

you are right I checked the code and there is a small bug, the QP correction works properly only
if you compiled yambo with NetCDF, please install them and recompile YAMBO

http://www.unidata.ucar.edu/downloads/n ... 1.1.tar.gz

let me know
Cla

Re: yyp for DOS

Posted: Mon Sep 06, 2010 8:29 am
by claudio
Dear Ali

I put in the attachment a patch to correct yambo in such a way
that you can read the db.QP correctly without installing netcdf.
(anyway if you succeed to install netcdf it is better)

save this file in the yambo folder then
from the yambo folder do

patch -p0 < patch_qp_netcdf.txt

Cla

P.S. (Andrea): Patch file deleted. See the following post.

Re: yyp for DOS

Posted: Sun Sep 26, 2010 2:43 pm
by andrea marini
Please try to not use ad-hoc patches. Instead always download the latest tar-ball source and register to the SVN repository if you want to have access to the development version of the code.