<div dir="ltr"><div>Dear all,</div><div><br></div><div>I was fairly running quantum espresso on the ubuntu 18.04 with the command <br></div><div>


        
        <span></span>
        
        

<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">
mpiexec -n 4 ./pw.x < <a href="http://scf.in">scf.in</a> > out.out</p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">on my 4 core pc.</p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">Now when I have upgrade my pc to ubuntu 20.04, and when I run the quantum espresso with the same command, it gives me error.</p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">


        
        <span></span>
        
        

</p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">
haider@HAIDER:~/qe-6.5/bin$ mpiexec -n 4 ./pw.x  <<a href="http://scf.in">scf.in</a>>
out.out &</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">[1] 32761</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">haider@HAIDER:~/qe-6.5/bin$
--------------------------------------------------------------------------</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">There are not enough
slots available in the system to satisfy the 4</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">slots that were
requested by the application:</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">  ./pw.x</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">Either request fewer
slots for your application, or make more slots</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">available for use.</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">A "slot"
is the Open MPI term for an allocatable unit where we can</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">launch a process. 
The number of slots available are defined by the</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">environment in which
Open MPI processes are run:</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">  1. Hostfile, via
"slots=N" clauses (N defaults to number of</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">     processor cores
if not provided)</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">  2. The --host
command line parameter, via a ":N" suffix on the</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">     hostname (N
defaults to 1 if not provided)</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">  3. Resource
manager (e.g., SLURM, PBS/Torque, LSF, etc.)</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">  4. If none of a
hostfile, the --host command line parameter, or an</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">     RM is present,
Open MPI defaults to the number of processor cores</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">In all the above
cases, if you want Open MPI to default to the number</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">of hardware threads
instead of the number of processor cores, use the</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">--use-hwthread-cpus
option.</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">Alternatively, you
can use the --oversubscribe option to ignore the</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">number of available
slots when deciding the number of processes to</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">launch.</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">--------------------------------------------------------------------------</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br>

</p>
<p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">[1]+  Exit 1        
         mpiexec -n 4 ./pw.x < <a href="http://scf.in">scf.in</a> > out.out</p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">I have reinstall quantum espresso, but received the same error.</p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">I sought your help.</p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">with regards</p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%">Haider Abbas<br></p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p><p style="margin-bottom:0cm;line-height:100%;background:transparent none repeat scroll 0% 0%"><br></p>



</div></div>