We have a unique situation as weâre still pulling up a few nodes from CentOS 6, but weâve used the trick here (https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=OsMigrationHints)
to submit to C7 by default. Unfortunately, our submit server is still C6 so this is causing issues. I tried to fix this by setting the dagman submit file to include (opsysandver == centos6), but in the resulting classad it showed centos7. #### From the submit file #### # Filename: blast_contigs.dag.condor.sub # Generated by condor_submit_dag blast_contigs.dag universe = scheduler executable = /usr/bin/condor_dagman getenv = True output = blast_contigs.dag.lib.out error = blast_contigs.dag.lib.err log = blast_contigs.dag.dagman.log remove_kill_sig = SIGUSR1 requirements = ( target.OpSysAndVer == "CentOS6" ) #### From the classad #### Requirements = (Target.OpSysandVer == "CentOS7") && (TARGET.Arch == "X86_64") && (TARGET.OpSys == "LINUX") && (TARGET.Disk >= RequestDisk) && (TARGET.Memory >=
RequestMemory) #### Thanks for your help! Kevin From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
On Behalf Of Mark Coatsworth Hi Kevin, Scheduler universe jobs can only run on the submit machine. They cannot get sent out to execute nodes. This behavior is baked in and cannot be changed. As for running -no_submit and then editing the dagman submit file: this is just a regular submit file. It doesn't get any special treatment. For the Requirements _expression_ showing up different in the job ad: we do some manipulation behind the scenes of the Requirements _expression_ based on other things in your submit file (and sometimes based on pool-wide settings). So it will
not show up exactly as you provided it. Can you include both your modified dagman submit file, along with what you're seeing in the job ad, so we can see if this is expected behavior? Mark On Wed, Dec 4, 2019 at 11:21 AM Kevin Leigeb via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:
-- Mark Coatsworth Systems Programmer Center for High Throughput Computing Department of Computer Sciences University of Wisconsin-Madison |