[CP2K:9967] Re: How do I set maxtasks during regtest?

Jerry Tanoury jerryt... at gmail.com
Wed Feb 7 12:51:52 CET 2018


Thank you.

On Wed, Feb 7, 2018 at 4:57 AM, Nico Holmberg <holmbe... at gmail.com>
wrote:

> Hi,
>
> The number of tasks and other settings can be defined in a configuration
> file, which is passed to the regtest script with the -c flag (see
> ./do_regtest -h). You can find example configuration files in the folder
> cp2k/tools/regtesting/regtest_conf.
>
> For example, to use 4 tasks in total and 2 tasks per test (popt binary),
> you can set
>
> numprocs=2
> numthreads=1
> maxtasks=4
>
> You should also comment out the line "maxtasks=$(nproc --all)" if you are
> using one of the example configurations files as a template.
>
>
> BR,
>
> Nico
>
>
>
>
> tiistai 6. helmikuuta 2018 18.32.19 UTC+2 Jerry Tanoury kirjoitti:
>>
>> Hi,
>> I have successfully compiled popt and ssmp versions of CP2K-5.1.  When I
>> run regtests, I notice that the maxtasks = # of core on the node.  As a
>> result, the regtest takes all available cores, which is not a nice thing to
>> do to my computational colleagues.  Is there a way to change this?
>>
>> For the ssmp version, I have tried OMP_NUM_THREADS, but that has no
>> effect.
>>
>>
>> Best regards,
>> Jerry
>>
> --
> You received this message because you are subscribed to the Google Groups
> "cp2k" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cp2k+uns... at googlegroups.com.
> To post to this group, send email to cp... at googlegroups.com.
> Visit this group at https://groups.google.com/group/cp2k.
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20180207/19fa8b2e/attachment.html>


More information about the CP2K-user mailing list