SCF cycle is not starting

Total energy, geometry optimization, DFT+U, spin....

Moderator: bguster

Locked
ssh77
Posts: 23
Joined: Fri May 22, 2020 6:00 pm

SCF cycle is not starting

Post by ssh77 » Wed Jun 03, 2020 4:07 pm

Hi,
As I am new to Abinit I have tried to make an input file out of Mn2O3 an include all basic input parameters needed to make an initial relaxation of the ions. Then I would like to do it for the electrons and finally for the geometry and cell.

However, the input file that I have attached does not start any SCF cycle and I cannot figure out what I have done wrong. It seems as if the calculation is aborted after the psp is read but no error in the err file either.

I have attached the input file and its corresponding files file, with the latter named .in in order to be able to attach the file.

Is anyone able to try and see what is wrong with the input file?
The psp8 files have been downloaded from the pseudo dojo.
What ixc do I use for the PBEsol? PBE I use ixc=11 in this file, which I hope is correct.
What ixc do I use for the PBE from the JTH psp files?

I hopoe somebody can help me get this going.

Many thanks!
Attachments
testinput1.in
(3.56 KiB) Downloaded 168 times
testinput1_x.in
(214 Bytes) Downloaded 174 times

ebousquet
Posts: 469
Joined: Tue Apr 19, 2011 11:13 am
Location: University of Liege, Belgium

Re: SCF cycle is not starting

Post by ebousquet » Thu Jun 04, 2020 3:31 pm

Dear ssh77,
I ran your input and everything goes through fine after reading the psp files, so I don't know what can be your problem.
Can it be a memory problem (the job takes 6-7 Gb)?
Regarding the ixc, if you don't specify a value there, it'll be read directly from the pseudo file and set automatically to the right value (norm-conserving or PAW); always check in the output what is the value used. You can however reinforce a value that is different than the one from the pseudo.
Best wishes,
Eric

ssh77
Posts: 23
Joined: Fri May 22, 2020 6:00 pm

Re: SCF cycle is not starting

Post by ssh77 » Fri Jun 05, 2020 5:33 pm

Dear Eric,

Thanks for testing the testscript I made. Did you get the SCF running? I am running on a laptop so maybe it stops before or I have to wait until it is finished? How do I see if the job is running still? when I refresh it just seems as if an output file and log file is added but the output file does not contain any SCF and seems as if it abruptly has stopped.

ebousquet
Posts: 469
Joined: Tue Apr 19, 2011 11:13 am
Location: University of Liege, Belgium

Re: SCF cycle is not starting

Post by ebousquet » Mon Jun 08, 2020 9:23 am

Dear ssh77,
You are running a calculation with 80 atoms on a laptop?? How many CPU and RAM do you have, this is a big calculation that would require a multicore-job to get it running within a decent time...
Best wishes,
Eric

ssh77
Posts: 23
Joined: Fri May 22, 2020 6:00 pm

Re: SCF cycle is not starting

Post by ssh77 » Mon Jun 08, 2020 2:46 pm

Dear Eric,

I have 16 gB RAM and a quad core i7(I installed with make mj4 but still shows 1 proc during calculations, but I assume it still uses 4 since it is relatively fast), but would like to use the GPU cores later if possible. Right now I don't know really how to install the GPU support. I would need help with that later when I am more familiar with abinit and its capabilities and would want to speed up things.

Currently I am trying to test with a 30 atom cell and in the beginning of the out file it says the job should need less than ~176 mb of memory. But maybe that is physical storage on the hard drive and not RAM.

Was it possible to check what jobs are running in the background and to stop them?
Should the SCF energies reach the same values if one would use the same settings as in VASP and "same" psp files? or are the energies fundamentally different due to different ways of calculating them in the two different softwares?

Btw. off topic but where can I find the psp for all the lanthanides? only a couple are available from the JTH and the pseudo dojo.
I tried to install libxc but since I am new to this I don't know how to do it correctly, but I guess there's a lot more psps from the libxc.

Thanks!
ssh77

ebousquet
Posts: 469
Joined: Tue Apr 19, 2011 11:13 am
Location: University of Liege, Belgium

