Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] condor_submit dynamic slot command line issue
- Date: Fri, 30 Mar 2018 09:56:45 +0200 (CEST)
- From: "Beyer, Christoph" <christoph.beyer@xxxxxxx>
- Subject: Re: [HTCondor-users] condor_submit dynamic slot command line issue
Hi TJ,
Interesting, and makes sense then :)
Is the default interactive submit file defined on a per userbase for ex. Like a .file in $home or is it per submit host ?
HaÃpy easter
Best
Chris
--
Christoph Beyer
DESY Hamburg
IT-Department
Notkestr. 85
Building 02b, Room 009
22607 Hamburg
phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx
----- UrsprÃngliche Mail -----
Von: John M Knoeller <johnkn@xxxxxxxxxxx>
An: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Gesendet: Thu, 29 Mar 2018 23:48:30 +0200 (CEST)
Betreff: Re: [HTCondor-users] condor_submit dynamic slot command line issue
when you don't use a submit file with -interactive. condor_submit automatically loads a 'default' submit file which looks like this.
universe = vanilla
executable = /bin/sleep
arguments = 180
environment = "TMOUT=7200"
transfer_executable = false
notification = never
priority = 1000
request_memory = 512m
queue
When you use command line "key=value" with condor_submit, those statements are prefixed to the submit file, so
whatever is in the file will win. If you want your request_memory to win, you have to use -append so your statements
are appended to the file.
Alternatively, you could change the default interactive submit file so that it honors command line values like this...
request_memory = $(request_memory:512m)
-tj
-----Original Message-----
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Heiko SchrÃter
Sent: Thursday, March 29, 2018 6:53 AM
To: htcondor-users@xxxxxxxxxxx
Subject: [HTCondor-users] condor_submit dynamic slot command line issue
Hello,
i run into the following phenomen when trying to start interactive jobs
on a dynamic slot.
It seems that "request_memory" is not recognized from the command line
i.e. (Machines have 16GB RAM.)
condor_submit -i "request_memory=9000" fails with "No match found"
But using a "Submit file" the request works:
condor_submit -i condorSubmit
File condorSubmit:
request_memory = 9000
Queue
I tried "RequestMemory" syntax as well to no avail.
Is there anything i do miss ?
Regards
Heiko
$CondorVersion: 8.4.2 Feb 22 2016 BuildID: Debian-8.4.2~dfsg.1-1build1
Debian-8.4.2~dfsg.1-1build1 $
$CondorPlatform: X86_64-Ubuntu_ $
condor_config:
# Setting dynamic slots
NUM_SLOTS = 1
NUM_SLOTS_TYPE_1 = 1
SLOT_TYPE_1 = cpus=100%, mem=95%, swap=100%, disk=15%
SLOT_TYPE_1_PARTITIONABLE = true
# NEGOTIATOR
MODIFY_REQUEST_EXPR_REQUESTMEMORY = quantize(RequestMemory, 256)
JOB_DEFAULT_REQUESTMEMORY = ifThenElse(MemoryUsage =!= UNDEFINED,
MemoryUsage, 10)
JOB_DEFAULT_REQUESTCPUS = 1
JOB_DEFAULT_REQUESTDISK = DiskUsage
# STARTD
MODIFY_REQUEST_EXPR_REQUESTCPUS = quantize(RequestCpus, {1})
MODIFY_REQUEST_EXPR_REQUESTMEMORY = quantize(RequestMemory, {128})
MODIFY_REQUEST_EXPR_REQUESTDISK = quantize(RequestDisk, {256})
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/