[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Requirement expression for the memory



Thanks Erik!

That solved the problem.

/Sónia

 

Från: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] För Erik Aronesty
Skickat: den 15 december 2010 17:56
Till: Condor-Users Mail List
Ämne: Re: [Condor-users] Requirement _expression_ for the memory

 

When you submit the job add a "Memory" requirement... or else condor will create one for you based on ImageSize.  The automatically generated one is often OK.... but sometimes is a problem.

 

Here's how I run one simple job where the image size is overestimated for some reason (when actually running, the job never takes up much):

 

CONDOR_REQUIREMENTS="Memory>2000" condor_run foo 

- Erik

 

On Wed, Dec 15, 2010 at 5:04 AM, Sónia Liléo <sonia.lileo@xxxxx> wrote:

Hi Condor-Users,

 

Some of the jobs I am running get into the idle state.

The condor_q –better-analyze command says that this is because my machines are rejected by my job’s requirements.

 

However the only requirements that I define in the sub file are the following

requirements = (OpSys == "LINUX" && Arch == "X86_64") and should_transfer_files = YES

But these conditions are fulfilled by some of my machines. So this is not the problem.

 

Condor_q –better-analyze says that:

 

 The Requirements _expression_ for your job is:

 

( ( target.OpSys == "LINUX" && target.Arch == "X86_64" ) ) &&

( target.Disk >= DiskUsage ) && ( ( ( target.Memory * 1024 ) >= ImageSize ) &&

( ( RequestMemory * 1024 ) >= ImageSize ) ) && ( target.HasFileTransfer )

 

 

And also that the condition that should be removed is,

 

Condition                        

 ---------                        

1   ( ( ( 1024 * target.Memory ) >= 2750000 ) && ( ( 1024 * ceiling(ifThenElse(J

obVMMemory isnt undefined,JobVMMemory,2.685546875000000E+003)) ) >= 2750000 ) )

Machines Matched   

----------------   

0                  

Suggestion

---------

REMOVE

 

 

My questions are:

Where is this condition defined?

I have at the moment 6 GB memory for 4 cores and RESERVED_MEMORY is set to 0.

Why is this condition preventing the jobs from running?

 

 

Cheers,

Sónia

 

 

Sónia Liléo
O2 Strandvägen 5B 114 51 Stockholm
Tel: +46 8 559 310 37 Mobile: +46 73 752 95 74

www.o2.se

 

 


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/