Merging databases

Anything regarding the post-processing utility (e.g. excitonic wavefunction analysis) is dealt with in this forum.

Moderators: Davide Sangalli, andrea marini, Daniele Varsano

Post Reply
sdwang
Posts: 299
Joined: Fri Apr 09, 2010 12:30 pm

Merging databases

Post by sdwang » Mon Nov 14, 2016 2:53 am

Dear developers,
I noticed that in ypp there is a function of merging QP databases. Does it could be used to merge several QP energies for different calculations with respect to the same system? For example, I choose the QP range 1-102 for k-points for the first time calculation,

%QPkrange # [GW] QP generalized Kpoint/Band indices
1|102| 3|8|

And for the second calculation, I switch to
%QPkrange # [GW] QP generalized Kpoint/Band indices
103|204| 3|8|
and leave other parameters the same as the first calculation. Then, how could I merge the two QP energies using ypp?

Best regards,
Thanks!
S. D. Wang
S. D. Wang
IMU,HOHHOT,CHINA
E-mail: sdwang@imu.edu.cn

User avatar
Daniele Varsano
Posts: 4198
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Merging databases

Post by Daniele Varsano » Mon Nov 14, 2016 10:37 am

Dear Shudong,
in principle yes, but I'm afraid that this tools it is actually broken.
We have fixed it in a developer version and we need to include in the gpl code soon, we hope to do it very soon.
In any case if you want to have a try it works in this way:

ypp -k g
generate an empy database editing the yoo.in file as:
%QPkrange # [QPDB] QP correctionQPDB energy correction( kp1| kp2| bnd1| bnd2| E-Eo[eV]| Img(E)[eV]| Re[Z] |)
kp1| kp2| bnd1| bnd2| 0.0| 0.0| 0.0|
%
run
>ypp -J database_to_merge
next
>ypp -q m
%Actions_and_names # [QPDB] QP databases and Actions (format is "what"|"DB"|)
"E" | "./database_to_merge/ndb.QP" |
"E" | "./path_to_DB1/ndb.QP" |
"E" | "./path_to_DB2/ndb.QP" |
...
%

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/

sdwang
Posts: 299
Joined: Fri Apr 09, 2010 12:30 pm

Re: Merging databases

Post by sdwang » Mon Nov 14, 2016 10:55 am

Dear Daniele,
Thank you for your kindly reply. I will try it soon...

Best wishes,

Shudong Wang
S. D. Wang
IMU,HOHHOT,CHINA
E-mail: sdwang@imu.edu.cn

User avatar
Daniele Varsano
Posts: 4198
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Merging databases

Post by Daniele Varsano » Mon Nov 14, 2016 11:01 am

OK, have a try but be careful, I really suspect that actually the tool is broken.

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/

Post Reply