<div dir="ltr"><div>Dear Wien2k users,</div><div><br></div><div>I would like to understand the difference between the k-point parallelization and mpi parallelization. Simply, I can mention two different .machines file for respective parallelization as given below,</div><div><br></div><div>For example, if I have 100 k-points and 50 CPUs , the .machines files would be as follows</div><div><br></div><div>======================= k-point parallization; 100 k-points ========<br><br>The k-points are finely distributed over one CPU. So, number of lines are equal to #of CPUs <br><br>50 CPUs =  50 lines <br><br>2:machine1:1            (machine1: 1 processor)<br>2:machine2:1<br>2:machine2:1<br>2:machine2:1<br>.<br>.<br>.<br>.<br>2:machine2:1                        (machine2: 13 processors)<br>2:machine3:1            <br>2:machine3:1                 (machine3: 2 processors)<br>2:machine4:1<br>.<br>.<br>.<br>.<br>2:machine4:1            (machine4: 20 processors)<br>2:machine5:1<br>2:machine5:1            <br>.<br>.<br>.<br>.<br>2:machine5:1<br>2:machine5:1                      (machine5: 15 prcessors)<br><br>======================================<br><br>======================= mpi parallization========<br><br>The k-points are coarsely distributed over one node. So, for a given node an entire number of CPUs have been used. The total k-points (100) are distributed among the entire nodes<br><br>48:machine1:24 <br>48:machine2:24 <br>4:machine3:2</div><div><br></div><div> ===========================<br></div><div><br></div><div>As shown in above, one can switch between k-point parallelization and mpi parallelization depending on the arrangement in the .machines file. Anyone, kindly correct my view on this.</div><div><br></div><div>Further, I would like to ask, what if one can't get the list of assigned nodes to the parallel job. In that case, how we can generate the .machines file for parallel calculations. I mean, Is it possible to do the parallel calculation without a .machines file or Is there any universal way of writing a .machines file that can fit into any cluster (even if one doesn't know the details of the nodes assigned to the parallel job). <br></div><div><br></div><div><br></div><div>These clarifications are very much helpful to me.</div><div><br></div><div>thanks</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Venkatesh<div>Postdoctoral Fellow, </div><div>Department of Instrumentation and Applied Physics </div><div>IISc Bangalore, India</div></div></div></div></div>