Re: SCF cycle is not starting

Post by ebousquet » Wed Jun 10, 2020 8:45 am

ssh77 wrote:
Mon Jun 08, 2020 2:46 pm
I have 16 gB RAM and a quad core i7(I installed with make mj4 but still shows 1 proc during calculations, but I assume it still uses 4 since it is relatively fast), but would like to use the GPU cores later if possible. Right now I don't know really how to install the GPU support. I would need help with that later when I am more familiar with abinit and its capabilities and would want to speed up things.
make mj4 does not compile a parallel version of Abinit it just make the compilation in parallel. To activate the parallelism you have to activate the flags at the configure level. If you see it running on a single CPU means it is not a parallel job.
I do not know about the GPU usage, I never used it...
ssh77 wrote:
Mon Jun 08, 2020 2:46 pm
Currently I am trying to test with a 30 atom cell and in the beginning of the out file it says the job should need less than ~176 mb of memory. But maybe that is physical storage on the hard drive and not RAM.
It is a rough estimation, you can check in your system how much memory the executable is using to know the exact value but for 30 atoms with several symmetries and reasonable ecut, 200Mb sounds reasonable.
ssh77 wrote:
Mon Jun 08, 2020 2:46 pm
Was it possible to check what jobs are running in the background and to stop them?
Should the SCF energies reach the same values if one would use the same settings as in VASP and "same" psp files? or are the energies fundamentally different due to different ways of calculating them in the two different softwares?
Vasp and Abinit have a different implementation and probably different algo of convergence and they have different pseudos such that the number of SCF and the value reached will be different.
ssh77 wrote:
Mon Jun 08, 2020 2:46 pm
Btw. off topic but where can I find the psp for all the lanthanides? only a couple are available from the JTH and the pseudo dojo.
I tried to install libxc but since I am new to this I don't know how to do it correctly, but I guess there's a lot more psps from the libxc.
On the JTH v1.1 there are all of them, no? (https://www.abinit.org/psp-tables)

There are also other Ln PAW-pseudos with f-electron in the following webpage:
http://www.mineralscloud.com/resources/ ... ndex.shtml

With norm-conserving pseudo-dojo only Ln with f in the core are available.

Best,
Eric

ssh77
Posts: 23
Joined: Fri May 22, 2020 6:00 pm

Re: SCF cycle is not starting

Post by ssh77 » Fri Jun 12, 2020 12:47 pm

ebousquet wrote:
Wed Jun 10, 2020 8:45 am
ssh77 wrote:
Mon Jun 08, 2020 2:46 pm
I have 16 gB RAM and a quad core i7(I installed with make mj4 but still shows 1 proc during calculations, but I assume it still uses 4 since it is relatively fast), but would like to use the GPU cores later if possible. Right now I don't know really how to install the GPU support. I would need help with that later when I am more familiar with abinit and its capabilities and would want to speed up things.
make mj4 does not compile a parallel version of Abinit it just make the compilation in parallel. To activate the parallelism you have to activate the flags at the configure level. If you see it running on a single CPU means it is not a parallel job.
I do not know about the GPU usage, I never used it...
Okay, I have asked about this in a different thread now. Hopefully I can receive some help enabling multicore.
ebousquet wrote:
Wed Jun 10, 2020 8:45 am
ssh77 wrote:
Mon Jun 08, 2020 2:46 pm
Btw. off topic but where can I find the psp for all the lanthanides? only a couple are available from the JTH and the pseudo dojo.
I tried to install libxc but since I am new to this I don't know how to do it correctly, but I guess there's a lot more psps from the libxc.
On the JTH v1.1 there are all of them, no? (https://www.abinit.org/psp-tables)

There are also other Ln PAW-pseudos with f-electron in the following webpage:
http://www.mineralscloud.com/resources/ ... ndex.shtml

With norm-conserving pseudo-dojo only Ln with f in the core are available.

Thanks! It seems as if the JTH psps also work properly and do contain the lanthanides. Previously I couldn't get it to work but that was probably due to the large number of kpoints I used which was too heavy for the cpu.

Locked