{section: How to configure backfill tasks such as BOINC} -Should work in Condor version: 7.2 +Should work in HTCondor version: 7.2 -When Condor is not busy running jobs from users, you may want it to run some other backfill task. Condor provides special support for backfilling with BOINC. However, the built-in support assumes that BOINC can decide for itself how many tasks to run in order to fill the idle cpus on a multi-cpu/core machine. At this time (BOINC 6.4), there is no such capability in BOINC. Therefore, the built-in support for BOINC is only really capable of backfilling a single slot. (If you set it up, Condor may show multiple slots in the backfill state, but in fact only a single instance of BOINC will be running and it will be running a statically configured number of work units in parallel--typically just one.) +When HTCondor is not busy running jobs from users, you may want it to run some other backfill task. HTCondor provides special support for backfilling with BOINC. However, the built-in support assumes that BOINC can decide for itself how many tasks to run in order to fill the idle cpus on a multi-cpu/core machine. At this time (BOINC 6.4), there is no such capability in BOINC. Therefore, the built-in support for BOINC is only really capable of backfilling a single slot. (If you set it up, HTCondor may show multiple slots in the backfill state, but in fact only a single instance of BOINC will be running and it will be running a statically configured number of work units in parallel--typically just one.) -To get around that problem, there is a different way to configure Condor to run BOINC backfill (or any other type of backfill task). It uses the startd's fetch-work hook to run one instance of the backfill task per idle Condor slot. Here is an example configuration: +To get around that problem, there is a different way to configure HTCondor to run BOINC backfill (or any other type of backfill task). It uses the startd's fetch-work hook to run one instance of the backfill task per idle HTCondor slot. Here is an example configuration: {code} BOINC_HOME = /opt/boinc @@ -41,7 +41,7 @@ # reference $(BOINC_SLOT)) eval `awk '/^SlotID/ {print "export _CONDOR_BOINC_SLOT="$3}'` -# load the following config variables from the condor configuration +# load the following config variables from the HTCondor configuration BOINC_ConfigVars=" BOINC_Executable BOINC_InitialDir @@ -58,7 +58,7 @@ # if anything is not defined, bail out if [ "$?" != 0 ] || [ "$value" = "" ]; then - echo "Failed to look up $var in condor configuration." 2>&1 + echo "Failed to look up $var in HTCondor configuration." 2>&1 exit 1 fi