<style type="text/css"></style>
                            <div id="part_56e1726af6604909a060b1944fe82f0d"><div><div>I added the prefix to the source file, worked like a charm.<br/><br/>Thank you, have a nice day<br/><br/><br/><blockquote>** Wed, 22 Mar 2023 14:01:00 +0100 - users@lists.quantum-espresso.org **<br/><br/>
<div><div><div>On Wed, 2023-03-22 at 13:45 +0100, Matic wrote:<br/>> Hi,<br/>> <br/>> you can add:<br/>> <br/>> prefix "mpirun -np X"<br/>> <br/>> to your pwtk script (where X is the number of processors); <br/>> this can also be specified in your local ~/.pwtk/pwtk.tcl file so<br/>> that you don't have to add it to every script when running on a<br/>> particular machine<br/><br/>In addition, the specification can be made "automatic" by adding the<br/>following snippet to ~/.pwtk/pwtk.tcl<br/><br/><br/>    # get the number of available processors<br/>    set np [exec nproc]<br/>    while { [catch {exec mpirun -n $np echo yes}] } {<br/>        set np [expr { $np > 2 ? $np / 2 : 1 }]<br/>    }<br/>    prefix mpirun -n $np<br/><br/><br/>This will automatically determine the number of cores on your computer<br/>and use them for running QE executables.<br/><br/>Regards, Tone<br/>-- <br/>Jožef Stefan Institute, Ljubljana, Slovenia<br/><br/><br/><br/><br/>_______________________________________________<br/>The Quantum ESPRESSO community stands by the Ukrainian<br/>people and expresses its concerns about the devastating<br/>effects that the Russian military offensive has on their<br/>country and on the free and peaceful scientific, cultural,<br/>and economic cooperation amongst peoples<br/>_______________________________________________<br/>Quantum ESPRESSO is supported by MaX (www.max-centre.eu)<br/>users mailing list users@lists.quantum-espresso.org<br/>https://lists.quantum-espresso.org/mailman/listinfo/users</div></div></div></blockquote></div></div></div>