<div dir="auto"><div>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.</div><div dir="auto"><br></div><div dir="auto">Try running using k-parallel mode.<br><br><div data-smartmail="gmail_signature" dir="auto">_____<br>Professor Laurence Marks<br>"Research is to see what everybody else has seen, and to think what nobody else has thought", Albert Szent-Gyorgi<br><a href="http://www.numis.northwestern.edu" target="_blank" rel="noreferrer">www.numis.northwestern.edu</a></div><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Fri, May 18, 2018, 12:03 AM Gavin Abo <<a href="mailto:gsabo@crimson.ua.edu" target="_blank" rel="noreferrer">gsabo@crimson.ua.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I believe that is usually controlled with the OMP_NUM_THREADS <br>
environment variable:<br>
<br>
<a href="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=" rel="noreferrer noreferrer noreferrer" target="_blank">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=</a><br>
<a href="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=" rel="noreferrer noreferrer noreferrer" target="_blank">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=</a><br>
<br>
However, I have never really tried using the multiple threads.<br>
<br>
On 5/17/2018 3:56 PM, Sabry Moustafa wrote:<br>
> Hi;<br>
><br>
><br>
> I am trying to run jobs with one node, with multicores, in a threaded <br>
> mode in slurm. I tried to run the serial benchmark problem as given here:<br>
><br>
> <a href="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=" rel="noreferrer noreferrer noreferrer" target="_blank">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=</a><br>
><br>
> But, did not get difference in CPU time with using any number of cores <br>
> (ntasks-per-node). Here is the most important parts of my serial slurm <br>
> script:<br>
><br>
> *******<br>
><br>
> #SBATCH --nodes=1<br>
> #SBATCH --ntasks-per-node=4<br>
><br>
> x lapw1<br>
><br>
> ********<br>
><br>
> The CPU time should decrease with increasing number of threads as <br>
> shown in the benchmark page above.<br>
><br>
> So, is just setting "ntasks-per-node=x" makes WIEN2k run in threaded, <br>
> not just serial?<br>
><br>
><br>
> Thanks;<br>
><br>
> Sabry<br>
<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" rel="noreferrer noreferrer" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="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=" rel="noreferrer noreferrer noreferrer" target="_blank">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=</a><br>
SEARCH the MAILING-LIST at: <a href="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=" rel="noreferrer noreferrer noreferrer" target="_blank">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=</a><br>
</blockquote></div></div></div>