Changes between Version 1 and Version 2 of Bitten Slave Daemon Windows
- Timestamp:
- Oct 24, 2009, 10:04:34 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Bitten Slave Daemon Windows
v1 v2 1 1 = Configuring a Windows Bitten Slave = 2 2 3 These steps should enable a bitten slave on windows for building and testing FiPy.3 These steps should enable a bitten slave on Windows. 4 4 5 * Install pythonxy <http://www.pythonxy.com> 6 * Install pysparse <http://pysparse.sf.net> 7 * Go to the command line and type "{{{python}}}" and then type "{{{import pysparse}}}" and "{{{import numpy}}}" to check that everything is basically working. 5 * Install python, setuptools and bitten 8 6 * Install bitten "{{{easy_install http://svn.edgewall.org/repos/bitten/trunk/}}}" 9 * Create a "{{{bitten.ini}}}" file in a directory. Something like 10 {{{ 11 [fipy] 12 inline=True 13 Trilinos=False 14 }}} 15 * Execute the bitten command "{{{bitten-slave --verbose --config=bitten.ini --log=bitten.log http://www.matforge.org/fipy/builds}}}" 7 * Execute the bitten command "{{{bitten-slave --verbose --config=bitten.ini --log=bitten.log http://www.example.com/tract/project/builds}}}" 16 8 * 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. 17 9 {{{ … … 26 18 '--config=bitten.ini', 27 19 '--log=bitten.log', 28 'http://www. matforge.org/fipy/builds']20 'http://www.example.com/trac/project/builds'] 29 21 30 22