[DFTB-Plus-User] OpenMP compilation ?

Bálint Aradi aradi at uni-bremen.de
Fri May 20 16:01:25 CEST 2022


Dear Michal,

the default compilation uses OpenMP parallelisation.

In order to prevent unwanted disasters during testing (where people tend 
to start several tests in parallel via the '-j' option), the test 
environment is set up to use one thread only. However, this you can tune 
via the -DTEST_OMP_THREADS option, if you whish, when configuring the 
project. See the "Testing DFTB+" section in INSTALL.rst.

Best regards,

Bálint


On 20.05.22 15:10, Michal Husak wrote:
> Just a question ...
> The default compilation use OpenMP or is it a serial one ?
> Do I need to manualy activate OpenMP in some makefiles ?
> 
> During the ctest execution I see it run  only on 1 core ...
> 
> I did not play with the  OMP_NUM_THREADS variable so it should run 
> default on all cores if it is OpenMP ... Correct ?
> 
> Michal Husak
> UCT Prague ...
> 
> 
> _______________________________________________
> 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
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20220520/f8d24855/attachment.sig>


More information about the DFTB-Plus-User mailing list