Change printing.f90 code

This section is dedicated to compilation problems

Moderator: stiwari

Post Reply
yeyaokun
Posts: 7
Joined: Wed Nov 04, 2020 7:02 am
Affiliation: Peking University

Change printing.f90 code

Post by yeyaokun »

Dear all,
I'd like to change the printing.f90 file to see more information of output of 'prtgkk' (namely, |g| in epw.out)

For example , I'd like to change epc(pbnd, jbnd, nu, ik + lower_bnd - 1) to epc(pbnd, jbnd, nu, ik + lower_bnd - 3), something like this, to see more output of prtgkk.

However, after I've changed this and compiled the src ( make epw, like Makefile said, and the compilation is ok, no errors), I can't find any |g| information in epw.out file anymore.

I feel kind of strange about this. Before I changed the printing.f90 code, the keyword 'prtgkk' is ok and I can find |g| in epw.out file.

I just changed a little bit this code, like mentioned above, but I can't even find |g| information anymore.

Is there something wrong? I appreciate it if you guys can offer me any advice.

Thanks a lot.

Yaokun Ye

hpaudya1
Posts: 190
Joined: Tue Mar 21, 2017 7:11 pm
Affiliation:

Re: Change printing.f90 code

Post by hpaudya1 »

Hi Yaokun Ye,

I think what you did is not correct.

For example, if ik = 1, lower_bnd = 1, then ik + lower_bnd - 3 = -1 (out of bound).

Could you say what more information do you want to print?

Best,
Hari

Post Reply