Skip to content

WindowsSlave

Jonathan Guyer edited this page Sep 26, 2014 · 1 revision

Configuring a Windows Bitten Slave

These steps should enable a bitten slave on windows for building and testing FiPy.

 * Install pythonxy <http://www.pythonxy.com>
 * Install pysparse <http://pysparse.sf.net>
 * Go to the command line and type "{{{python}}}" and then type "{{{import pysparse}}}" and "{{{import numpy}}}" to check that everything is basically working.
 * Install bitten (same version as the master) "{{{easy_install http://svn.edgewall.org/repos/bitten/trunk/}}}"
 * Create a "{{{bitten.ini}}}" file in a directory. Something like
   {{{
   [fipy]
   inline=True
   Trilinos=False
   }}}
 * Execute the bitten command "{{{bitten-slave --verbose --config=bitten.ini --log=bitten.log http://www.matforge.org/fipy/builds}}}"
 * You should now have a working bitten slave. Of course, the bitten slave may go down periodically, like when you log off. To keep the slave running there are a number of options. Some involve creating a windows service, which I couldn't get working, but are probably better. An alternative is to just create a scheduled task. To start, create a python file "{{{bittenLaunch.py}}}" along side "{{{bitten.ini}}}" that simply relaunches the bitten slave if "{{{bitten-slave}}}" is not found with the "{{{tasklist}}}" command.

* Add the above script as a scheduled task. - Go to "" - Make sure the Task Scheduler is running and set to automatic. - Log off and log on and check that the Task Scheduler is still running. - Go to "" - Add "" along with the correct location to run in. - To get the task to run very frequently (every few minutes), click on the "" tab and then click on "". Also set the time for allowing this frequency to the maximum (9999 hours).

Clone this wiki locally