[Wien] threaded run with SLURM

Laurence Marks L-marks at northwestern.edu
Fri May 18 12:23:08 CEST 2018


MKL treats your input in several different MKL_... parameters such as
MKL_ALL, MKL_NUM_THREADS as suggestions only, do it may well be ignoring
your slurm input parameters.

Try running using k-parallel mode.

_____
Professor Laurence Marks
"Research is to see what everybody else has seen, and to think what nobody
else has thought", Albert Szent-Gyorgi
www.numis.northwestern.edu

On Fri, May 18, 2018, 12:03 AM Gavin Abo <gsabo at crimson.ua.edu> wrote:

> I believe that is usually controlled with the OMP_NUM_THREADS
> environment variable:
>
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_msg05475.html&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=ry5NuphaMRqf-wN4QSsAujMNOSruWRvTqzZOAmd9plA&s=w9Qw7TlXG8oW1aHTPSDwQNeHkZcjDhcRdk2rV8rN77Q&e=
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_msg03997.html&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=ry5NuphaMRqf-wN4QSsAujMNOSruWRvTqzZOAmd9plA&s=vIe5aCdMqqsFNoV9gWxSfEDubtyN4zkTGs33o8GSp3I&e=
>
> However, I have never really tried using the multiple threads.
>
> On 5/17/2018 3:56 PM, Sabry Moustafa wrote:
> > Hi;
> >
> >
> > I am trying to run jobs with one node, with multicores, in a threaded
> > mode in slurm. I tried to run the serial benchmark problem as given here:
> >
> >
> https://urldefense.proofpoint.com/v2/url?u=http-3A__susi.theochem.tuwien.ac.at_reg-5Fuser_benchmark_&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=ry5NuphaMRqf-wN4QSsAujMNOSruWRvTqzZOAmd9plA&s=SyvfLAIDkN7z484QXdELQ2AabaMVbke02TP1K4xaQlg&e=
> >
> > But, did not get difference in CPU time with using any number of cores
> > (ntasks-per-node). Here is the most important parts of my serial slurm
> > script:
> >
> > *******
> >
> > #SBATCH --nodes=1
> > #SBATCH --ntasks-per-node=4
> >
> > x lapw1
> >
> > ********
> >
> > The CPU time should decrease with increasing number of threads as
> > shown in the benchmark page above.
> >
> > So, is just setting "ntasks-per-node=x" makes WIEN2k run in threaded,
> > not just serial?
> >
> >
> > Thanks;
> >
> > Sabry
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__zeus.theochem.tuwien.ac.at_mailman_listinfo_wien&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=ry5NuphaMRqf-wN4QSsAujMNOSruWRvTqzZOAmd9plA&s=ktmeDEex1Uzo3ovuDVCQ34TbEptOBwWCQ5ChouZ-cmI&e=
> SEARCH the MAILING-LIST at:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_wien-40zeus.theochem.tuwien.ac.at_index.html&d=DwICAg&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=U_T4PL6jwANfAy4rnxTj8IUxm818jnvqKFdqWLwmqg0&m=ry5NuphaMRqf-wN4QSsAujMNOSruWRvTqzZOAmd9plA&s=Tq1C27rhI8Cxeav3dwRvm8qhzdHAnlMJ0VUWNnGSG5Y&e=
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20180518/f5b9f7a3/attachment.html>


More information about the Wien mailing list