-To add backfill slots to your execute node that is using a single partitionable slot. Use the following config. +{subsubsection: Audience} +If you have a HTCondor pool that is configured to use Partitionable slots and you wish to run Folding@home as backfill jobs on those machines using the recipe +{wiki: HowToConfigureFoldingAtHome here} + +{subsubsection: Strategy} +We will set up a set of backfill static slots that share the resources of the primary partitionable slot, but use those resources only then primary slot is idle or partially idle. + +We then will use HTCondor's "fetch work" configuration to run a script for each backfill slot that periodically generates a job classad for Folding@Home work. Those jobs will have a retirement time of 0 so that they can be pre-empted when the primary slot wants to use the resources. These jobs will all be run by a dedicated local user named *backfill* and will run at a fixed directory for each slot. This allows the Folding@home software to save progress periodically and then resume that work later if it is preempted. + + +The configuration fragment below can be customized by modifying =BackfillCpusPerSlot=, =BackfillMemoryPerSlot= =FAH_Owner=, =FAH_HOME= and =FAH_Executable= configuration variables near the top of the file. -This config adds a set of static slots, that will only run Folding@Home via workfetch, and only run jobs when the partitionable slot is not using the resources. {snip: pslot_backfill_folding_at_home.config} # Configuration to add Static backfill slots running Folding@Home to a HTCondor execute