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

Re: [Condor-users] Job Submision based on Hostname



Did you try setting the Job's Requirements?

	Requirements = Machine=="target's fqdn"


matt

On May 3, 2006, at 4:08 PM, Ian Chesal wrote:

The submit file is not a shell script. Back ticks won’t work.


You can try the the $ENV(varname) syntax like this:


            +Name = $ENV(MACHINENAME)


Or you can write a shell script that writes your submit ticket for you:


            #!/bin/csh


            echo “# My submit file” > submit.ticket

            `hostname` >> submit.ticket

            ... and so on...

            condor_submit submit.ticket


- Ian


From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users- bounces@xxxxxxxxxxx] On Behalf Of Natarajan, Senthil
Sent: May 3, 2006 5:05 PM
To: Condor-Users Mail List
Subject: [Condor-users] Job Submision based on Hostname


Hi,

How to submit a job targeted to a particular machine.

I tried with Name = “machine name’ in the job description, it is not working, meaning the job is running on different machine not the one I mentioned under the name.

How to specify the job to run on a particular machine.

Thanks,

Senthil

_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users