-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 26.10.2017 um 19:05 schrieb ANS:

> Hi,
> 
> while creating the gpu.q i have added the hosts with gpus in the hostlist.
> 
> After applying the scheduling i am getting the following error:
> cannot run in PE "mpi" because it only offers 0 slots

Are you requesting the PE "mpi"?

Did you check with `qstat -u "*"` whether anything else is running on the 
nodes? If it's not the case please post the queue, exechost and PE 
configuration.

- -- Reuti


> But in mpi PE i have made the slots as 999, is there any parameter in PE to 
> indicate the no of GPUs.
> 
> Also is there any attribute like complex in queue configuration to enable the 
> GPU?
> 
> Thanks,
> ANS 
> 
> On Thu, Oct 26, 2017 at 2:51 PM, Reuti <[email protected]> wrote:
> 
> > Am 26.10.2017 um 07:00 schrieb ANS <[email protected]>:
> >
> > Hi,
> >
> > Thank you for the reply.
> >
> > I am submitting the job using the job submission script which is working 
> > fine in CPU by adding -l gpu=2 and changing the queue to gpu.q.
> 
> I don't know your script and what additional resource request it has. Maybe 
> there are contradictory requests which can't be fulfilled.
> 
> 
> > So after launching the jobs the jobs are staying in qw state only.
> 
> The machines with the GPU are attached to the "hostlist" of "gpu.q"?
> 
> You can get some info after setting:
> 
> $ qconf -msconf
> …
> schedd_job_info                   true
> 
> and issuing:
> 
> $ qstat -j <job_id>
> …
> scheduling info:
> 
> 
> > I am not restricting the jobs to run on particular GPU but they can run on 
> > any gpu.
> 
> Yes, but which job is using which GPU? It might be necessary to address a 
> certain one in your job script, but this depends on your application.
> 
> -- Reuti
> 
> 
> > Thanks,
> > ANS
> >
> >
> >
> > On Wed, Oct 25, 2017 at 8:29 PM, Reuti <[email protected]> wrote:
> > Hi,
> >
> > > Am 25.10.2017 um 16:06 schrieb ANS <[email protected]>:
> > >
> > > Hi all,
> > >
> > > I am trying to integrate GPUs into my existing cluster with 2 GPUs per 
> > > node. I have gone through few sites and done the following
> > >
> > > qconf -mc
> > > gpu                 gpu        INT         <=    YES         YES        0 
> > >        0
> > >
> > > qconf -me gpunode1
> > > complex_values        gpu=2
> > >
> > > But still i am unable to launch the jobs using GPUs. Can anyone help me.
> >
> > What do you mean by "unable to launch the jobs using GPUs"? How do you 
> > submit the jobs? The jobs are stuck or never accepted by SGE?
> >
> > There is no way to determine which GPU was assigned to which job. Univa GE 
> > has an extension for it called "named resources" or so. You could define 
> > two queues with each having one slot and the name of the name of the chosen 
> > queue determines the GPU to be used after some mangling.
> >
> > ===
> >
> > Note that GE2011.11p1 was never updated and https://arc.liv.ac.uk/trac/SGE 
> > might be more recent.
> >
> > -- Reuti
> >
> >
> >
> M: +91 9676067674

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iEYEARECAAYFAlnyWMsACgkQo/GbGkBRnRpMIACguXBIQOOwfGwWOGCSOHQqtB8J
dCcAoIqfnLydNMuVLifLGfaVNuSd3GZi
=q+ke
-----END PGP SIGNATURE-----

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to