Supercharge Your LAN With Condor, part 2 - page 3
Submitting a Basic Condor Job
Classified Advertisements (ClassAds) are what Condor passes between processes to schedule jobs. There's a ClassAd language, which you can use to specify Requirements and Rank in your job submission file. It's pretty intuitive, especially if you have any experience with C.
requirements = arch == "INTEL" && cpus == "2" && disk == "35000"
specifies an Intel processor machine, with 2 CPUs, and 35,000kB (35 MB) of disk space available for the job. You can specify a number of other things, as well. Note that while the attribute names (arch etc) are case-insensitive, like everything else in the job submit file, the strings (e.g INTEL) are case-sensitive.
Rank allows you to specify which, of the machines that meet your requirements, is the preferred one. You can specify a particular machine or machines:
rank = machine == "client1.example.com"or just that you want the machine with the best integer performance:
rank = mips
You can check before you specify this how machines are ranked, with the command condor_status -constraint mips - it's worth doing this to check firstly that this information is defined, and secondly that you'll get the machines you expect!
The Condor documentation is well worth a read to help you make the most of Condor. You can make your job files much more complicated, and you can experiment with the config settings to get the best options for your setup. The best thing to do is simply to experiment!
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Linux from Scratch, Ubuntu 14.01 Beta and Arch Updates