Hi,

Am 24.04.2015 um 16:54 schrieb <[email protected]> 
<[email protected]>:

> Hi,
> 
> I am submitting a job to the grid parallel environment using the command
> 
> qrsh -V -cwd -q 'queuename' -l h_vmem=2G -pe 'parallel env name' 4 sleep 20
> 
> There are two servers in the queue for example host1 and host2  The total 
> h_vmem configured on the servers is 250G.
> After submitting the job the available h_vmem on both the servers is 246G
> 
> The job is submitted to host2 but the h_vmem is occupied on both the hosts 
> host1 and host2

Please check with `qstat -g t` where there parallel jobs got slots from. 
Usually all tasks of a parallel job will need some memory to operate and hence 
it's withdrawn for all instances, i.e. 4 times in your case in total.


> Is this because the allocation rule configured in the queue is $round_robin.

Yes, it's related.

-- Reuti


> Can anyone please explain.
> 
> Regards,
> Sudha
> 
> -----Original Message-----
> From: Nicolás Serrano Martínez-Santos [mailto:[email protected]]
> Sent: Thursday, April 23, 2015 8:55 PM
> To: Sudha Padmini Penmetsa (WT01 - Global Media & Telecom)
> Cc: users
> Subject: Re: [gridengine users] Doubts regarding the h_vmem allocation
> 
> Hi,
> 
> qstat -F h_vmem -q <queue>@host
> 
> is what I typically employ to inspect the current h_vmem on a specific host.
> 
> Bests,
> 
> NiCo
> 
> Excerpts from sudha.penmetsa's message of 2015-04-23 17:04:22 +0200:
>> Hi,
>> 
>> We can see the total h_vmem for a grid execution host using
>> 
>> qconf -se nodeA | grep h_vmem
>> 
>> Can you please help me in finding the available h_vmem on a grid execution 
>> host.
>> 
>> Regards,
>> Sudha
>> 
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of
>> [email protected]
>> Sent: Wednesday, April 22, 2015 5:30 PM
>> To: [email protected]
>> Subject: users Digest, Vol 52, Issue 22
>> 
>> Send users mailing list submissions to
>>        [email protected]
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        https://gridengine.org/mailman/listinfo/users
>> or, via email, send a message with subject or body 'help' to
>>        [email protected]
>> 
>> You can reach the person managing the list at
>>        [email protected]
>> 
>> When replying, please edit your Subject line so it is more specific than 
>> "Re: Contents of users digest..."
>> 
>> 
>> Today's Topics:
>> 
>>   1. Doubts regarding the h_vmem allocation while submitting the
>>      job in parallel environment ([email protected])
>>   2. Re: Doubts regarding the h_vmem allocation while submitting
>>      the job in parallel environment (Skylar Thompson)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Tue, 21 Apr 2015 12:01:04 +0000
>> From: <[email protected]>
>> To: <[email protected]>
>> Subject: [gridengine users] Doubts regarding the h_vmem allocation
>>        while submitting the job in parallel environment
>> Message-ID:
>> 
>> <sixpr03mb060709f0ee4c15d5645670d896...@sixpr03mb0607.apcprd03.prod.ou
>> tlook.com>
>> 
>> Content-Type: text/plain; charset="us-ascii"
>> 
>> Hi,
>> 
>> Could you please explain how do we need allocate values for mem_free and 
>> h_vmem while submitting the job in parallel environment.
>> 
>> It would be helpful if you explain how should we calculate the value to be 
>> allocated to h_vmem according to the slots using  -pe 
>> parallelenvironmentname slots.
>> 
>> Regards,
>> Sudha
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any
>> attachments. WARNING: Computer viruses can be transmitted via email.
>> The recipient should check this email and any attachments for the
>> presence of viruses. The company accepts no liability for any damage
>> caused by any virus transmitted by this email. www.wipro.com
>> -------------- next part -------------- An HTML attachment was
>> scrubbed...
>> URL:
>> <http://gridengine.org/pipermail/users/attachments/20150421/83af22ec/a
>> ttachment-0001.html>
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Tue, 21 Apr 2015 06:53:19 -0700
>> From: Skylar Thompson <[email protected]>
>> To: [email protected]
>> Subject: Re: [gridengine users] Doubts regarding the h_vmem allocation
>>        while submitting the job in parallel environment
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=us-ascii
>> 
>> Hi Sudha,
>> 
>> mem_free and h_vmem are standard consumable resources[1] so they scale
>> by slot. If you have a five-slot job that requests 1GB of address
>> space (-l
>> h_vmem=1G) then each slot will get 1GB of allowed address space, for 5GB 
>> total.
>> 
>> [1] You can check the consumable type with "qconf -sc" and look in the 
>> consumable column. YES means requests scale by slot request, JOB means it 
>> gets assigned to the entire job, and HOST to each node the job runs on.
>> 
>> On Tue, Apr 21, 2015 at 12:01:04PM +0000, [email protected] wrote:
>>> Hi,
>>> 
>>> Could you please explain how do we need allocate values for mem_free and 
>>> h_vmem while submitting the job in parallel environment.
>>> 
>>> It would be helpful if you explain how should we calculate the value to be 
>>> allocated to h_vmem according to the slots using  -pe 
>>> parallelenvironmentname slots.
>>> 
>>> Regards,
>>> Sudha
>>> The information contained in this electronic message and any
>>> attachments to this message are intended for the exclusive use of
>>> the
>>> addressee(s) and may contain proprietary, confidential or privileged
>>> information. If you are not the intended recipient, you should not
>>> disseminate, distribute or copy this e-mail. Please notify the
>>> sender immediately and destroy all copies of this message and any
>>> attachments. WARNING: Computer viruses can be transmitted via email.
>>> The recipient should check this email and any attachments for the
>>> presence of viruses. The company accepts no liability for any damage
>>> caused by any virus transmitted by this email. www.wipro.com
>> 
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> https://gridengine.org/mailman/listinfo/users
>> 
>> 
>> --
>> -- Skylar Thompson ([email protected])
>> -- Genome Sciences Department, System Administrator
>> -- Foege Building S046, (206)-685-7354
>> -- University of Washington School of Medicine
>> 
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> users mailing list
>> [email protected]
>> https://gridengine.org/mailman/listinfo/users
>> 
>> 
>> End of users Digest, Vol 52, Issue 22
>> *************************************
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any
>> attachments. WARNING: Computer viruses can be transmitted via email.
>> The recipient should check this email and any attachments for the
>> presence of viruses. The company accepts no liability for any damage
>> caused by any virus transmitted by this email. www.wipro.com
>> 
>> _______________________________________________
>> users mailing list
>> [email protected]
>> https://gridengine.org/mailman/listinfo/users
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments. WARNING: Computer viruses can be transmitted via 
> email. The recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any damage caused 
> by any virus transmitted by this email. www.wipro.com
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
> 


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

Reply via email to