<div dir="auto">1) From your email it appears that someone else installed Wien2K version 19, and they are no longer around/available. The people in Vienna are fairly lax, so I will ask -- do you have a license to use it?<div dir="auto"><br><div dir="auto">2) Do "ls $WIENROOT/lapw1_mpi" to see if the mpi version is present. If so you will need to read the Makefile to determine what mpirun it was compiled for. You will also need to read it to determine if it was compiled with openmp and what blas/lapack.</div><div dir="auto"><br></div><div dir="auto">3) Did you add "-p" to the run options?</div><div dir="auto"><br></div><div dir="auto">4) Please reread the user guide carefully to understand how to do parallel calculations.<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">www.numis.northwestern.edu</a></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 28, 2020, 03:52 Ali Baghizhadeh <<a href="mailto:ali.baghizhadeh@ua.pt">ali.baghizhadeh@ua.pt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-2210839375677830288WordSection1">
<p class="MsoNormal">Dear Wien Users<u></u><u></u></p>
<p class="MsoNormal">I am running spin polarized calculations in a hexagonal system, on a machine with AMD Threadripper, 64 processors (one thread per core), linux system, gfortran compiler. The Wien2K was installed with parallel option (no idea which one,
as in manual 3 options are introduced). When I did run calculations with K-mesh: 5x5x3 (12 K points), RKmax:-6.5, only 4 cores were used. As said in the manual and mailing list, I added 16 lines of “1:localhost” which you can see the content of .machines file
below, assuming that the calculation will run on 16 cores. But again 4 cores were used.
<u></u><u></u></p>
<p class="MsoNormal">I wish to get some comments how to dedicate certain number of cores to a specific job.<u></u><u></u></p>
<p class="MsoNormal">Thank you in advance.<u></u><u></u></p>
<p class="MsoNormal"><i><u></u> <u></u></i></p>
<p class="MsoNormal"><i>Ali Baghi zadeh<u></u><u></u></i></p>
<p class="MsoNormal"><i>Postdoctoral fellow<u></u><u></u></i></p>
<p class="MsoNormal"><i>CICECO Institute of Materials, University of Aveiro<u></u><u></u></i></p>
<p class="MsoNormal"><i>Portugal <u></u><u></u></i></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:black">The .machines file in the folder I have saved my structural file and performing calculations.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># .machines is the control file for parallel execution. Add lines like<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># speed:machine_name<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># for each machine specifying there relative speed. For mpi parallelization use<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># speed:machine_name:1 machine_name:1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># lapw0:machine_name:1 machine_name:1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># further options are:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># granularity:number (for loadbalancing on irregularly used machines)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># residue:machine_name (on shared memory machines)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># extrafine (to distribute the remaining k-points one after the other)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># granularity sets the number of files that will be approximately<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># be generated by each processor; this is used for load-balancing.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># On very homogeneous systems set number to 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># if after distributing the k-points to the various machines residual<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># k-points are left, they will be distributed to the residual-machine_name.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">1:localhost<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">granularity:1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">extrafine:1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># Uncomment for specific OMP-parallelization (overwriting a global OMP_NUM_THREADS)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#omp_global:4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"># or use program-specific parallelization:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#omp_lapw0:4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#omp_lapw1:4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#omp_lapw2:4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#omp_lapwso:4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#omp_dstart:4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#omp_sumpara:4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red">#omp_nlvdw:4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt">Also in the file , “parallel options”, I see following information:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#0070c0">setenv TASKSET "no"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#0070c0">if ( ! $?USE_REMOTE ) setenv USE_REMOTE 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#0070c0">if ( ! $?MPI_REMOTE ) setenv MPI_REMOTE 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#0070c0">setenv WIEN_GRANULARITY 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#0070c0">setenv DELAY 0.1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#0070c0">setenv SLEEPY 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#0070c0">setenv WIEN_MPIRUN "mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#0070c0">setenv CORES_PER_NODE 1<u></u><u></u></span></p>
</div>
</div>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">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=qwW1KdPCa3lhdjM5bBBckSYZIXV4FyKeqrRoS57PTqs&s=7FhXDeEutvgHekLJ8G9ZEs2ytU6JAyZezNeoC0MQI-U&e=" rel="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=qwW1KdPCa3lhdjM5bBBckSYZIXV4FyKeqrRoS57PTqs&s=7FhXDeEutvgHekLJ8G9ZEs2ytU6JAyZezNeoC0MQI-U&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=qwW1KdPCa3lhdjM5bBBckSYZIXV4FyKeqrRoS57PTqs&s=bTKMrO4v9bz9qAxda2D1Bpyp2kkg7ycL7cZA2aegxhI&e=" rel="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=qwW1KdPCa3lhdjM5bBBckSYZIXV4FyKeqrRoS57PTqs&s=bTKMrO4v9bz9qAxda2D1Bpyp2kkg7ycL7cZA2aegxhI&e=</a> <br>
</blockquote></div>