[DFTB-Plus-User] Running DFTB+ with XTB (tblite)

Bálint Aradi aradi at uni-bremen.de
Wed Feb 28 16:21:51 CET 2024


Dear Francesca,

you can find test calculation of various kinds in the test folder of the 
repository.

https://github.com/dftbplus/dftbplus/tree/main/test/app/dftb%2B

The reference values are stored in the _autotest.tag files (note: values 
are in atomic units).

Best regards,

Bálint

On 27.02.24 11:14, Francesca Lønstad Bleken via DFTB-Plus-User wrote:
> Hi,
> 
> thank you for your feedback.
> I still have issues, and also run into memory problems as soon as I increase the unit cell significantly. However, to make sure that the issue is not with how I have set up the calculation I am looking for a
> set of jobs or test calculations that can be run to check if the installation is done correctly.
> 
> Do you have sample jobs that I could use for this purpose?
> 
> Best regards,
> Francesca
> 
> -----Original Message-----
> From: DFTB-Plus-User <dftb-plus-user-bounces at mailman.zfn.uni-bremen.de> On Behalf Of Bálint Aradi
> Sent: Tuesday, February 6, 2024 16:08
> To: dftb-plus-user at mailman.zfn.uni-bremen.de
> Subject: Re: [DFTB-Plus-User] Running DFTB+ with XTB (tblite)
> 
> Dear Francesca,
> 
> how much speed-up of you can gain with a parallel DFTB/xTB calculation depends on the hardware you use, and the size of the problem you treat.
> DFTB/xTB typically use quite small matrix sizes for their Hamiltonians, therefore it does not give you any advantage to try to spread those relatively small matrices over multiple nodes, unless your system is really big enough. (Your system with a few hundreds of atoms is rather
> small...)
> 
> You should first test the efficiency of the parallelisation on a single node, buy using different number of processes (1, 2, 4, 8, 16, ...) up to the number of cores on that node. If the parallel efficiency already drops significantly within the node, it does not make sense to use further nodes for the calculation.
> 
> If it scales within the node, and you go for more than 1 node, it is also important, to use the libraries provided by your HPC system, instead of the Conda provided one. In that case, you should (or better your system administrator) compile the code using the MPI-libraries provided/recommended by the system administrators.
> 
> Best regards,
> 
> Bálint
> 
> 
> On 06.02.24 15:22, Francesca Lønstad Bleken via DFTB-Plus-User wrote:
>> Dear Bálint,
>>
>> Thank you very much for these pointers. Unfortunately, with these changes in order to run it in parallel the simulation does not fail, but it also runs just as quickly using four nodes as 1 node, i.e. it is not running in parallel.
>> I wonder if one should rather install from source on supercomputers.
>>
>> Best regards,
>> Framcesca
>>
>> -----Original Message-----
>> From: DFTB-Plus-User
>> <dftb-plus-user-bounces at mailman.zfn.uni-bremen.de> On Behalf Of Bálint
>> Aradi
>> Sent: Tuesday, February 6, 2024 11:15
>> To: dftb-plus-user at mailman.zfn.uni-bremen.de
>> Subject: Re: [DFTB-Plus-User] Running DFTB+ with XTB (tblite)
>>
>> Dear Francesca,
>>
>> I just tried to run your system on my x86_64 laptop, using
>> dftbplus=*=mpi_* (which was resolved to dftbplus=23.1=mpi_mpich in my case). I could do two geometry steps without any issues, then I stopped it.
>>
>> Two remarks to your input:
>>
>> * You explicitly allow for OMP-threads (UseOmpThreads = Yes). This option is mostly used for testing, not in production, as is it leads very easily to an oversubscription on your system. My recommendation would be to delete this option and make sure, that your environment variable OMP_NUM_THREADS is set to 1. Invoke then mpirun with the number of cores on your system, e.g.
>>
>> OMP_NUM_THREADS=1 mpirun -n 4 dftb+
>>
>> * As your system is quite big, you might consider to use Gamma point only for the k-sampling (by setting the shift to 0 0 0). It should result in higher execution speed, as all relevant matrices for the diagonalization would be real, instead of complex.
>>
>> I hope this helps.
>>
>> Best regards,
>>
>> Bálint
>>
>> On 01.02.24 15:21, Francesca Lønstad Bleken wrote:
>>> Hi,
>>>
>>> I am testing out the possibility of running DFTB+ with XTB in parallel.
>>> Unfortunately I have issues, starting with a direct segmentation
>>> fault and absolutely no output when I try to run in parallel.
>>>
>>> When running on only one cpu I do not have any issues.
>>>
>>> I have installed using conda and mamba on a supercomputer using the
>>> **=mpi_** option and I did not get any specific errors or warnings
>>> from that.
>>>
>>> I have pasted the dftb_in.hsd below, and would be grateful if anyone
>>> knowledgeable could confirm or deny if this at least should work in theory.
>>>
>>> Best regards,
>>>
>>> Francesca
>>
>> --
>> Dr. Bálint Aradi
>> Bremen Center for Computational Materials Science, University of
>> Bremen
>> http://www.b/
>> ccms.uni-bremen.de%2Fcms%2Fpeople%2Fb-aradi%2F&data=05%7C02%7Cfrancesc
>> a.l.bleken%40sintef.no%7Cbed085b2d5d745bd431808dc272566a1%7Ce1f00f3960
>> 4145b0b309e0210d8b32af%7C1%7C0%7C638428288786640058%7CUnknown%7CTWFpbG
>> Zsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%
>> 3D%7C0%7C%7C%7C&sdata=d5cd2YxnIU8fza7gh8cpZe65srfQU7CFPJ%2BipapLvr8%3D
>> &reserved=0
>>
>>
>> _______________________________________________
>> DFTB-Plus-User mailing list
>> DFTB-Plus-User at mailman.zfn.uni-bremen.de
>> https://mail/
>> man.zfn.uni-bremen.de%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdftb-plus-user&
>> data=05%7C02%7Cfrancesca.l.bleken%40sintef.no%7Cbed085b2d5d745bd431808
>> dc272566a1%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C63842828878664
>> 9540%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT
>> iI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=fvlXlCV2%2BlQZwYoIUH4pCAC
>> YYugD7DwgmFnYL5x%2Fids%3D&reserved=0
> 
> --
> Dr. Bálint Aradi
> Bremen Center for Computational Materials Science, University of Bremen
> http://www.bccms.uni-bremen.de/cms/people/b-aradi/
> 
> 
> _______________________________________________
> DFTB-Plus-User mailing list
> DFTB-Plus-User at mailman.zfn.uni-bremen.de
> https://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-user

-- 
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.bccms.uni-bremen.de/cms/people/b-aradi/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20240228/b00bdcc7/attachment.sig>


More information about the DFTB-Plus-User mailing list