HI ALL,

I have problem about openmpi.
I used openmpi 1.6.5 and ran parallel job normally.

I upgrade openmpi to 1.8.7 to run the same parallel job failed.
the error message is
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 4 slots
that were requested by the application:
  ./cpi

Either request fewer slots for your application, or make more slots
available
for use.
--------------------------------------------------------------------------

Used openmpi 1.6.5/1.8.7 on my computing node directly. It is normally.

used openmpi 1.6.5 run jobs on computing node directly.
$ mpirun --display-allocation -np 4 ./cpi
======================   ALLOCATED NODES   ======================

 Data for node: host01     Num slots: 1    Max slots: 0

=================================================================
Process 3 on host01 <http://hpca11026.pcf.sinica.edu.tw>
Process 0 on host01
Process 1 on host01
Process 2 on host01
pi is approximately 3.1416009869231249, Error is 0.0000083333333318
wall clock time = 0.000480

used openmpi 1.8.7 run jobs on computing node directly.
======================   ALLOCATED NODES   ======================
        host01: slots=16 max_slots=0 slots_inuse=0 state=UP
=================================================================
Process 0 on host01
Process 1 on host01
Process 2 on host01
Process 3 on host01 <http://hpca11026.pcf.sinica.edu.tw>
pi is approximately 3.1416009869231249, Error is 0.0000083333333318
wall clock time = 0.000228

Used openmpi 1.6.5 via qsub is normally, but openmpi 1.8.7 is abnormally.
used openmpi 1.6.5 run job via qsub
======================   ALLOCATED NODES   ======================

 Data for node: hpca11024.pcf.sinica.edu.tw     Num slots: 1    Max slots: 0
 Data for node: hpca11019.pcf.sinica.edu.tw     Num slots: 1    Max slots: 0

=================================================================
pi is approximately 3.1416009869231245, Error is 0.0000083333333314
wall clock time = 0.089330

 used openmpi 1.8.7 run job via qsub
======================   ALLOCATED NODES   ======================
        hpca11003: slots=1 max_slots=0 slots_inuse=0 state=UP
        hpca11013.pcf.sinica.edu.tw: slots=1 max_slots=0 slots_inuse=0
state=UP
=================================================================
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 4 slots
that were requested by the application:
  ./cpi

Either request fewer slots for your application, or make more slots
available
for use.
--------------------------------------------------------------------------

Because I want each node serve for 1 job, so I configured as follow:
$ qconf -sq all.q | grep slots
slots                 1

How to fix the problem. Thanks.
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to