How do I set maxtasks during regtest?
Nico Holmberg
holmbe... at gmail.com
Wed Feb 7 09:57:43 UTC 2018
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20180207/28c2b7e7/attachment.htm>
More information about the CP2K-user
mailing list