Created
May 14, 2012 21:19
-
-
Save sergiobuj/2697185 to your computer and use it in GitHub Desktop.
Rocks clusters. extend-compute like file to enable condor backfill with BOINC. Change project and user key to arguments as needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 15-05-2012: Sergio Botero: | |
| Installation of required libraries for BOINC client. | |
| 16-05-2012: Sergio Botero: | |
| Added condor_config.local options to enable Backfill | |
| with BOINC. | |
| Added Description. | |
| Added Changelog. | |
| Future work: make the boinc project and user key a variable | |
| that can be set to anything before the installation process. | |
| 16-05-2012: Sergio Botero: | |
| Added system user to boinc, creates no shell access and no home | |
| dir. | |
| 23-05-2012: Juan Pineda: | |
| Adedd lapack and blas packages, including development packages, | |
| it will be used to the next version of the extend-xml (RPM required). | |
| 27-06-2012: Sergio Botero | |
| Added g++ package. | |
| Added geos package (needs RPM). | |
| Added custom instalation of Python libraries (Shapely, Scipy, Setuptools). | |
| Update Changelog. | |
| Updated Description. | |
| 02-07-2012: Sergio Botero | |
| Moved changelog to different file to clean up the kickstart file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" standalone="no"?> | |
| <kickstart> | |
| <description> | |
| <!-- | |
| This extend file will append the backfill options to the local | |
| condor config file and the set up everything for BOINC to be | |
| able to connect to the WCG project set on the webpage. | |
| Aside from this extend, an 'adduser boinc' and 'rocks sync users' | |
| commands have to be performed. | |
| This file should be in -export-rocks-install-site-profiles-rocks-version/nodes | |
| After modifying this file, a 'rocks create distro' in -export-rocks-install | |
| should be performed. | |
| Required RPMs should be available at -export-rocks-install-contrib-6.0-x86_64-RPMS- | |
| --> | |
| </description> | |
| <changelog> | |
| <!-- See Changelog file --> | |
| </changelog> | |
| <main> | |
| </main> | |
| <pre> | |
| </pre> | |
| <package>libXScrnSaver.x86_64</package> | |
| <package>gcc-c++</package> | |
| <package>geos</package> | |
| <package>blas</package> | |
| <package>blas-devel</package> | |
| <package>lapack</package> | |
| <package>lapack-devel</package> | |
| <post> | |
| <file name="/opt/condor/etc/condor_config.local" mode="append"> | |
| ## Enable backfill for BOINC ## | |
| ENABLE_BACKFILL = TRUE | |
| BACKFILL_SYSTEM = BOINC | |
| START_BACKFILL = $(StateTimer) > (1 * $(MINUTE)) | |
| EVICT_BACKFILL = FALSE | |
| ## Configure BOINC ## | |
| BOINC_HOME = /boinc | |
| BOINC_Executable = /share/apps/BOINC/boinc | |
| BOINC_Universe = vanilla | |
| BOINC_InitialDir = $(BOINC_HOME) | |
| BOINC_Output = $(BOINC_HOME)/boinc.out | |
| BOINC_Error = $(BOINC_HOME)/boinc.err | |
| BOINC_Owner = boinc | |
| BOINC_Arguments = -no_gui_rpc --attach_project www.worldcommunitygrid.org 3cad487498d4519647fec78d9e534559 | |
| </file> | |
| /bin/mkdir /boinc | |
| /usr/sbin/adduser -r boinc | |
| /bin/chown -R boinc:boinc /boinc | |
| /opt/condor/sbin/condor_reconfig | |
| /bin/mkdir /var/opt/condor/config | |
| cd /tmp | |
| wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e | |
| wget http://pypi.python.org/packages/source/s/scipy/scipy-0.10.1.tar.gz#md5=6ad976549e22e04ca93e70cf55b70a22 | |
| wget http://pypi.python.org/packages/source/S/Shapely/Shapely-1.2.14.tar.gz#md5=be8efc68e83b3db086ec092a835ae4e5 | |
| tar -C /tmp/ -xf /tmp/setuptools-0.6c11.tar.gz | |
| tar -C /tmp/ -xf /tmp/Shapely-1.2.14.tar.gz | |
| tar -C /tmp/ -xf /tmp/scipy-0.10.1.tar.gz | |
| cd /tmp/setuptools-0.6c11 | |
| /opt/python/bin/python2.7 setup.py install | |
| cd /tmp/Shapely-1.2.14/ | |
| /opt/python/bin/python2.7 setup.py install | |
| cd /tmp/scipy-0.10.1/ | |
| /opt/python/bin/python2.7 setup.py install | |
| </post> | |
| </kickstart> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment