<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-35443024</id><updated>2012-01-25T09:39:25.037-06:00</updated><title type='text'>SciLINC Dev</title><subtitle type='html'>... progress, issues and development notes on the Scientific Literature Indexing on Networked Computers (SciLINC) project</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-35443024.post-7607336121002712954</id><published>2007-05-21T09:39:00.000-05:00</published><updated>2007-05-21T11:04:48.298-05:00</updated><title type='text'>Problems changing a BOINC server's name</title><content type='html'>The following email summarizes a problem that we had when we changed our server's name to make it available outside our firewall.&lt;br /&gt;&lt;blockquote&gt;Solution found:&lt;br /&gt;&lt;blockquote&gt;I wrote:&lt;br /&gt;&lt;br /&gt;Okay we changed the name of our server from an internal name to an external one that can be accessed across the Internet. My problem is that bin/start reports:&lt;br /&gt;&lt;br /&gt;Entering ENABLED mode&lt;br /&gt;Starting daemons&lt;br /&gt;&lt;br /&gt;And nothing happens.  "ps aux|grep feeder" only reports the grep instance.&lt;br /&gt;&lt;br /&gt;I have changed the server name in the mysql.user table, in /etc/sysconfig/network, in config.xml and I'm sure a few other locations. Restarted the machine, etc. I also verified the permissions on the new log_... and pid_... folders.&lt;/blockquote&gt;Found the problem. The 'stop_daemons' file was not being deleted by bin/start. I did not realize that the config.xml host setting should only be 'www'. Not the FQDN.&lt;br /&gt;&lt;br /&gt;The config host has to match the localhost name that is internal to bin/start. This is *not* the same as what is returned by 'hostname'.&lt;br /&gt;&lt;br /&gt;This took awhile to find, because no log files were being generated, neither did start report any errors. I only saw it by running feeder under gdb, where the output apparently goes to stdout/stderr instead of (or in addition to) the log file.&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;Ron Parker&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;UPDATE:&lt;/span&gt;&lt;br /&gt;One additional file that needed changed in the SciLINC project directory was &lt;code&gt;html/user/schedulers.txt&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;It is also necessary to update the &lt;code&gt;app_version&lt;/code&gt; table.  The path to the application files on the server is hard coded in the XML data fields of this table. Running &lt;code&gt;bin/update_versions&lt;/code&gt; will update it, but it may be necessary to first delete the rows that refer to the old server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-7607336121002712954?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/7607336121002712954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=7607336121002712954&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/7607336121002712954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/7607336121002712954'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2007/05/problems-changing-boinc-servers-name.html' title='Problems changing a BOINC server&apos;s name'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-1833168184082369184</id><published>2007-01-19T07:40:00.000-06:00</published><updated>2007-01-19T08:34:47.596-06:00</updated><title type='text'>Visual Studio 2005 missing Msi.lib</title><content type='html'>&lt;strong&gt;Visual Studio 2005&lt;/strong&gt; only installs msi.lib for the AMD-64 platform. Installing the latest &lt;strong&gt;Platform SDK&lt;/strong&gt;, PSDK will install it for x86, IA-64 and AMD-64. As of this post, &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB"&gt;&lt;strong&gt;Microsoft Platform SDK for Windows Server 2003 R2&lt;/strong&gt;&lt;/a&gt; was the most recent version. That page should say whether or not there is a more recent version.&lt;br /&gt;&lt;br /&gt;Once it is installed, you have to tell &lt;strong&gt;Visual Studio&lt;/strong&gt; where to find the &lt;strong&gt;PSDK&lt;/strong&gt; files. The file path settings are part of the &lt;strong&gt;Visual Studio&lt;/strong&gt; options which are accessed from the &lt;strong&gt;&lt;span style="font-size:0;"&gt;ToolsOptions.&lt;/span&gt;..&lt;/strong&gt; menu item.&lt;br /&gt;&lt;br /&gt;Under &lt;strong&gt;Projects and Solutions&lt;/strong&gt;, select &lt;strong&gt;VC++ Directories&lt;/strong&gt;. Then, pick each item under &lt;strong&gt;Show directories for &lt;/strong&gt;looking for paths have PlatformSDK in them. Insert an entry just before it that refers to the same subdirectory under &lt;code&gt;$(ProgramFiles)\Microsoft Platform SDK for Windows Server 2003 R2&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/165/362513179_5a38b10a18_o_d.jpg"&gt;&lt;img style="CURSOR: pointer" alt="Visual Studio Options" src="http://farm1.static.flickr.com/165/362513179_5a38b10a18_o_d.jpg" width="310" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The up- and down-arrow buttons may be used to move the new entry to the right place in the list.&lt;br /&gt;&lt;br /&gt;Now, &lt;strong&gt;Rebuild &lt;/strong&gt;any solution that needs the msi.lib library.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-1833168184082369184?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/1833168184082369184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=1833168184082369184&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/1833168184082369184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/1833168184082369184'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2007/01/visual-studio-2005-missing-msilib.html' title='Visual Studio 2005 missing Msi.lib'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-6893153584750089329</id><published>2007-01-16T10:20:00.000-06:00</published><updated>2007-01-16T10:32:00.381-06:00</updated><title type='text'>Importing Python Subversion Archive into Git</title><content type='html'>While it is not well advertised, it is possible to download a snapshot of the &lt;span style="font-weight: bold;"&gt;Python &lt;/span&gt;Subversion repository via &lt;code&gt;rsync&lt;/code&gt;.&lt;br /&gt;&lt;pre&gt;rsync -avP svn.python.org::ftp/pub/svn.python.org/snapshots/projects-svn-tarball.tar.bz2 .&lt;/pre&gt;Note: I discovered later that it can be downloaded by browser as well, &lt;a href="http://svn.python.org/snapshots"&gt;http://svn.python.org/snapshots&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Once the file is downloaded expand it:&lt;br /&gt;&lt;pre&gt;bunzip2 projects-svn-tarballs.tar.bz2|tar xf -&lt;/pre&gt;Then use &lt;code&gt;git-svnimport&lt;code&gt; to create the baseline git repository:&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;&lt;pre&gt;git-svnimport -v -C python.git -T python/trunk -t python/tags -b python/branches file://`pwd`/projects&lt;/pre&gt;Following this the archive may be brought up to date and kept upto date using:&lt;br /&gt;&lt;pre&gt;git-svnimport -v -C python.git -T python/trunk -t python/tags -b python/branches http://svn.python.org/projects&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-6893153584750089329?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/6893153584750089329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=6893153584750089329&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/6893153584750089329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/6893153584750089329'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2007/01/importing-python-subversion-archive.html' title='Importing Python Subversion Archive into Git'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-6904065209103633508</id><published>2007-01-11T13:48:00.000-06:00</published><updated>2007-01-11T15:53:29.306-06:00</updated><title type='text'>Importing SourceForge Subversion Projects into Git</title><content type='html'>At least for the initial import it is faster to &lt;a href="https://sourceforge.net/docs/E09#16"&gt;create a local mirror of the desired repository using rsync&lt;/a&gt;. Taking the Simplified Wrapper and Interface Generator project, SWIG, as an example:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;rsync -avz rsync://swig.svn.sourceforge.net/svn/swig/* swig.svn&lt;/pre&gt;Made a copy of the &lt;strong&gt;Subversion&lt;/strong&gt; SWIG repository in about 10 minutes.&lt;br /&gt;&lt;br /&gt;(On &lt;strong&gt;CentOS 4&lt;/strong&gt;, I had to upgrade svn from the source to be able to access this mirror. I installed the &lt;strong&gt;RHEL4&lt;/strong&gt; RPMs that were pointed to on &lt;a href="http://subversion.tigris.org/project_packages.html"&gt;the Subversion download page&lt;/a&gt;. I needed the &lt;code&gt;apr&lt;/code&gt;, &lt;code&gt;apr-util&lt;/code&gt;, &lt;code&gt;subversion&lt;/code&gt; and &lt;code&gt;subversion-perl&lt;/code&gt; packages.)&lt;br /&gt;&lt;br /&gt;Then I was able to import this into a git repository using:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;git-svnimport -C swig.git \&lt;br /&gt;              file://`pwd`/swig.svn&lt;/pre&gt;This took about 13 minutes.&lt;br /&gt;&lt;br /&gt;After importing a new repository, repacking recommended:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;cd swig.git&lt;br /&gt;git repack -a -d&lt;/pre&gt;This reduces the amount of space the repository requires. It can be significant on a large or active repository.&lt;br /&gt;&lt;br /&gt;Future updates can then be done fairly effeciently from within the &lt;code&gt;swig.git&lt;/code&gt; subdirectory with:&lt;br /&gt;&lt;pre&gt;git-svnimport -C . &lt;a href="https://svn.sourceforge.net/svnroot/swig"&gt;https://svn.sourceforge.net/svnroot/swig&lt;/a&gt;&lt;/pre&gt;Because it is no longer needed, the swig.svn directory can now be deleted.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Just some statistics&lt;/strong&gt;&lt;br /&gt;While the rsync'd Subversion repository took up 238MiB, the git repository only used 63MiB. Most of this is the working copy of the code. The actual repository &lt;code&gt;swig.git/.git&lt;/code&gt; only occupied 25MiB. (Barely a tenth of what Subversion required.)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Alternatives&lt;/strong&gt;&lt;br /&gt;While I could have run &lt;code&gt;git-svnimport&lt;/code&gt; directly against the remote repository, this would have taken about 32 hours. Even using &lt;code&gt;svm&lt;/code&gt; or &lt;code&gt;SVN::Mirror&lt;/code&gt; in place of &lt;code&gt;rsync&lt;/code&gt; would have required around 10 hours.&lt;br /&gt;&lt;br /&gt;If you can use &lt;code&gt;rsync&lt;/code&gt; or another tool to make a local copy of the repository, the import will run much more quickly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-6904065209103633508?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/6904065209103633508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=6904065209103633508&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/6904065209103633508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/6904065209103633508'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2007/01/importing-sourceforge-subversion.html' title='Importing SourceForge Subversion Projects into Git'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-7676254849500654867</id><published>2007-01-09T13:30:00.000-06:00</published><updated>2007-03-24T07:24:39.979-05:00</updated><title type='text'>Fixing Synergy Shift Behavior</title><content type='html'>When running the &lt;a href="http://synergy2.sourceforge.net/"&gt;Synergy&lt;/a&gt; client on CentOS with a Window machine operating as the server, I had problems with the behavior of the &lt;tt&gt;[Shift]&lt;/tt&gt; key.  There was a delay from when &lt;tt&gt;[Shift]&lt;/tt&gt; was pressed until it took effect and often the left &lt;tt&gt;[Shift]&lt;/tt&gt; key would not take effect at all.&lt;br /&gt;&lt;br /&gt;This was corrected by downloading, building and installing the latest source RPM from &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=59275"&gt;the Synergy site&lt;/a&gt;.  You may have as much luck with the binary RPM.  I just didn't try it.&lt;br /&gt;&lt;br /&gt;Update: Fixed typo&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-7676254849500654867?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/7676254849500654867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=7676254849500654867&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/7676254849500654867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/7676254849500654867'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2007/01/fixing-synergy-shift-behavior.html' title='Fixing Synergy Shift Behavior'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-3399610998530684173</id><published>2006-12-19T14:22:00.000-06:00</published><updated>2006-12-19T14:43:15.204-06:00</updated><title type='text'>BOINC and Tagging?</title><content type='html'>Following &lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html"&gt;yesterday's conference&lt;/a&gt;, I couldn't help but keep coming back to the idea of tagging. Yes, I really do mean the popular concept of tagging used on so many social web sites like &lt;a href="http://del.icio.us"&gt;del.icio.us&lt;/a&gt; and &lt;a href="http://www.myspace.com/"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;MySpace&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Why tagging? It's popular and it could provide a possible answer to some of the problems discussed yesterday.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Finding Projects&lt;/span&gt;&lt;br /&gt;If projects had various tags, a user could choose to subscribe to or ignore projects based on different tags they were labelled with.  These tags could used by the account managers and other sites. Then as projects appeared and disappeared they could automatically be added to your client, if you chose to do so.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;User Visibility&lt;/span&gt;&lt;br /&gt;One of the questions yesterday had to do with retaining people and them being able to see where they sat in the &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;BOINC&lt;/span&gt; world. Were they advancing or falling in the listings? Did their contributions matter?&lt;br /&gt;&lt;br /&gt;What if users tagged themselves? Say I tagged myself with: Male, USA, Single-Computer, Linux, Missouri, &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;MoBot&lt;/span&gt;.  Then I could see how I placed within each of those tags.  I may not show up on the overall &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;CPDN&lt;/span&gt; list, but I might under Single-Computer+Linux+Missouri for example.&lt;br /&gt;&lt;br /&gt;Well, good or bad, those were some of my thoughts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-3399610998530684173?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/3399610998530684173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=3399610998530684173&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/3399610998530684173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/3399610998530684173'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/12/boinc-and-tagging.html' title='BOINC and Tagging?'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-9116346804108514238</id><published>2006-12-19T11:45:00.000-06:00</published><updated>2006-12-19T14:11:00.878-06:00</updated><title type='text'>BOINC Conference Summary</title><content type='html'>Here is a "brief" summary of the BOINC conference that was held online, December 18th. It took place over &lt;a href="http://www.skype.com/"&gt;Skype&lt;/a&gt; with people from all over the world. At times the connections were a little week (at least on my end), but it was a very worthwhile couple of hours.&lt;br /&gt;&lt;br /&gt;This comes from my quickly scribbled notes. Nothing is a direct quote (unless my hand and memory got lucky) and I am sure there are many errors. I may have even missed a question or two.&lt;br /&gt;&lt;br /&gt;If you want the definitive source, get the mp3. It should be available shortly from the &lt;a href="http://www.boincuk.com/"&gt;BOINC UK site&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The questions mostly broke down into two basic categories.  Those about &lt;a href="http://boinc.berkeley.edu/"&gt;BOINC&lt;/a&gt; in general and those specifically related to &lt;a href="http://setiathome.ssl.berkeley.edu/"&gt;SETI@home&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;General Question&lt;/span&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#wish"&gt;If you had one wish what would it be?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;BOINC Questions&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#vanilla"&gt;With all of the optimized BOINC clients available why do we still need the "vanilla" client?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#cpdn"&gt;How can we resolve issues with large workunits?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#subgroups"&gt;Have you considered subteams or a way to give users more visibility?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#scalability"&gt;What scalability issues are there as the number of projects continues to grow?&lt;br /&gt;&lt;/a&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#gpus"&gt;What is the status of using GPUs for computation?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#clients"&gt;Question about clients and credits.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#media"&gt;What do you see as the relationship between BOINC and the media?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#sandboxing"&gt;What about sandboxing?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;SETI@home Questions&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#recorder"&gt;What is the status of the Southern Hemisphere data recorder?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#cost"&gt;What does a data recorder cost?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#Arecibo"&gt;What it the likelihood of Arecibo shutting down?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#optical"&gt;What is the status of optical SETI work?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#coverage"&gt;What percentage of stars have been listened to?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#leakage"&gt;What about picking up leakage of TV, radio, and other broadcasts?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#astropulse"&gt;What is the projected rollout date for astropulse?&lt;/a&gt;&lt;br /&gt;&lt;a href="http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html#vla"&gt;What about VLA data?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="vanilla"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; With all of the optimized BOINC clients available why do we still need the "vanilla" client?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; The optimized client was a kludge for the older version of SETI so that users would get the "correct" amount of credit.  Now that SETI has moved to flops based computation there is no need for the optimized client.&lt;br /&gt;&lt;br /&gt;Now, if you are actually talking about optimized applications (projects) as opposed to the BOINC client software that coordinates fetching workunits and running the projects on your local machine, they help. But, the issue is that there are two many distinct architectures and sub-architectures to properly test all of them.&lt;br /&gt;&lt;br /&gt;&lt;a name="cpdn"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; Due to the size of the &lt;a href="http://www.climateprediction.net/"&gt;Climate Prediction&lt;/a&gt; work units, many users simply crash and are never heard from again.  How can we resolve this? Perhaps with popups and other messages? --- Mo (Maureen?)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; We support &lt;a href="http://boinc.berkeley.edu/trickle.php"&gt;trickle messages&lt;/a&gt; that can update the user as they continue to work on very large work units.  Climate Prediction could do a bit of work to provide screensaver updates through using these trickle messages.&lt;br /&gt;&lt;br /&gt;While some would like popup messages that let them know when something goes awry or needs attention, others would see this as intrusive. --- &lt;a href="http://boinc.berkeley.edu/anderson/"&gt;Dr. David Anderson&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="recorder"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; What is the status of the Southern Hemisphere data recorder for SETI at the &lt;a href="http://www.parkes.atnf.csiro.au/"&gt;Parkes Observatory&lt;/a&gt;? --- Mark (Ohio, USA)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; With the threatened shut down of &lt;a href="http://www.naic.edu/"&gt;the Arecibo telescope&lt;/a&gt; in 5 years we have to focus there and consider the possible transfer of equipment after that. ---          &lt;a href="http://setiathome.berkeley.edu/%7Ekorpela/"&gt;Dr. Eric Korpela&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="cost"&gt;&lt;span style="font-weight: bold;"&gt;Q2.&lt;/span&gt;&lt;/a&gt; What does a recorder cost? --- Mike&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A2.&lt;/span&gt; It depends upon the donations of equipment, but even with the donations received, the original recorder cost around $300,000 (US). --- Eric&lt;br /&gt;&lt;br /&gt;&lt;a name="Arecibo"&gt;&lt;span style="font-weight: bold;"&gt;Q3.&lt;/span&gt;&lt;/a&gt; What is the likelihood of Arecibo shutting down? --- Mike&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A3.&lt;/span&gt; The problem is that there are &lt;a href="http://topuertorico.org/government.shtml"&gt;no congressmen with voting power&lt;/a&gt; for Arecibo.  It is in Puerto Rico and this is really a political financial decision. --- Eric&lt;br /&gt;&lt;br /&gt;&lt;a name="optical"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; What about &lt;a href="http://seti.ssl.berkeley.edu/opticalseti/"&gt;Optical SETI&lt;/a&gt; work? --- Tiare (Chile)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; The optical work we are doing is relatively primitive compared to the radio work.  It would be highly unlikely for each of our three sensors to receive a flash, although it has been guessed that a laser pulse directed at us from extraterrestrial sources could give a pulse at all three wavelengths. --- Eric&lt;br /&gt;&lt;br /&gt;&lt;a name="wish"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; If you had one wish what would it be?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; &lt;span style="font-style: italic;"&gt;Something indistinct about Microsoft. --- David&lt;/span&gt;&lt;br /&gt;Better hardware --- ???&lt;br /&gt;A verifiable contact --- Eric&lt;br /&gt;Accurate benchmarking --- David&lt;br /&gt;&lt;br /&gt;&lt;a name="subgroups"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; Have you considered subgroups within teams so that users would have a better chance of seeing themselves showing up on a top 10?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; We thought that if the servers generated sufficiently refined lists based upon data available to them that this would happen automatically. So far, it has not.&lt;br /&gt;&lt;br /&gt;&lt;a name="coverage"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; What percentage of stars have been listened to? --- John (USA)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; Arecibo has had pretty good coverage, but it only sees about 25% of the sky. &lt;a href="http://setiathome.berkeley.edu/sah_plans.php#recorder"&gt;Multi-beam&lt;/a&gt; is 30%(?) more sensitive and allows us to listen to sources that are 5 times more distant. We have also done some targeting with high bandwidth, but it is a tradeoff, bandwidth vs. coverage. We can listen to a lot on a few frequencies, or listen to a few things on a lot of frequencies.&lt;br /&gt;&lt;br /&gt;When you look at all three, bandwidth, distances and sky coverage, we have had relatively little overall coverage. --- Eric&lt;br /&gt;&lt;br /&gt;&lt;a name="leakage"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; What about picking up leakage of TV, radio, and other broadcasts?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; Omnidirectional signals like those do not go very far.  Even with a directed beam we can only reach about 50(?) lightyears with broadcasts of our own, say from Arecibo.&lt;br /&gt;&lt;br /&gt;&lt;a name="scalability"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; It seems the number of projects is growing rapidly. What are the limitations of BOINC as this continues? --- Maureen&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; Since the BOINC project does not supply centralized servers,there are really no limits with respect to that. It is more a problem in terms of project discovery. &lt;a href="http://boinc.berkeley.edu/acct_mgrs.php"&gt;BOINC account managers&lt;/a&gt; are one solution to that problem. BOINC mutual funds may be another.&lt;br /&gt;&lt;br /&gt;BOINC mutual funds would be where an individual could say they are interested in computing for cancer research, but they don't want to have to keep track of cancer research projects as they come and go, so they subscribe to a "cancer research mutual fund" that would keep track of these things for them.  Essentially this would be using intermediaries like the American Cancer Society to keep track of these things. --- David&lt;br /&gt;&lt;br /&gt;&lt;a name="gpus"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; &lt;a href="http://ati.amd.com/"&gt;ATI&lt;/a&gt; has expressed interest in working with BOINC on producing GPU accelerated interfaces and &lt;a href="http://folding.stanford.edu/"&gt;Folding@Home&lt;/a&gt; has had success with a similar initiative. What is the status or progress in this area? --- Ron (Missouri, USA)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; We tried doing some work with the &lt;a href="http://www.nvidia.com/"&gt;NVIDIA&lt;/a&gt; GPUs but the architecture was not really conducive to integrating with them. It is our understanding that ATI may have a more accessible architecture, but so far no projects have bit on the offer to work with them.&lt;br /&gt;&lt;br /&gt;We are looking at using the &lt;a href="http://en.wikipedia.org/wiki/Cell_%28microprocessor%29"&gt;Cell Processor&lt;/a&gt; in the &lt;a href="http://www.us.playstation.com/PS3"&gt;PlayStation® 3&lt;/a&gt;. It may be much better.  It is several times faster than a GPU and about 50x faster than a standard processor.  It also give much better computational power per Watt of electricity making it more environmentally friendly. --- David&lt;br /&gt;&lt;br /&gt;I have not given up on GPUs. If there are any GPU programmers out there that are interesting in helping out on SETI@home, I would be very interested to hear from them. --- Eric&lt;br /&gt;&lt;br /&gt;&lt;a name="clients"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; &lt;span style="font-style: italic;"&gt;Indistinct&lt;/span&gt; --- Tiare (Chile)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; We have created a new simple GUI in cooperation with the &lt;a href="http://www.worldcommunitygrid.org/"&gt;Community Grid&lt;/a&gt;.  It will make the &lt;a href="http://boinc.berkeley.edu/project_skin.php"&gt;BOINC client skinnable&lt;/a&gt;.  We are also looking at a unified credit system that would allow us to grant credit for donated storage space as well as for donated CPU time.  We would like to retain a single credit scoring system. But, benchmarking this is difficult. --- David&lt;br /&gt;&lt;br /&gt;&lt;a name="astropulse"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; What is the projected rollout date for &lt;a href="http://setiathome.berkeley.edu/beta/"&gt;AstroPulse&lt;/a&gt;? ---  Derek (Guam)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;AstroPulse is a long promised set of work units for SETI@home. According to a previous interview there had been a grad. student that was supposed to be working on it, but he found it more interesting to work on other things, so the effort that was put forth never came to fruition.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; We have a new grad. student working on it. Hopefully it will be in beta next month or so.  That would be nice, since he will have some time off of class then. --- Eric&lt;br /&gt;&lt;br /&gt;&lt;a name="media"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; When the &lt;a href="http://bbc.co.uk/"&gt;BBC&lt;/a&gt; did its documentary on &lt;a href="http://www.climateprediction.net/"&gt;Climate Prediction.Net&lt;/a&gt; it greatly enhanced the participation in the project. What do you see as the relationship between BOINC and the media? --- Maureen&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; Media coverage helps greatly. But many of those participants did not stick around long, for reasons we've already discussed. --- David&lt;br /&gt;&lt;br /&gt;&lt;a name="sandboxing"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; &lt;span style="font-style: italic;"&gt;Indistinct question about Sandboxing? --- Ian&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; We are using user-account based sandboxing and we recommend that the application runs as a limited user. We have this setup on the Mac already.  It works with a little help on Linux as well. The problem (as usual) is Windows.  Although we expect to have a Windows version of sandboxing available in about 2-3 month. --- David&lt;br /&gt;&lt;br /&gt;&lt;a name="vla"&gt;&lt;span style="font-weight: bold;"&gt;Q.&lt;/span&gt;&lt;/a&gt; &lt;span style="font-style: italic;"&gt;Something about &lt;a href="http://www.vla.nrao.edu/"&gt;VLA&lt;/a&gt; usage?  --- Derek&lt;/span&gt;&lt;span style="font-style: italic;"&gt; (Guam)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A.&lt;/span&gt; None currently. &lt;span style="font-style: italic;"&gt;Allen(?) telescope &lt;/span&gt;is expanding to 45 dishes. &lt;span style="font-style: italic;"&gt;[Garbled]&lt;/span&gt; needs more dishes, less than 45 does not provide what we need.  Originally &lt;span style="font-style: italic;"&gt;[garbled]&lt;/span&gt; was supposed to have around 200 telescopes, but due to cutbacks this has not happened. --- Eric&lt;br /&gt;&lt;br /&gt;Well that's all I have from my notes, and a little memory thrown in.&lt;br /&gt;&lt;br /&gt;I'd like to thank Mike and all those that arranged the conference and David and Eric for taking time out to answer our questions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-9116346804108514238?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/9116346804108514238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=9116346804108514238&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/9116346804108514238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/9116346804108514238'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/12/boinc-conference-summary.html' title='BOINC Conference Summary'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-441561875686718663</id><published>2006-12-18T17:51:00.000-06:00</published><updated>2006-12-19T09:22:55.924-06:00</updated><title type='text'>Visual SourceSafe 2005 on Linux</title><content type='html'>Getting &lt;span style="font-weight: bold;"&gt;Visual SourceSafe 2005&lt;/span&gt; working on &lt;span style="font-weight: bold;"&gt;Linux&lt;/span&gt; was a little tricky. It required a lot of experimentation, and I did not keep exact notes.  So, this is just a rough outline of how I got it working.&lt;br /&gt;&lt;br /&gt;Start by getting the latest version of &lt;a href="http://www.winehq.com/site/git"&gt;&lt;code&gt;wine&lt;/code&gt; from git&lt;/a&gt;. When you &lt;code&gt;configure&lt;/code&gt; it, install any missing dependencies and reconfigure.  Then, build and install it.&lt;br /&gt;&lt;br /&gt;Install &lt;a href="http://www.tatanka.com.br/ies4linux/page/Main_Page"&gt;&lt;span style="font-weight: bold;"&gt;ies4linux&lt;/span&gt;&lt;/a&gt;. Only &lt;span style="font-weight: bold;"&gt;Internet Explorer 6&lt;/span&gt; is required.  I used a base directory of &lt;code&gt;$HOME/.wine&lt;/code&gt; when I ran the installation script:&lt;br /&gt;&lt;pre&gt;./ies4linux --basedir $HOME/.wine&lt;/pre&gt;Then, I moved all of the contents of &lt;code&gt;$HOME/.wine/ie6&lt;/code&gt; into &lt;code&gt;$HOME/.wine&lt;/code&gt; and deleted the &lt;code&gt;ie6&lt;/code&gt; subdirectory.  If you plan on using the desktop icon, you will need to edit it to match the modified path.&lt;br /&gt;&lt;br /&gt;Run &lt;code&gt;winecfg&lt;/code&gt; and change the &lt;span style="font-weight: bold;"&gt;Windows Version&lt;/span&gt; setting to &lt;span style="font-weight: bold;"&gt;Windows 2000&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The &lt;a style="font-weight: bold;" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&amp;displaylang=en"&gt;Microsoft .NET Framework Version 2.0&lt;/a&gt; must also be installed.  However, the installation procedure does not appear to work under &lt;code&gt;wine&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;So, run &lt;code&gt;cabextract&lt;/code&gt; on the download and then run it on the &lt;code&gt;netfx.msi&lt;/code&gt;. This extracts a lot of files with really long names. Look at the file whose name contains &lt;code&gt;_INF_&lt;/code&gt;.  In my case this was &lt;pre&gt;FL_NETFXUSA_INF_92947_____X86.3643236F_FC70_11D3_A536_0090278A1BB8.&lt;/pre&gt; It contains a list of files and target directories.&lt;br /&gt;&lt;br /&gt;Some of the target directories will exist in &lt;code&gt;.wine/drive_c,&lt;/code&gt; others will need to be created.&lt;br /&gt;&lt;br /&gt;Then, you have to find the files listed for installation into those directories.  They will not appear under in the extraction directory with the names shown in the info file.  Rather, they will appear with a name like the &lt;code&gt;FL_NETFXUSA_INF_...&lt;/code&gt; file shown above.&lt;br /&gt;&lt;br /&gt;Using it as an example, the short name would be &lt;code&gt;netfxusa.inf&lt;/code&gt;. Simply copy those files into the appropriate target directory under the shorter name.&lt;br /&gt;&lt;br /&gt;When I did this, at least one file was specified to be copied into two different directories.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Visual SourceSafe&lt;/span&gt; requires some fonts that are not normally installed for &lt;code&gt;wine&lt;/code&gt;.  I suspect it really needs &lt;span style="font-weight: bold;"&gt;Tahoma&lt;/span&gt;, I didn't try to narrow it down, I just copied my &lt;code&gt;Windows\Fonts&lt;/code&gt; directory from my &lt;span style="font-weight: bold;"&gt;XP&lt;/span&gt; partition into the &lt;code&gt;.wine/drive_c/windows/fonts&lt;/code&gt; subdirectory.&lt;br /&gt;&lt;br /&gt;Copy the &lt;code&gt;Program Files&lt;/code&gt; subdirectory from the VSS installation CD into the &lt;code&gt;wine/drive_c&lt;/code&gt; directory.  Then, run &lt;pre&gt;wine $HOME/.wine/drive_c/Program\ Files/Microsoft\ Visual\ SourceSafe/ssexp.exe&lt;/pre&gt;If everything goes well, &lt;span style="font-weight: bold;"&gt;Visual SourceSafe&lt;/span&gt; should display with some minor toolbar and menu issues. If you don't see a menu, pass your mouse over where it should be and the top-level items will appear.&lt;br /&gt;&lt;br /&gt;You might want to copy that command into a script file or create a launcher for it instead of having to type that command every time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-441561875686718663?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/441561875686718663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=441561875686718663&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/441561875686718663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/441561875686718663'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/12/visual-sourcesafe-2005-on-linux.html' title='Visual SourceSafe 2005 on Linux'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-2006924209317577401</id><published>2006-12-14T14:08:00.000-06:00</published><updated>2006-12-14T14:22:50.588-06:00</updated><title type='text'>BOINC Server Shared Memory Error</title><content type='html'>When I first installed uppercase as a demo project on a BOINC server, I got the following message in my client messages window:&lt;br /&gt;&lt;pre&gt;Message from server: Project encountered internal error: shared memory&lt;/pre&gt;Looking at the cgi.log on the server showed:&lt;br /&gt;&lt;pre&gt;Can't attach shmem: -146 (feeder not running?)&lt;/pre&gt;Running &lt;code&gt;bin/status&lt;/code&gt; also showed that &lt;span style="font-weight: bold;"&gt;BOINC&lt;/span&gt; was enabled, the daemons were running and also enabled (disabled=no).&lt;br /&gt;&lt;br /&gt;The first hint came from Nicolas Alvarez:&lt;br /&gt;&lt;blockquote&gt;Maybe the shared memory block is owned by your user instead of boinc user as well. You should stop and restart server from the correct user.&lt;br /&gt;&lt;pre&gt;$ ps aux | grep feeder&lt;/pre&gt;See what user owns the feeder process.&lt;/blockquote&gt;That was my exact problem.  Then I got a more elaborate response from Eric Myers:&lt;br /&gt;&lt;blockquote&gt;The feeder has to be able to talk to the scheduler via shared memory. There are several ways to do this.  I have&lt;br /&gt;&lt;pre&gt;chgrp apache bin/feeder&lt;br /&gt;chmod g+s    bin/feeder&lt;/pre&gt;so that it runs as group &lt;code&gt;apache&lt;/code&gt;, and thus can share memory with the scheduler cgi when it's started by apache.&lt;br /&gt;&lt;br /&gt;Another way to do this (which I don't like as much, but works) is to make the &lt;code&gt;feeder&lt;/code&gt; group '&lt;code&gt;boinc&lt;/code&gt;' and add the &lt;code&gt;apache&lt;/code&gt; user to that group.&lt;br /&gt;&lt;br /&gt;Either way, the &lt;code&gt;feeder&lt;/code&gt; (which always runs) needs to share permissions with the scheduler (&lt;code&gt;cgi-bin/cgi&lt;/code&gt; - confusing name) so they can share memory.&lt;br /&gt;&lt;/blockquote&gt;Well, that pretty well summed up the problem.&lt;br /&gt;&lt;br /&gt;I had already configured &lt;code&gt;apache&lt;/code&gt; to be a member of my &lt;code&gt;boinc&lt;/code&gt; group and just needed to make sure that &lt;code&gt;feeder&lt;/code&gt; was also running as the &lt;code&gt;boinc&lt;/code&gt; group.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-2006924209317577401?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/2006924209317577401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=2006924209317577401&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/2006924209317577401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/2006924209317577401'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/12/boinc-server-shared-memory-error.html' title='BOINC Server Shared Memory Error'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-419784764853456565</id><published>2006-12-07T15:39:00.000-06:00</published><updated>2006-12-07T15:59:37.772-06:00</updated><title type='text'>Running libtool'd Binaries in GDB or DDD</title><content type='html'>When I started &lt;code&gt;gdb&lt;/code&gt; or &lt;code&gt;ddd&lt;/code&gt; on my program I got a message that said:&lt;br /&gt;&lt;pre&gt;GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)&lt;br /&gt;Copyright 2004 Free Software Foundation, Inc.&lt;br /&gt;GDB is free software, covered by the GNU General Public License, and you are&lt;br /&gt;welcome to change it and/or distribute copies of it under certain conditions.&lt;br /&gt;Type "show copying" to see the conditions.&lt;br /&gt;There is absolutely no warranty for GDB.  Type "show warranty" for details.&lt;br /&gt;&lt;b&gt;This GDB was configured as "i386-redhat-linux-gnu"..."program": not in executable format: File format not recognized&lt;/b&gt;&lt;/pre&gt;After trying some different tools and things on my own, I searched Google. It gave me two hits on the entire web with my search phrase.  The first was &lt;a href="http://www.root.cz/clanky/programovani-pod-linuxem-libtool-2/"&gt;Programování pod Linuxem pro všechny (7)&lt;/a&gt;, unfortunately that page is in Czech.&lt;br /&gt;&lt;br /&gt;But, having a rather bizarre gift for languages, I read what of it I could.  It turns out that the problem happens when a program is built with &lt;code&gt;libtool&lt;/code&gt;. The solution is, instead of running&lt;br /&gt;&lt;pre&gt;gdb program&lt;/pre&gt;run,&lt;br /&gt;&lt;pre&gt;libtool --mode=execute gdb program&lt;/pre&gt;very simple, very easy.&lt;br /&gt;&lt;br /&gt;And... Oh, yeah this works for starting &lt;code&gt;ddd&lt;/code&gt; with &lt;code&gt;program&lt;/code&gt; as well.&lt;br /&gt;&lt;br /&gt;The problem is not specific to the platform, but for the sake of the search engines, this was on CentOS-4, an RHEL4 clone, using gcc 3.4.6 20060404 (Red Hat 3.4.6-3).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-419784764853456565?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/419784764853456565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=419784764853456565&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/419784764853456565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/419784764853456565'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/12/running-libtoold-binaries-in-gdb-or-ddd.html' title='Running libtool&apos;d Binaries in GDB or DDD'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-2556480719871653483</id><published>2006-12-07T13:51:00.000-06:00</published><updated>2006-12-07T14:07:53.987-06:00</updated><title type='text'>Viewing JPEG2000 Images in Linux</title><content type='html'>While the installation is not automated, there is a &lt;a href="http://linuxj2k.org/"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;JPEG&lt;/span&gt;2000 Linux Browser &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Plugin&lt;/span&gt;&lt;/a&gt;. It should work in any Mozilla-based browser running on 32-bit Intel.  This would include at least &lt;a href="http://browser.netscape.com/"&gt;Netscape&lt;/a&gt;, &lt;a href="http://www.mozilla.org/products/mozilla1.x/"&gt;Mozilla&lt;/a&gt;, &lt;a href="http://www.mozilla.org/projects/seamonkey/"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;SeaMonkey&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://www.mozilla.com/firefox/"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;Firefox&lt;/span&gt;&lt;/a&gt; and &lt;a href="http://www.flock.com/"&gt;Flock&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I went to &lt;a href="http://linuxj2k.org/modules.php?op=modload&amp;name=Downloads&amp;amp;file=index"&gt;the downloads page&lt;/a&gt; and picked &lt;a href="http://linuxj2k.org/modules.php?op=modload&amp;name=Downloads&amp;amp;amp;amp;amp;amp;file=index&amp;req=viewdownload&amp;amp;cid=2"&gt;binary release&lt;/a&gt;. From there I selected the &lt;span class="pn-normal"&gt;&lt;a class="pn-title" href="http://linuxj2k.org/modules.php?op=modload&amp;name=Downloads&amp;amp;amp;file=index&amp;req=getit&amp;amp;lid=7"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;npjp&lt;/span&gt;2_&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;linux&lt;/span&gt;_&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;glibc&lt;/span&gt;2.1_jasper_&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;pthread&lt;/span&gt;&lt;/a&gt; link. This downloads a zip file. When you unpack it, it contains a &lt;code&gt;LICENSE&lt;/code&gt; file and a &lt;code&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;npjp&lt;/span&gt;2.so&lt;/code&gt; file.&lt;br /&gt;&lt;br /&gt;Copy &lt;code&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;npjp&lt;/span&gt;2.so&lt;/code&gt; to your &lt;code&gt;~/.mozilla/plugins&lt;/code&gt; &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-corrected" id="SPELLING_ERROR_10"&gt;directory&lt;/span&gt;. Close all tabs and windows in your browser, then restart it.&lt;br /&gt;&lt;br /&gt;At this point, you should be able to view JP2000 files in the browser.  The same site that provides the &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;plugin&lt;/span&gt; has a &lt;a href="http://linuxj2k.org/modules.php?op=modload&amp;name=test_plugin&amp;amp;file=index"&gt;test page&lt;/a&gt;. I was also able to use &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;Firefox&lt;/span&gt; to view &lt;code&gt;.JP2&lt;/code&gt; files on my local drive.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-2556480719871653483?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/2556480719871653483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=2556480719871653483&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/2556480719871653483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/2556480719871653483'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/12/viewing-jpeg2000-images-in-linux.html' title='Viewing JPEG2000 Images in Linux'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-1579976236891494919</id><published>2006-12-01T10:00:00.000-06:00</published><updated>2006-12-01T10:27:38.420-06:00</updated><title type='text'>Correcting delete errors</title><content type='html'>When I initially created a simple BOINC test server and project, I had the permissions set incorrectly on the &lt;code&gt;projects/&lt;em&gt;PROJECT_NAME&lt;/em&gt;/upload&lt;/code&gt; directory.  This resulted in a number of "delete file" errors from &lt;code&gt;file_deleter&lt;/code&gt;.  This is easily corrected.&lt;br /&gt;&lt;br /&gt;Edit &lt;code&gt;config.xml&lt;/code&gt; so that the &lt;code&gt;file_deleter&lt;/code&gt; line contains the &lt;code&gt;-retry_error&lt;/code&gt; switch, for example:&lt;br /&gt;&lt;pre&gt;file_deleter -d 3 -retry_error&lt;/pre&gt;Then a simple:&lt;pre&gt;$ bin/stop &amp;&amp;amp; bin/start&lt;/pre&gt;will restart the file deleter and it will retry the files that previously generated errors.&lt;br /&gt;&lt;br /&gt;When I did this the size of the &lt;code&gt;upload&lt;/code&gt; directory dropped in half.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-1579976236891494919?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/1579976236891494919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=1579976236891494919&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/1579976236891494919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/1579976236891494919'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/12/correcting-delete-errors.html' title='Correcting delete errors'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-5626677572614145858</id><published>2006-11-27T15:26:00.000-06:00</published><updated>2006-11-27T15:52:01.996-06:00</updated><title type='text'>Virtual Desktop Size in RHEL5 Beta 1</title><content type='html'>I had trouble getting the virtual screen size in &lt;span style="font-weight: bold;"&gt;RHEL5 Beta &lt;/span&gt;1 to match my monitor's native resolution. It is an &lt;a href="http://h10010.www1.hp.com/wwpc/us/en/sm/WF04a/382087-64283-444767-72270-444767.html"&gt;HP L1706&lt;/a&gt; attached to a &lt;a href="http://h10010.www1.hp.com/wwpc/ca/en/sm/WF04a/12132708-12132884-12132884-12132884-12133128.html"&gt;dc5100 SFF&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;RHEL&lt;/span&gt; defaulted to 1600x1280 (or so) and the LCD's native resolution is 1280x1024 @ 60Hz.  This resulted in the display panning around the virtual desktop when the mouse reached a screen edge.  It also caused the menu and task bars to not always be available on screen, since they were at the edges of the virtual desktop.&lt;br /&gt;&lt;br /&gt;Unfortunately the settings from &lt;span style="font-weight: bold;"&gt;System--&gt;Administration--&gt;Display&lt;/span&gt;, &lt;code&gt;system-&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;config&lt;/span&gt;-display&lt;/code&gt;, did not correct this. &lt;span style="font-weight: bold;"&gt;X&lt;/span&gt; reverted to the larger size.&lt;br /&gt;&lt;br /&gt;I tried to use&lt;br /&gt;&lt;pre&gt;system-&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;config&lt;/span&gt;-display --set-resolution 1280 1024&lt;/pre&gt;This sets the &lt;code&gt;Virtual&lt;/code&gt; setting, but &lt;code&gt;/var/log/Xorg.0.log&lt;/code&gt; told me there was no matching mode.  Well, &lt;code&gt;system-&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;config&lt;/span&gt;-display&lt;/code&gt; has no command line switch for setting the mode(s).&lt;br /&gt;&lt;br /&gt;So, I manually edited &lt;code&gt;/etc/X11/&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;xorg&lt;/span&gt;.&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;conf&lt;/span&gt;&lt;/code&gt; to contain:&lt;br /&gt;&lt;pre&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;SubSection&lt;/span&gt; "Display"&lt;br /&gt;       Virtual   1280 1024&lt;br /&gt;       Modes "1280x1024x60"&lt;br /&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;EndSubSection&lt;/span&gt;&lt;/pre&gt;in the &lt;code&gt;Screen&lt;/code&gt; section.&lt;br /&gt;&lt;br /&gt;This produced the desired effect, running the monitor at its recommended settings and setting the virtual desktop size to match it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-5626677572614145858?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/5626677572614145858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=5626677572614145858&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/5626677572614145858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/5626677572614145858'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/virtual-desktop-size-in-rhel5-beta-1.html' title='Virtual Desktop Size in RHEL5 Beta 1'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-579995885051818154</id><published>2006-11-22T11:10:00.000-06:00</published><updated>2006-11-22T11:08:48.001-06:00</updated><title type='text'>Building BOINC Samples on CentOS</title><content type='html'>Why am I blogging this? Because I initially (and repeatedly) missed the "documentation" at the top of &lt;code&gt;Makefile&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;Previously, I was editing the makefile to be more "portable". Only, those edits did not link against the static version of &lt;code&gt;libstd++&lt;/code&gt;, which is the prefered way of linking applications that will be pushed down to the client. Doing so avoids runtime issues with missing or mismatched library versions.&lt;br /&gt;&lt;br /&gt;But first, you need to &lt;a href="http://scilincdev.blogspot.com/2006/11/building-boinc-client-on-centos-4_22.html"&gt;build the &lt;span style="font-weight: bold;"&gt;BOINC&lt;/span&gt; client software&lt;/a&gt;. Then, as mentioned above, some of the examples like &lt;code&gt;uppercase&lt;/code&gt; require a link to the static version of &lt;code&gt;libstdc++.a&lt;/code&gt;. The makefiles for those projects contain:&lt;br /&gt;&lt;pre&gt;# Do this first:&lt;br /&gt;# ln -s `g++ -print-file-name=libstdc++.a`&lt;br /&gt;# This creates a symbolic link to the C++ library,&lt;br /&gt;# which is linked statically&lt;/pre&gt;So, just do:&lt;br /&gt;&lt;pre&gt;ln -s `g++ -print-file-name=libstdc++.a`&lt;br /&gt;make&lt;/pre&gt;to get them going.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-579995885051818154?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/579995885051818154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=579995885051818154&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/579995885051818154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/579995885051818154'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/building-boinc-samples-on-centos.html' title='Building BOINC Samples on CentOS'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-2934183788212809547</id><published>2006-11-22T09:21:00.000-06:00</published><updated>2007-05-29T17:02:48.306-05:00</updated><title type='text'>Building the BOINC Client on CentOS-4</title><content type='html'>&lt;span style="font-weight: bold;"&gt;UPDATE:&lt;/span&gt; &lt;a href="#update"&gt;Fixed directions on adding lines to &lt;code&gt;curl-local.spec&lt;/code&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Both &lt;span style="font-weight: bold;"&gt;Red Hat Enterprise Linux 4&lt;/span&gt; and its clone, &lt;span style="font-weight: bold;"&gt;CentOS-4&lt;/span&gt;, need some updated packages to build the &lt;span style="font-weight: bold;"&gt;BOINC client&lt;/span&gt; out of the box.  For example, they both ship &lt;span style="font-weight: bold;"&gt;libcurl&lt;/span&gt; 7.12.1 and &lt;span style="font-weight: bold;"&gt;BOINC&lt;/span&gt; requires 7.15.5 or better.  They already ship RPMs for the older version, we just need to create an RPM for the newer version.&lt;br /&gt;&lt;br /&gt;The only instructions that should be CentOS specific are related to retrieving the source RPM files.  For &lt;span style="font-weight: bold;"&gt;Red Hat&lt;/span&gt;, you might try:&lt;br /&gt;&lt;pre&gt;$ sudo up2date --get-source &lt;span style="font-family:mon;"&gt;&lt;span style="font-style: italic;"&gt;&lt;package-name&gt;&lt;/package-name&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/pre&gt;On &lt;span style="font-weight: bold;"&gt;CentOS&lt;/span&gt;:&lt;br /&gt;&lt;pre&gt;$ wget ftp://rpmfind.net/linux/redhat/updates/enterprise/4AS/en/os/SRPMS/curl-$(yum -C list|grep curl-devel|awk '{print $2}').src.rpm&lt;/pre&gt;will work.  This calls &lt;code&gt;yum&lt;/code&gt; (which does not exist in &lt;span style="font-weight: bold;"&gt;RHEL4&lt;/span&gt;) to find out what the current version of &lt;code&gt;curl-devel&lt;/code&gt; is. Then &lt;code&gt;awk&lt;/code&gt; spits out only the version information and the whole thing is plopped down into the middle of the URL passed to &lt;code&gt;wget&lt;/code&gt;, which retrieves the file.&lt;br /&gt;&lt;br /&gt;Once retrieved:&lt;br /&gt;&lt;pre&gt;sudo rpm -Uhv curl*.src.rpm&lt;/pre&gt;will install the source and files necessary to build an RPM. Following that, everything should be available under &lt;code&gt;/usr/src/redhat&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;Let's change to that directory to update and build &lt;span style="font-weight: bold;"&gt;cURL&lt;/span&gt;.&lt;br /&gt;&lt;pre&gt;cd /usr/src/redhat&lt;/pre&gt;The latest released version of &lt;span style="font-weight: bold;"&gt;cURL&lt;/span&gt; is always available from &lt;a href="http://curl.haxx.se/"&gt;http://curl.haxx.se&lt;/a&gt;.  They are very proactive in supporting the package, issuing updates, and  fixing any security related bugs that are found.&lt;br /&gt;&lt;br /&gt;If you are going to locally compile and install software on a machine, I highly recommend creating an account at &lt;a href="http://freshmeat.net/"&gt;freshmeat.net&lt;/a&gt; and subscribing to get announcements for updates to that project.  This includes security fixes.  I would also recommend subscribing to the &lt;span style="font-weight: bold;"&gt;CentOS&lt;/span&gt; or &lt;span style="font-weight: bold;"&gt;RHEL&lt;/span&gt; announcement mailing list.&lt;br /&gt;&lt;br /&gt;First, we have packages such as &lt;span style="font-weight: bold;"&gt;PHP&lt;/span&gt; that depend upon the libcurl version 3 &lt;abbr title="Application Binary Interface"&gt;ABI&lt;/abbr&gt;, so we need to arrange to have both the old version, and the new version installed. Start by:&lt;br /&gt;&lt;pre&gt;cd SPECS&lt;/pre&gt;Then, either get the spec files from &lt;a href="http://inthefaith.net/mobot/compat-curl-local.spec"&gt;compat-curl-local.spec&lt;/a&gt; and &lt;a href="http://inthefaith.net/mobot/curl-local.spec"&gt;curl-local.spec&lt;/a&gt;, saving them into the SPECS directory or create them afther this fashion:&lt;br /&gt;&lt;pre&gt;sudo cp curl.spec compat-curl-local.spec&lt;/pre&gt;Then,&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Edit &lt;code&gt;compat-curl-local.spec&lt;/code&gt;:&lt;/li&gt;&lt;li&gt;Change the &lt;code&gt;Name:&lt;/code&gt; to &lt;code&gt;compat-curl&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Append &lt;code&gt;.local.1&lt;/code&gt; to the &lt;code&gt;Release:&lt;/code&gt; line&lt;/li&gt;&lt;li&gt;Change the &lt;code&gt;Source:&lt;/code&gt; line to reference &lt;code&gt;curl-&lt;/code&gt; instead of &lt;code&gt;%{name}&lt;/code&gt;.&lt;/li&gt;&lt;li&gt;Add&lt;code&gt; -n curl-%{version}&lt;/code&gt; to the end of the &lt;code&gt;%setup&lt;/code&gt; line.&lt;/li&gt;&lt;li&gt;Save it.&lt;/li&gt;&lt;/ol&gt;Then,&lt;pre&gt;sudo rpmbuild -ba compat-curl-local.spec&lt;/pre&gt;Running:&lt;br /&gt;&lt;pre&gt;sudo wget -P ../SOURCES http://curl.haxx.se/download/curl-7.16.0.tar.bz2&lt;/pre&gt;will place the latest (as of this writing) released source into the &lt;code&gt;../SOURCES&lt;/code&gt; subdirectory.&lt;br /&gt;&lt;pre&gt;sudo cp curl.spec curl-local.spec&lt;br /&gt;sudo &lt;&lt;span style="font-style: italic;"&gt;your-favorite-editor&lt;/span&gt;&gt; curl-local.spec&lt;/pre&gt;Change &lt;code&gt;Version:&lt;/code&gt; to &lt;code&gt;7.16.0&lt;/code&gt;&lt;br /&gt;Change &lt;code&gt;Release:&lt;/code&gt; string to &lt;code&gt;0.rhel4.local.1&lt;/code&gt;&lt;br /&gt;&lt;a name="update"&gt;&lt;/a&gt;Add a &lt;span style="font-family:monospace;"&gt;Prefix: /usr &lt;/span&gt;line near the top of the file. This makes the package relocatable.&lt;br /&gt;Delete all patches except #&lt;code&gt;1&lt;/code&gt; and renumber it to &lt;code&gt;0&lt;/code&gt;.&lt;br /&gt;After &lt;code&gt;%setup&lt;/code&gt; remove all &lt;code&gt;%patch&lt;/code&gt; lines greater than &lt;code&gt;0&lt;/code&gt;.&lt;br /&gt;Under &lt;code&gt;%files&lt;/code&gt; add:&lt;br /&gt;&lt;pre&gt;%{_libdir}/pkgconfig/libcurl.pc&lt;/pre&gt;This will make sure that any version 7.16.0 that is released by Red Hat will replace our local one.  Yet, it will also guarantee that no 7.x versions less than that will overwrite our local one.&lt;br /&gt;&lt;br /&gt;Then,&lt;br /&gt;&lt;pre&gt;sudo rpmbuild -ba curl-local.spec&lt;/pre&gt;When this is done, it's time to install:&lt;br /&gt;&lt;pre&gt;sudo rpm --force -Uhv ../RPMS/i386/compat-curl-7.*.local.1.i386.rpm&lt;br /&gt;sudo rpm --force -Uhv ../RPMS/i386/compat-curl-devel-7.*.local.1.i386.rpm&lt;br /&gt;sudo rpm -e curl curl-devel&lt;br /&gt;sudo rpm -Uhv --prefix=/usr/local ../RPMS/i386/curl-7.16.0-0.rhel4.local.1.i386.rpm&lt;br /&gt;sudo rpm -Uhv --prefix=/usr/local ../RPMS/i386/curl-devel-7.16.0-0.rhel4.local.1.i386.rpm&lt;/pre&gt;We first force the installation of our new &lt;code&gt;compat-&lt;/code&gt; RPMs, because they will conflict with the originals. (The supply the same files under a different name. The name change is necessary so that our newer version does not result in an upgrade removing the old ABI version 3 files entirely.)  Once those are in place we remove (erase) the original packages to make way for the new ones.  Then we load our new local versions prefixing them into the &lt;code&gt;/usr/local&lt;/code&gt; hierarchy to avoid interfering with the old files.&lt;br /&gt;&lt;br /&gt;Once the updated &lt;span style="font-weight: bold;"&gt;cURL&lt;/span&gt; is in place we need the &lt;span style="font-weight: bold;"&gt;OpenGL&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;JPEG&lt;/span&gt; development libraries.&lt;br /&gt;&lt;pre&gt;sudo up2date xorg-x11-devel freeglut-devel libjpeg-devel&lt;/pre&gt;Another fairly large component that we need are the &lt;a href="http://www.wxwidgets.org/"&gt;wxWidgets&lt;/a&gt;.  We get these from building a spec file that is part of the &lt;a href="http://rpmforge.net/"&gt;RPMforge&lt;/a&gt; project.  I could not find the corresponding binary RPM for &lt;span style="font-weight: bold;"&gt;RHEL4&lt;/span&gt;.&lt;br /&gt;&lt;pre&gt;cd /usr/src/redhat/SPECS&lt;br /&gt;sudo wget http://svn.rpmforge.net/svn/branches/rpms/matthias/wxGTK/wxGTK.spec&lt;br /&gt;sudo wget -P ../SOURCES http://downloads.sourceforge.net/wxwindows/wxGTK-2.6.2.tar.bz2&lt;br /&gt;sudo up2date gtk2-devel SDL-devel libgnomeprintui22-devel libpng-devel libtiff-devel&lt;br /&gt;sudo rpmbuild -ba --define 'dist el4' wxGTK.spec&lt;br /&gt;cd ../RPMS/&lt;&lt;span style="font-style: italic;"&gt;architecture&lt;/span&gt;&gt;&lt;br /&gt;sudo rpm -Uhv wxGTK-2.6.* wxGTK-gl-2.6* wxGTK-devel-2.6.*&lt;/pre&gt;For most, &lt;code&gt;&lt;&lt;span style="font-style: italic;"&gt;architecture&lt;/span&gt;&gt;&lt;/code&gt; is going to be i386.&lt;br /&gt;&lt;pre&gt;cd ~/src/boinc&lt;br /&gt;./configure  --enable-unicode&lt;br /&gt;make&lt;/pre&gt;I have to commend the guys working on BOINC, especially &lt;a href="http://www.romwnet.org/"&gt;Rom Walton&lt;/a&gt;. Prior to revision 1.20 of &lt;code&gt;clientgui/SkinManager.cpp&lt;/code&gt; this would blow up compiling for UNICODE due to some character width mismatch errors. I sent in &lt;a href="http://setiathome.berkeley.edu/cgi-bin/cvsweb.cgi/boinc/clientgui/SkinManager.cpp.diff?r1=text&amp;tr1=1.19&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;r2=text&amp;amp;tr2=1.20"&gt;a patch&lt;/a&gt; and the very next day it was already in their CVS repository.&lt;br /&gt;&lt;br /&gt;That's like a breath of fresh air in FOSS development. Too many projects make it difficult to get your patches accepted into the mainstream. It shouldn't be that way.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-2934183788212809547?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/2934183788212809547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=2934183788212809547&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/2934183788212809547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/2934183788212809547'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/building-boinc-client-on-centos-4_22.html' title='Building the BOINC Client on CentOS-4'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-396217328340275877</id><published>2006-11-21T13:58:00.000-06:00</published><updated>2006-11-21T14:05:00.542-06:00</updated><title type='text'>Installing the BOINC Server Software</title><content type='html'>This explains the process of installing the actual &lt;span style="font-weight: bold;"&gt;BOINC&lt;/span&gt; server software on a machine and setting up a skeleton project.&lt;br /&gt;&lt;h2&gt;   Development Tools &lt;/h2&gt; If you have previously followed the guide on &lt;a href="http://docs.google.com/View?docid=dhnggrkv_44cg2czq" title="Linux BOINC Server CentOS-4 Installation"&gt;installing CentOS-4 for a BOINC Server&lt;/a&gt;, you will need to add the development tools required to compile &lt;span style="font-weight: bold;"&gt;BOINC&lt;/span&gt;. This may be done by going to &lt;span style="font-weight: bold;"&gt;Applications--&gt;System Settings--&gt;Add/Remove Applications&lt;/span&gt;. Then, scroll down, check &lt;span style="font-weight: bold;"&gt;Development Tools&lt;/span&gt; and click &lt;span style="font-weight: bold;"&gt;Update&lt;/span&gt;. You may be prompted to insert a CentOS CD, insert either the CD (or DVD, if you have it) and continue on.&lt;br /&gt;&lt;br /&gt;After installing the development tools, it is a good idea to apply any available updates. Right-click on the &lt;span style="font-weight: bold;"&gt;Update Notification Icon&lt;/span&gt; and select &lt;span style="font-weight: bold;"&gt;Check for updates&lt;/span&gt;. If there are updates, apply all of them even the ones that are normally flagged to be skipped.&lt;br /&gt;&lt;h2&gt;   Accounts and Permissions&lt;/h2&gt;Since it is really too long for ablog post, read the rest of &lt;a href="http://docs.google.com/View?docid=dhnggrkv_90drqjfq"&gt;this document online at Google Documents and Spreadsheets&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-396217328340275877?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/396217328340275877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=396217328340275877&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/396217328340275877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/396217328340275877'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/installing-boinc-server-software.html' title='Installing the BOINC Server Software'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-8802891857644741626</id><published>2006-11-19T18:09:00.000-06:00</published><updated>2006-11-28T13:07:36.111-06:00</updated><title type='text'>Running a BOINC Server on SELinux</title><content type='html'>&lt;span style="font-style: italic;"&gt;This is a shortened excerpt of one version of &lt;a href="http://docs.google.com/View?docid=dhnggrkv_90drqjfq" title="Installing the BOINC Server Software"&gt;a much longer document&lt;/a&gt;.  It has enough use on its own than I am posting it here separately.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;In my previous post on &lt;a href="http://scilincdev.blogspot.com/2006/11/creating-users-and-groups-for-boinc.html"&gt;Creating Users and Groups for a BOINC Server&lt;/a&gt;, I explained how to create the &lt;code&gt;boinc&lt;/code&gt; user and group.  Here I explain how to grant the appropriate permissions to allow a project to operate without disabling or crippling &lt;span style="font-weight: bold;"&gt;SELinux&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;After you have used &lt;a href="http://boinc.berkeley.edu/make_project.php"&gt;&lt;code&gt;make_project&lt;/code&gt;&lt;/a&gt; to create the basic files for a project, you need to change some of the permissions.&lt;br /&gt;&lt;br /&gt;Assuming you have done as shown on &lt;a href="http://boinc.berkeley.edu/make_project.php"&gt;The make_project script page&lt;/a&gt; and that you created a &lt;code&gt;cplan&lt;/code&gt; project in the &lt;code&gt;projects&lt;/code&gt; directory inside of your home directory as explained there, you will need to grant read permission to your home directory.  You can do this with&lt;br /&gt;&lt;pre&gt;$ sudo chmod 755 ~&lt;/pre&gt;That will allow the &lt;span style="font-weight: bold;"&gt;Apache&lt;/span&gt; webserver to access files hosted in your home directory.  Then we need to grant the &lt;code&gt;boinc&lt;/code&gt; group access to the new files in the project.&lt;br /&gt;&lt;pre&gt;$ sudo chgrp -R boinc ~/projects/cplan/html&lt;br /&gt;&lt;/pre&gt;Without &lt;span style="font-weight: bold;"&gt;SELinux&lt;/span&gt; running this would be sufficient to allow access to the project.  However, if you have &lt;span style="font-weight: bold;"&gt;SELinux&lt;/span&gt; enabled, a few more steps are necessary.  If you loaded your project into one of the system web server directories instead of creating them within a user's directory, you should replace &lt;code&gt;httpd_user_content_t&lt;/code&gt; with &lt;code&gt;httpd_sys_content_t&lt;/code&gt; in the following instructions.&lt;br /&gt;&lt;pre&gt;$ sudo chcon -R -h -t httpd_user_content_t ~/projects/cplan/html&lt;br /&gt;$ sudo chcon -h -t httpd_user_content_t ~/projects/cplan&lt;br /&gt;$ sudo chcon -h -t httpd_user_content_t ~/projects/cplan/config.xml&lt;br /&gt;$ sudo chcon -R -h -t httpd_user_script_exec_t ~/projects/cplan/cgi-bin&lt;br /&gt;&lt;/pre&gt;The &lt;code&gt;chcon&lt;/code&gt; command changes the &lt;span style="font-weight: bold;"&gt;SELinux&lt;/span&gt; context that is assigned to an object. In this case were are changing the &lt;span style="font-style: italic;"&gt;type&lt;/span&gt; of the object to indicate that it is for use by &lt;code&gt;httpd&lt;/code&gt;, but resides in a user's directory. The first command recursively gives permission to the &lt;code&gt;html&lt;/code&gt; directory.  The second gives permission to be able to see &lt;code&gt;config.xml&lt;/code&gt; in the directory and the third grants access to the configuration file itself. The last line indicates that scripts should be allowed to run in the &lt;code&gt;cgi-bin&lt;/code&gt; directory.&lt;br /&gt;&lt;br /&gt;You still have the details of writing your project and configuring &lt;span style="font-weight: bold;"&gt;Apache&lt;/span&gt; to serve it, but hopefully this post has helped with any &lt;span style="font-weight: bold;"&gt;SELinux&lt;/span&gt; issues you may have had.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-8802891857644741626?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/8802891857644741626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=8802891857644741626&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/8802891857644741626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/8802891857644741626'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/running-boinc-server-on-selinux.html' title='Running a BOINC Server on SELinux'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-5985712230759870504</id><published>2006-11-19T17:49:00.000-06:00</published><updated>2006-11-19T18:03:56.817-06:00</updated><title type='text'>Creating Users and Groups for a BOINC Server</title><content type='html'>The BOINC &lt;a href="http://boinc.berkeley.edu/groups.php"&gt;Groups and permissions&lt;/a&gt; page covers most of what you need to know in order to set this up.  But, I present this from the perspective of running a CentOS-4 server using graphical tools and performing these operations before the project is actually created.&lt;br /&gt;&lt;br /&gt;Run Applications--&gt;System Settings--&gt;Users and Groups. Start by adding a user and group, both named "boinc".  The following steps will create both at one time.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Click Add User.&lt;/li&gt;&lt;li&gt;Enter a user name, I used "boinc".&lt;/li&gt;&lt;li&gt;Enter a "Full Name",  try "BOINC Server".&lt;/li&gt;&lt;li&gt;Enter a password and confirm it.&lt;/li&gt;&lt;li&gt;Set Login Shell to /sbin/nologin.&lt;/li&gt;&lt;li&gt;Uncheck Create home directory.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Check Create a private group for the user.&lt;/li&gt;&lt;li&gt;Click OK.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Now lets add the "apache" user to the "boinc" group.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Click the Groups tab.&lt;/li&gt;&lt;li&gt;Double-click the "boinc" group.&lt;/li&gt;&lt;li&gt;Click the Group Users tab.&lt;/li&gt;&lt;li&gt;Check the box next to "apache".&lt;/li&gt;&lt;li&gt;Click OK.&lt;/li&gt;&lt;/ol&gt;That's all there is to it.  Now you have a boinc user, a boinc group and apache has access to all files that belong to the boinc group.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-5985712230759870504?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/5985712230759870504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=5985712230759870504&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/5985712230759870504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/5985712230759870504'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/creating-users-and-groups-for-boinc.html' title='Creating Users and Groups for a BOINC Server'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-484976355795010486</id><published>2006-11-19T17:44:00.000-06:00</published><updated>2006-11-19T18:45:12.131-06:00</updated><title type='text'>Linux BOINC Server CentOS-4 Installation</title><content type='html'>This explains the process that was used to install &lt;a href="http://www.centos.org/" title="CentOS 4 Linux Distribution"&gt;CentOS 4&lt;/a&gt; onto the workstation that is used as a BOINC server for SciLINC development. There may be subtle differences in the installation as described here and the installation as it may be seen if run again later.  This may be due to differences in a pristine install and a re-install, it may also be due to the slightly modified installation procedure that was required to obtain the screen shots for this document. The most up to date version of &lt;a href="http://docs.google.com/View?docid=dhnggrkv_44cg2czq" title="Read this document online"&gt;this document is published online&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The original plan was to install &lt;a href="http://fedoraproject.org/" title="The FedoraProject Community Wiki"&gt;Fedora Core&lt;/a&gt; because it is sponsored by &lt;a href="http://www.redhat.com/" title="Red Hat"&gt;Red Hat&lt;/a&gt; and ultimately its content feeds into the next official Red Hat Enterprise Linux, &lt;a href="http://www.redhat.com/rhel/" title="RHEL"&gt;RHEL&lt;/a&gt;. The (possibly incomplete) document covering that is "&lt;a href="http://docs.google.com/View?docid=dhnggrkv_1dxvf95" title="Fedora Instructions"&gt;Linux BOINC Server Fedora Core 6 Installation&lt;/a&gt;." These plans were changed for two reasons. One, the rate of change on the recently released Fedora Core 6 is too high to make it worth tracking for a test server deployment. And two, we discovered CentOS 4, the Community ENTerprise Operating System. This is a distribution that is built directly from the publicly available source RPMs for RHEL 4. The project's web site describes it this way:&lt;br /&gt;&lt;blockquote&gt;CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor.  CentOS conforms fully with the upstream vendors &lt;span style="font-style: italic;"&gt;[sic]&lt;/span&gt; redistribution policy and aims to be 100% binary compatible. (CentOS mainly changes packages to remove upstream vendor branding and artwork.)  CentOS is free.&lt;/blockquote&gt;In essence CentOS is a synthesis of Red Hat Enterprise Linux WS, ES and AS.  The administrator is free to pick and choose from among the components offered by these various versions. In that sense it is suitable for desktop, workstation, and server usage.&lt;br /&gt;&lt;br /&gt;Since it is really too long for a blog post, read the rest of &lt;a href="http://docs.google.com/View?docid=dhnggrkv_44cg2czq"&gt;this document online at Google Documents and Spreadsheets&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-484976355795010486?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/484976355795010486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=484976355795010486&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/484976355795010486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/484976355795010486'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/linux-boinc-server-centos-4.html' title='Linux BOINC Server CentOS-4 Installation'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116360524426582859</id><published>2006-11-15T09:40:00.000-06:00</published><updated>2006-11-15T10:15:45.910-06:00</updated><title type='text'>Linux BOINC Server Fedora Core 6 Installation</title><content type='html'>This document explains the process that was used to install &lt;a href="http://fedora.redhat.com" title="Red Hat's Fedora Site"&gt;Fedora Core 6&lt;/a&gt;, FC6, onto the workstation that is used as a BOINC server for SciLINC development. FC6 is also referred to by the code name, "Zod".&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Fedora Core actually has two separate meanings.  The first is in reference to the operating system itself.  The second is a reference to the Fedora Core repository.  The Core repository contains a set of relatively tightly managed and non-overlapping applications that may be used to configure a server, a knowledge worker desktop or a developer workstation.&lt;br /&gt;&lt;br /&gt;Where Fedora Core has overlapping functionality is usually a matter of widely accepted "standard" packages that provide the same functionality. The vim and emacs editors are examples of this. Also, Fedora supports both the GNOME and KDE desktops. Each desktop may have some programs with similar purposes that are better integrated into its environment. The firefox and konqueror web browsers would fall into this category.&lt;br /&gt;&lt;br /&gt;Since it is really too long for a blog post, read the rest of &lt;a href="http://docs.google.com/View?docid=dhnggrkv_1dxvf95"&gt;this document online at Google Documents and Spreadsheets&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116360524426582859?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116360524426582859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116360524426582859&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116360524426582859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116360524426582859'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/linux-boinc-server-fedora-core-6.html' title='Linux BOINC Server Fedora Core 6 Installation'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116291595219371141</id><published>2006-11-07T10:12:00.000-06:00</published><updated>2006-11-07T10:13:24.803-06:00</updated><title type='text'>Configuring Xen Domain 0 Memory Allocation at Boot Time</title><content type='html'>According to &lt;a href="http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/user/user.html#SECTION02151000000000000000"&gt;the GRUB Configuration section of the Xen User Guide&lt;/a&gt; the memory allocation of the host operating system may be set in the &lt;code&gt;grub.conf&lt;/code&gt; file as follows:&lt;br /&gt;&lt;pre&gt;title Xen 3.0 / XenLinux 2.6&lt;br /&gt;kernel /boot/xen-3.0.gz dom0_mem=262144&lt;br /&gt;module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0&lt;/pre&gt;"The kernel line tells GRUB where to find Xen itself and what boot parameters should be passed to it (in this case, setting the domain 0 memory allocation in kilobytes and the settings for the serial port)."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116291595219371141?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116291595219371141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116291595219371141&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116291595219371141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116291595219371141'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/configuring-xen-domain-0-memory.html' title='Configuring Xen Domain 0 Memory Allocation at Boot Time'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116285159269119242</id><published>2006-11-06T16:05:00.000-06:00</published><updated>2006-11-06T16:19:52.700-06:00</updated><title type='text'>Setting up Completely Passwordless Bi-Directional SSH</title><content type='html'>If you have two machines and you want to be able to &lt;code&gt;ssh&lt;/code&gt; from "local" to "remote" without using a password at all, do the following, where &lt;code&gt;$local&lt;/code&gt; is a command-prompt on the local machine and &lt;code&gt;$remote&lt;/code&gt; is a prompt on the remote machine.  Replace the words &lt;code&gt;REMOTE&lt;/code&gt; and &lt;code&gt;LOCAL&lt;/code&gt; with the actual network names of the machines:&lt;br /&gt;&lt;pre&gt;$local ssh-keygen -t dsa&lt;br /&gt;$local scp ~/.ssh/id_dsa.pub REMOTE:.&lt;br /&gt;$remote cat ~/id_dsa.pub &gt;&gt;~/.ssh/authorized_keys&lt;br /&gt;$remote ssh-keygen -t dsa&lt;br /&gt;$local scp REMOTE:.ssh/id_dsa.pub .&lt;br /&gt;$local cat ~/id_dsa.pub &gt;&gt;~/.ssh/authorized_keys&lt;br /&gt;&lt;/pre&gt;At this point you should be able to:&lt;br /&gt;&lt;pre&gt;$local ssh REMOTE&lt;/pre&gt;without a password, you may be prompted to accept the fingerprint of the other machine. Do so.  Then in the remote shell:&lt;br /&gt;&lt;pre&gt;$remote ssh LOCAL&lt;/pre&gt;This may also generate a fingerprint-acceptance message.  Just accept it.&lt;br /&gt;&lt;br /&gt;You can also delete the id_dsa.pub files in the login directory of each machine.  Do &lt;em&gt;not&lt;/em&gt; copy the &lt;code&gt;id_dsa&lt;/code&gt; (without the &lt;code&gt;.pub&lt;/code&gt; extension) this is your private key and the connection is only as secure as that file.  If someone has the file, they can impersonate you.  This is also why &lt;a href="http://www.gatsby.ucl.ac.uk/%7Eiam23/compnotes/passwordless_ssh.html"&gt;some people recommend supplying a passphrase when running &lt;code&gt;ssh-keygen&lt;/code&gt;&lt;/a&gt; and then using &lt;code&gt;ssh-agent&lt;/code&gt; provide similar behavior, but with the need to enter your passphrase once per session.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116285159269119242?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116285159269119242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116285159269119242&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116285159269119242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116285159269119242'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/setting-up-completely-passwordless-bi.html' title='Setting up Completely Passwordless Bi-Directional SSH'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116285070750893693</id><published>2006-11-06T15:38:00.000-06:00</published><updated>2006-11-14T10:59:56.926-06:00</updated><title type='text'>Controlling Two Computers with One Keyboard and Mouse</title><content type='html'>The &lt;a href="http://x2x.dottedmag.net"&gt;x2x&lt;/a&gt; program allows the keyboard and mouse on one X display to be used to control another X display. It also shares X clipboards between the displays.  Basically this allows you to have two machines sitting side-by-side and use a single keyboard an mouse on them.&lt;br /&gt;&lt;br /&gt;I choose to use &lt;a href="http://x2x.dottedmag.net/trac/do/wiki/SshTunneling"&gt;ssh tunneling&lt;/a&gt; as the authentication mechanism between them.  The first step is to &lt;a href="http://scilincdev.blogspot.com/2006/11/setting-up-completely-passwordless-bi.html"&gt;setup passwordless ssh in both directions&lt;/a&gt; between the two machines.  Then, I copied one of the quick-launch buttons on the GNOME menu bar to the menu bar by control-dragging it and edited the copy to have the following settings:&lt;br /&gt;&lt;dl&gt;&lt;dt&gt;&lt;strong&gt;Type:&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt;&lt;code&gt;Application&lt;/code&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt&gt;&lt;strong&gt;Name:&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt;&lt;code&gt;x2x&lt;/code&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt&gt;&lt;strong&gt;Command:&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt;&lt;code&gt;ssh OTHER_MACHINE_NAME DISPLAY=:0.0 ssh -X THIS_MACHINE_NAME x2x -from :0 -east&amp;&lt;/code&gt;&lt;/dd&gt;&lt;br /&gt;&lt;dt&gt;&lt;strong&gt;Comment:&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt;&lt;code&gt;Control the other display with this mouse and keyboard&lt;/code&gt;&lt;/dd&gt;&lt;br /&gt;&lt;/dl&gt;Clicking the launcher will then run x2x and allow the mouse and keyboard to control the other machine.  I used the &lt;code&gt;-east&lt;/code&gt; command-line switch because my "other" machine sets to the right of "this" machine.  So when I move the mouse off of the "this" screen to the east, right, it appears on the "other" screen and vice-versa.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;UPDATE&lt;/span&gt;: If this is run more than once, there will be multiple instances of ssh running on the remote machine.  This can happen if the connection is lost for some reason and then reestablished.  (Changing the remote machines firewall settings will do this.)&lt;br /&gt;&lt;br /&gt;A simple workaround is to &lt;code&gt;kill&lt;/code&gt; or &lt;code&gt;killall&lt;/code&gt; the ssh session(s) on the remote machine and then rerun this again. Before doing a &lt;code&gt;killall ssh&lt;/code&gt; on remote, manually close any local ssh connections to the remote machine to avoid losing any unsaved data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116285070750893693?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116285070750893693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116285070750893693&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116285070750893693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116285070750893693'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/controlling-two-computers-with-one.html' title='Controlling Two Computers with One Keyboard and Mouse'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116284307683188002</id><published>2006-11-06T13:50:00.000-06:00</published><updated>2006-11-06T13:57:56.880-06:00</updated><title type='text'>BOINC Stable Tag is Only for the Client</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;At last, David Anderson clarifies the "stable" tag for BOINC's CVS repository:&lt;blockquote cite="http://www.ssl.berkeley.edu/pipermail/boinc_dev/2006-November/006484.html"&gt;The "stable" tag applies only to the core client and Manager, NOT to the server software, API, PHP, etc. If you check out server software with the "stable" tag you'll get an old version, with lots of bugs. The most reliable server and API software is always the current version. Sorry we didn't make this clear before; I changed http://boinc.berkeley.edu/source_code.php to say this. &lt;/blockquote&gt;&lt;p class="citation"&gt;&lt;cite cite="http://www.ssl.berkeley.edu/pipermail/boinc_dev/2006-November/006484.html"&gt;&lt;a href="http://www.ssl.berkeley.edu/pipermail/boinc_dev/2006-November/006484.html"&gt;[boinc_dev] "stable" tag applies ONLY to client software (core client and Manager)&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;  &lt;p/&gt;&lt;p/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116284307683188002?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116284307683188002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116284307683188002&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116284307683188002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116284307683188002'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/boinc-stable-tag-is-only-for-client.html' title='BOINC Stable Tag is Only for the Client'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116241621910116252</id><published>2006-11-01T15:13:00.000-06:00</published><updated>2006-11-01T15:47:34.566-06:00</updated><title type='text'>HP dc5100 Audio Problems in Linux</title><content type='html'>After installing Fedora Core 6 Linux on an HP dc5100 SFF (small form factor) machine with an "Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)", I had a number of problems.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The system beep always went through the on-board speaker.&lt;/li&gt;&lt;li&gt;Mute did not work.&lt;/li&gt;&lt;li&gt;The head phone jack did not disable the sound playing on the built-in speaker.&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Headphone Jack&lt;/h2&gt;Getting the head phone jack working was the easiest. Although finding out how to do this was not.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open Volume Control, this is found under System|Preferences in GNOME.&lt;/li&gt;&lt;li&gt;Select Edit|Preferences.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Check the "Headphone Jack Sense" button.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;While you're there you might as well check "Line Jack Sense" button as well.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;This will add some entries to the "Switches" tab, or add the tab if it did not already exist.&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Check the "Headphone Jack Sense" and "Line Jack Sense" buttons on the "Switches" tab.&lt;/li&gt;&lt;/ul&gt;This will enable the detection of a headset or line device and automatically disable the built in speaker.&lt;h2&gt;System Beep&lt;/h2&gt;It also turned out to be easy to disable the system beep.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open the Sound Preferences applet under System|Preferences|Sound.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Select the "System Beep" tab.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Uncheck "Enable system beep".&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Optionally check "Visual system beep" and "Flash window titlebar" or "Flash entire screen". &lt;/li&gt;&lt;/ol&gt;I prefer entire screen.  That way if I am on a different virtual desktop, I still see the flash.  Because I have "Desktop Effects" enabled I do not get a flash, I get a reverse flash.  The entire screen dims.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116241621910116252?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116241621910116252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116241621910116252&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116241621910116252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116241621910116252'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/hp-dc5100-audio-problems-in-linux.html' title='HP dc5100 Audio Problems in Linux'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116239953408557921</id><published>2006-11-01T10:38:00.000-06:00</published><updated>2006-11-01T10:48:39.933-06:00</updated><title type='text'>The Use of BOINC Upload and Download Servers</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://www.romwnet.org/dasblogce/"&gt;Rom Walton&lt;/a&gt; has a good little post on the problems of using a single server for a BOINC project and the "proper" usage of upload and download servers to stem the tide of requestn being made on the database.  Here is a sample:&lt;blockquote cite="http://www.romwnet.org/dasblogce/PermaLink,guid,0fca58c5-3e29-4564-b7bd-42b7854aba4d.aspx"&gt;I believe that the file upload and download servers are used as dams most of the time to keep the rest of the system from keeling over, for instance if the those servers were not keeping the hoards of machines at bay and everything was gated on the database then after an outage nobody would be able to use the website, or read/post in the forums.&lt;/blockquote&gt;&lt;p class="citation"&gt;&lt;cite cite="http://www.romwnet.org/dasblogce/PermaLink,guid,0fca58c5-3e29-4564-b7bd-42b7854aba4d.aspx"&gt;&lt;a href="http://www.romwnet.org/dasblogce/PermaLink,guid,0fca58c5-3e29-4564-b7bd-42b7854aba4d.aspx"&gt;ROMWORLD - FOLLOW-UP: The evils of 'Returning Results Immediately'&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;  It's not too long and worth reading.&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116239953408557921?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116239953408557921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116239953408557921&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116239953408557921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116239953408557921'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/11/use-of-boinc-upload-and-download.html' title='The Use of BOINC Upload and Download Servers'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116232333037592914</id><published>2006-10-31T13:18:00.000-06:00</published><updated>2006-10-31T13:40:44.860-06:00</updated><title type='text'>Running BOINC uppercase Demo Standalone</title><content type='html'>Running the BOINC uppercase demo standalone requires a few things.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Create a text file called &lt;code&gt;in&lt;/code&gt; that will serve as the input file for &lt;code&gt;upper_case&lt;/code&gt;.&lt;/li&gt;&lt;li&gt;&lt;a href="http://scilincdev.blogspot.com/2006/10/sigsegv-running-standalone-boinc.html"&gt;Create an empty file named &lt;code&gt;init_data.xml&lt;/code&gt;&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Set the &lt;code&gt;LD_LIBRARY_PATH&lt;/code&gt; environment variable to point to the current directory.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;For the first requirement I just copied &lt;code&gt;upper_case.C&lt;/code&gt; to &lt;code&gt;in&lt;/code&gt;.&lt;br /&gt;&lt;pre&gt;$ cp upper_case.C in&lt;/pre&gt;Then &lt;code&gt;init_data.xml&lt;/code&gt; may be created using &lt;code&gt;touch&lt;/code&gt;.&lt;br /&gt;&lt;pre&gt;$ touch init_data.xml&lt;/pre&gt;Finally, I just set the &lt;code&gt;LD_LIBRARY_PATH&lt;/code&gt; variable when I run &lt;code&gt;upper_case&lt;/code&gt;.&lt;br /&gt;&lt;pre&gt;$ LD_LIBRARY_PATH=. ./upper_case&lt;/pre&gt;At this point the upper_case client should run standalone and display a graphics window.  The window should display a sphere and cylinder configuration that bounces around as the application runs.&lt;br /&gt;&lt;br /&gt;If a &lt;code&gt;logo.jpg&lt;/code&gt; file exists in the current directory, it will be displayed as a texture at the back of the area where the "ball" bounces.  I just copied the boinc logo file over. Also, if you copy (or link) the &lt;code&gt;Helvetica.txf&lt;/code&gt; from the BOINC distribution to the &lt;code&gt;uppercase&lt;/code&gt; directory some statistics will be displayed as the application runs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116232333037592914?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116232333037592914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116232333037592914&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116232333037592914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116232333037592914'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/running-boinc-uppercase-demo.html' title='Running BOINC uppercase Demo Standalone'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116225274629150762</id><published>2006-10-30T17:56:00.000-06:00</published><updated>2006-11-22T10:37:32.295-06:00</updated><title type='text'>Compiling BOINC uppercase Sample on Linux</title><content type='html'>In order to compile &lt;code&gt;uppercase.C&lt;/code&gt; with gcc version 4.1.1, I had to change some function signatures to match their definitions, since C99 defines bool. Hopefully blogger doesn't mangle the patches given here.  Just in case, there is a &lt;a href="http://www.inthefaith.net/mobot/uc_graphics.patch"&gt;patch to correct the function signatures&lt;/a&gt; and another &lt;a href="http://inthefaith.net/mobot/opengl.patch"&gt;patch to fix OpenGL linking&lt;/a&gt;.&lt;br /&gt;&lt;pre&gt;diff --git a/uppercase/uc_graphics.C b/uppercase/uc_graphics.C&lt;br /&gt;index 0563dfa..4f165b9 100644&lt;br /&gt;--- a/uppercase/uc_graphics.C&lt;br /&gt;+++ b/uppercase/uc_graphics.C&lt;br /&gt;@@ -189,7 +189,7 @@ void app_graphics_reread_prefs(){&lt;br /&gt;  parse_project_prefs(uc_aid.project_preferences);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;-void boinc_app_mouse_move(int x, int y, int left, int middle, int right) {&lt;br /&gt;+void boinc_app_mouse_move(int x, int y, bool left, bool middle, bool right) {&lt;br /&gt;  if (left) {&lt;br /&gt;      pitch_angle += (y-mouse_y)*.1;&lt;br /&gt;      roll_angle += (x-mouse_x)*.1;&lt;br /&gt;@@ -205,7 +205,7 @@ void boinc_app_mouse_move(int x, int y,&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;-void boinc_app_mouse_button(int x, int y, int which, int is_down) {&lt;br /&gt;+void boinc_app_mouse_button(int x, int y, int which, bool is_down) {&lt;br /&gt;  if (is_down) {&lt;br /&gt;      mouse_down = true;&lt;br /&gt;      mouse_x = x;&lt;br /&gt;&lt;/pre&gt;Also, I was trying to build uppercase, with graphics enabled.  There are some files that uppercase needs to link with that are not in any of the BOINC libraries, so the must be built and linked with directly.  I also changed the library handling to not be hard-wired to a given directory:&lt;br /&gt;&lt;pre&gt;diff --git a/uppercase/Makefile b/uppercase/Makefile&lt;br /&gt;index 546b748..0d275c0 100644&lt;br /&gt;--- a/uppercase/Makefile&lt;br /&gt;+++ b/uppercase/Makefile&lt;br /&gt;@@ -17,30 +17,31 @@ CXXFLAGS = -g     -L$(BOINC_LIB_DIR)     -L /usr/X11R6/lib     -L.&lt;br /&gt;+CFLAGS = $(CXXFLAGS)&lt;br /&gt;&lt;br /&gt;# the following should be freeglut; use nm to check&lt;br /&gt;-LIBGLUT = /usr/local/lib/libglut.a&lt;br /&gt;-LIBGLU = /usr/X11R6/lib/libGLU.a&lt;br /&gt;-LIBJPEG = /usr/lib/libjpeg.a&lt;br /&gt;+LIBGLUT = -lglut&lt;br /&gt;+LIBGLU = -lGLU&lt;br /&gt;+LIBJPEG = -ljpeg&lt;br /&gt;&lt;br /&gt;PROGS = upper_case upper_case.so&lt;br /&gt;&lt;br /&gt;all: $(PROGS)&lt;br /&gt;&lt;br /&gt;clean:&lt;br /&gt;-       rm $(PROGS)&lt;br /&gt;+       rm $(PROGS) upper_case.o uc_graphics.o&lt;br /&gt;&lt;br /&gt;# the -Wl,--export-dynamic causes the main program's symbols&lt;br /&gt;# to be exported to the graphics library&lt;br /&gt;&lt;br /&gt;upper_case: upper_case.o $(BOINC_API_DIR)/libboinc_api.a $(BOINC_API_DIR)/libboinc_graphics_lib.a $(BOINC_LIB_DIR)/libboinc.a&lt;br /&gt;-       g++ $(CXXFLAGS) -Wl,--export-dynamic -o upper_case upper_case.o libstdc++ -pthread -lboinc_api -lboinc -lboinc_graphics_lib -ldl&lt;br /&gt;+       g++ $(CXXFLAGS) -Wl,--export-dynamic -o upper_case upper_case.o -lstdc++ -pthread -lboinc_api -lboinc -lboinc_graphics_lib -ldl&lt;br /&gt;&lt;br /&gt;-upper_case.so: uc_graphics.o $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_graphics_impl.a&lt;br /&gt;+upper_case.so: uc_graphics.o $(BOINC_API_DIR)/txf_util.o $(BOINC_API_DIR)/texfont.o $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_graphics_impl.a&lt;br /&gt;     g++ $(CXXFLAGS) -o upper_case.so     -shared -fPIC -pthread -    uc_graphics.o -    libstdc++ +    uc_graphics.o $(BOINC_API_DIR)/txf_util.o $(BOINC_API_DIR)/texfont.o +    -lstdc++     -lboinc_graphics_impl -lboinc     $(LIBGLUT) $(LIBGLU) $(LIBJPEG)     -lGL -lX11 -lXmu -lm &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116225274629150762?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116225274629150762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116225274629150762&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116225274629150762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116225274629150762'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/compiling-boinc-uppercase-sample-on.html' title='Compiling BOINC uppercase Sample on Linux'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116225176829446573</id><published>2006-10-30T17:37:00.000-06:00</published><updated>2006-10-30T17:42:48.303-06:00</updated><title type='text'>Shared Memory Errors in Standalone BOINC Applications</title><content type='html'>Seeing an "error" message in stderr.out along the lines of the following&lt;br /&gt;&lt;pre&gt;Can't set up shared mem: -1&lt;/pre&gt;is not unusual when running a BOINC client standalone.  As a matter of fact, it is not an error, &lt;a href="http://setiathome.berkeley.edu/forum_thread.php?id=32582&amp;amp;nowrap=true#370061"&gt;it is the expected behavior&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This occurs because the client is attempting to communicate with the BOINC manager, but is not being run under the manager. So, don't panic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116225176829446573?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116225176829446573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116225176829446573&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116225176829446573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116225176829446573'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/shared-memory-errors-in-standalone.html' title='Shared Memory Errors in Standalone BOINC Applications'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116223787159607654</id><published>2006-10-30T13:46:00.000-06:00</published><updated>2006-10-30T13:51:11.603-06:00</updated><title type='text'>Standalone BOINC Application dlopen Failure</title><content type='html'>When running a BOINC application standalone, you may see an error along the lines of&lt;br /&gt;&lt;pre&gt;dlopen() failed: upper_case.so: cannot open shared object file: No such file or directory No graphics.&lt;/pre&gt;This happens when the application tries to load its graphics library.  The dynamic loader does not know to look in the local directory.  Running the standalone application this way:&lt;br /&gt;&lt;pre&gt;$ LD_LIBRARY_PATH=.:$(LD_LIBRARY_PATH) ./upper_case&lt;/pre&gt;will solve the problem, by telling the dynamic loader to look in the current directory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116223787159607654?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116223787159607654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116223787159607654&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116223787159607654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116223787159607654'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/standalone-boinc-application-dlopen.html' title='Standalone BOINC Application dlopen Failure'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116223062885827409</id><published>2006-10-30T11:50:00.001-06:00</published><updated>2006-10-30T12:08:42.973-06:00</updated><title type='text'>Cannot Restore Segment Prot after Reloc Error</title><content type='html'>When running a BOINC application on Linux you may find the following in stderr.txt:&lt;br /&gt;&lt;pre&gt;Error: cannot restore segment prot after reloc: Permission denied&lt;/pre&gt;&lt;a href="http://www.ittvis.com/services/techtip.asp?ttid=3092"&gt;ITTVIS.com&lt;/a&gt; pointed me in the right direction on this one.  It is an interaction with SELinux.&lt;br /&gt;&lt;br /&gt;The most secure solution is to run a command like:&lt;br /&gt;&lt;pre&gt;$ &lt;span class="CODE"&gt;chcon -t texrel_shlib_t upper_case.so&lt;/span&gt;&lt;/pre&gt;This allows the BOINC application's graphics library to be relocated in memory, which should be safe, but I make no warrantees of any sort with respect to this.  This command may need to be run again each time the graphics library is relinked.&lt;br /&gt;&lt;br /&gt;The final filename given above will vary depending upon the name of your application, but this example works for the uppercase BOINC sample.&lt;br /&gt;&lt;br /&gt;There are other solutions, but they involve either turning off this protection system-wide or turning off SELinux entirely, which I do not recommend.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116223062885827409?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116223062885827409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116223062885827409&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116223062885827409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116223062885827409'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/cannot-restore-segment-prot-after_30.html' title='Cannot Restore Segment Prot after Reloc Error'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116196702890847081</id><published>2006-10-27T11:31:00.000-05:00</published><updated>2006-10-27T11:47:43.570-05:00</updated><title type='text'>SIGSEGV Running Standalone BOINC Application</title><content type='html'>Here is part of an email I sent to the &lt;a href="http://ssl.berkeley.edu/mailman/listinfo/boinc_projects"&gt;boinc-projects mailing list&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;I am beginning work on a BOINC project and have built and installed BOINC stable.  It seems to work fine, attaching to projects and doing work.  But, when I try to compile and run a BOINC app standalone I invariably get a seg. fault in diagnostics_init.  This has happened both with Eric Myer's 'hello' program and with 'uppercase'.  Running uppercase produces a stderr.txt with the following contents:&lt;br /&gt;&lt;pre&gt;SIGSEGV: segmentation violationStack trace (9 frames):&lt;br /&gt;./upper_case[0x8051224]&lt;br /&gt;[0x462420]&lt;br /&gt;/lib/libc.so.6(index+0x63)[0x4be0ac33]&lt;br /&gt;./upper_case(_ZN7MIOFILE5fgetsEPci+0x61)[0x8053ba1]&lt;br /&gt;./upper_case(diagnostics_init+0x27a)[0x805169a]&lt;br /&gt;./upper_case(boinc_init_diagnostics+0x34)[0x8051934]&lt;br /&gt;./upper_case(main+0x2d)[0x804cd45]&lt;br /&gt;/lib/libc.so.6(__libc_start_main+0xdc)[0x4bdb4f2c]&lt;br /&gt;./upper_case(__gxx_personality_v0+0xdd)[0x804cc41]&lt;br /&gt;&lt;br /&gt;Exiting...&lt;/pre&gt;...&lt;br /&gt;Basically &lt;code&gt;buf&lt;/code&gt; in &lt;code&gt;MIOFILE&lt;/code&gt; is &lt;code&gt;NULL&lt;/code&gt;, because because &lt;code&gt;diagnostics_init&lt;/code&gt; has done an &lt;code&gt;fopen&lt;/code&gt; and passed the results to &lt;code&gt;MIOFILE::init_file&lt;/code&gt;. This sets &lt;code&gt;f&lt;/code&gt; but not &lt;code&gt;buf&lt;/code&gt;.&lt;br /&gt;&lt;/blockquote&gt;The response I received from Nicolas Alvarez was:&lt;br /&gt;&lt;blockquote&gt;I'm not sure why this happens in standalone mode, but try creating an&lt;br /&gt;empty file 'init_data.xml' and running app again.&lt;br /&gt;&lt;/blockquote&gt;This seemed to get me past this first problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116196702890847081?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116196702890847081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116196702890847081&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116196702890847081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116196702890847081'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/sigsegv-running-standalone-boinc.html' title='SIGSEGV Running Standalone BOINC Application'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116163188819298009</id><published>2006-10-23T14:25:00.000-05:00</published><updated>2006-10-23T14:31:28.200-05:00</updated><title type='text'>Improving compile speeds on Linux</title><content type='html'>I rediscovered an old friend today, &lt;a href="http://ccache.samba.org"&gt;ccache&lt;/a&gt;. It is a compiler cache written by Andrew Tridgell of  &lt;a href="http://samba.org"&gt;SAMBA&lt;/a&gt; fame.&lt;br /&gt;&lt;br /&gt;It enhances (re-)compilation by maintaining a cache of previously built object files.  This comes in very handy if you ever do:&lt;br /&gt;&lt;pre&gt;make clean; make&lt;/pre&gt;Or as I do, switch between development lines or versions of a program to perform a test and then have to do a full recompile each time.&lt;br /&gt;&lt;br /&gt;After installing it on Fedora:&lt;br /&gt;&lt;pre&gt;# yum install ccache&lt;/pre&gt;I did:&lt;br /&gt;&lt;pre&gt;# ln -s $(which ccache) /usr/local/bin/gcc&lt;br /&gt;# ln -s $(which ccache) /usr/local/bin/g++&lt;br /&gt;# ln -s $(which ccache) /usr/local/bin/cc&lt;/pre&gt;so that it would automatically be invoked in place of the non-caching compiler.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116163188819298009?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116163188819298009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116163188819298009&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116163188819298009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116163188819298009'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/improving-compile-speeds-on-linux.html' title='Improving compile speeds on Linux'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116138499711904867</id><published>2006-10-20T17:49:00.000-05:00</published><updated>2006-11-21T09:16:22.143-06:00</updated><title type='text'>Configuring BOINC for Linux from CVS</title><content type='html'>This is not very well documented.  After trying many permutations of &lt;code&gt;autoconf&lt;/code&gt;, &lt;code&gt;autoreconf&lt;/code&gt;, etc. I found &lt;a href="http://boinc.berkeley.edu/build_system.php"&gt;Building BOINC on Unix&lt;/a&gt;, which mentions using &lt;code&gt;_autosetup&lt;/code&gt;. This performs the proper sequence of &lt;code&gt;auto...&lt;/code&gt; operations to allow &lt;code&gt;configure&lt;/code&gt; to run.&lt;br /&gt;&lt;br /&gt;I was able to build BOINC (client and server) from the latest development version in &lt;a href="http://boinc.berkeley.edu/source_code.php"&gt;the BOINC CVS repository&lt;/a&gt; using the following command:&lt;br /&gt;&lt;pre&gt;$ ./_autosetup &amp;&amp;amp; ./configure --disable-unicode &amp;&amp;amp; make&lt;/pre&gt;This is step one.  From what I know of our requirements a UNICODE build will be necessary.&lt;br /&gt;&lt;br /&gt;&lt;strike&gt;&lt;span style="font-weight: bold;"&gt;UPDATE&lt;/span&gt;: While I do not know, as yet, if UNICODE is required.  I do know that clientgui will not build on Fedora Core 5 without it.  This appears to be because  &lt;code&gt;gtk2-unicode-release-2.6&lt;/code&gt; is the only wxWidgets configuration that is available as reported by:&lt;br /&gt;&lt;pre&gt;&lt;strike&gt;$ wx-config --list&lt;br /&gt;&lt;br /&gt;Default config is gtk2-unicode-release-2.6&lt;br /&gt;&lt;br /&gt;Default config will be used for output&lt;br /&gt;&lt;/strike&gt;&lt;/pre&gt;&lt;/strike&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;UPDATE&lt;/span&gt;: Installing the packages shown below allows a UNICODE build to be performed.  The &lt;code&gt;mysql-server&lt;/code&gt; package only needs to be installed if the &lt;code&gt;test/test_sanity.py&lt;/code&gt; script is going to be run, or if the BOINC server will be run from this machine.  That applies to the &lt;code&gt;chkconfig&lt;/code&gt; and &lt;code&gt;service&lt;/code&gt; commands as well.&lt;br /&gt;&lt;pre&gt;# yum install mysql-devel freeglut-devel wxGTK-devel MySQL-python mysql-server&lt;br /&gt;# /sbin/chkconfig --level 2345 mysqld on&lt;br /&gt;# /sbin/service mysqld start&lt;br /&gt;&lt;/pre&gt;This must be done logged in as &lt;code&gt;root&lt;/code&gt;, the superuser account, or using the &lt;code&gt;su&lt;/code&gt; or &lt;code&gt;sudo&lt;/code&gt; commands.  Once these are installed BOINC may be built using:&lt;br /&gt;&lt;pre&gt;$ ./_autosetup&lt;br /&gt;$ ./configure&lt;br /&gt;$ make&lt;/pre&gt;NOTE:  The blogger post editor seems to have a bug, it keeps wanting to insert "amp;" after the double-ampersands above.  The only thing that should appear between each command is two ampersands.&lt;br /&gt;&lt;br /&gt;This will leave a couple files in the &lt;code&gt;sea&lt;/code&gt; subdirectory.  The names will be like &lt;code&gt;boinc_5.4.11_i686-pc-linux-gnu.sh&lt;/code&gt; and &lt;code&gt;boinc_5.4.11_i686-pc-linux-gnu_debug.sh&lt;/code&gt;, although the numbers may vary.  Running one of these will create a &lt;code&gt;BOINC&lt;/code&gt; subdirectory that contains the BOINC software and gives instructions on starting it.  The files in this directory may be used for testing a new version of BOINC and its libraries, without loading it over the production version that should be installed in &lt;code&gt;/usr/local&lt;/code&gt;. The first program installs a non-debugging version, while the second installs a debugging version.&lt;br /&gt;&lt;br /&gt;If, while running &lt;code&gt;configure&lt;/code&gt;, messages appear indicating that GL, GLU, GLUT, MySQL or wxWidgets are not installed, but they are, &lt;a href="http://scilincdev.blogspot.com/2006/10/improving-compile-speeds-on-linux.html"&gt;loading &lt;code&gt;ccache&lt;/code&gt; may correct the problem&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If you are going to build a BOINC project on this machine, the libraries and header files will need to be installed:&lt;br /&gt;&lt;pre&gt;# make install&lt;/pre&gt;This will place the necessary files under the &lt;code&gt;/usr/local&lt;/code&gt; hierarchy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116138499711904867?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116138499711904867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116138499711904867&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116138499711904867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116138499711904867'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/configuring-boinc-for-linux-from-cvs.html' title='Configuring BOINC for Linux from CVS'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116068316872108200</id><published>2006-10-12T14:59:00.000-05:00</published><updated>2006-10-12T15:02:18.030-05:00</updated><title type='text'>BOINC for intra-organizational computing</title><content type='html'>Just a snippet from &lt;a&gt;&lt;/a&gt;&lt;a href="http://www.acmqueue.com/modules.php?name=Content&amp;pa=showpage&amp;amp;amp;amp;amp;pid=313&amp;page=3"&gt;ACM Queue - A Conversation with David Anderson - The director of SETI@home discusses his work and the volunteer computing movement&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;"BOINC works fine for intra-organizational computing also. CERN, for example, is experimenting with BOINC for a data-intensive application on its internal PCs."&lt;/blockquote&gt;Perhaps this is something to consider.  Although, I suppose the good reasons for doing so would have to be related to security issues.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116068316872108200?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116068316872108200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116068316872108200&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116068316872108200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116068316872108200'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/boinc-for-intra-organizational.html' title='BOINC for intra-organizational computing'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116060327427033547</id><published>2006-10-11T16:44:00.000-05:00</published><updated>2006-10-11T16:53:21.356-05:00</updated><title type='text'>Scrolling wide pre-formatted text</title><content type='html'>There are places on this blog, where I have had to post overly wide pre-formatted text.  Normally these are code, command-line or file snippets.  By default in the theme/template I am using this causes the text to run into the sidebar.&lt;br /&gt;&lt;br /&gt;To correct this, I added the following CSS code to the blogger template just above the footer formatting information.&lt;br /&gt;&lt;pre&gt;pre {&lt;br /&gt;overflow: auto;&lt;br /&gt;line-height: 1;&lt;br /&gt;margin: 1em;&lt;br /&gt;padding: 1em;&lt;br /&gt;background: #cdf;&lt;br /&gt;color: #330;&lt;br /&gt;border: 1px solid #fff; }&lt;/pre&gt;The idea for this came from &lt;a href="http://www.thescripts.com/forum/thread95911.html"&gt;pre-formated text with scroll bars at 100% width - HTML&lt;/a&gt;.  It may not be perfect and well-styled, which is my fault, but it works.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116060327427033547?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116060327427033547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116060327427033547&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116060327427033547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116060327427033547'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/scrolling-wide-pre-formatted-text.html' title='Scrolling wide pre-formatted text'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116059326233622088</id><published>2006-10-11T13:35:00.000-05:00</published><updated>2006-10-11T16:09:29.406-05:00</updated><title type='text'>Adding repositories to Fedora 5</title><content type='html'>While testing Fedora Core 5, FC5, on coLinux I added some repositories in search of &lt;a href="http://www.tightvnc.com/"&gt;TightVNC&lt;/a&gt; and other software.  I added:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://freshrpms.net/"&gt;freshrpms&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dries.ulyssis.org/rpm/"&gt;dries&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;If we switch to Red Hat Enterprise Linux, RHEL, I will add &lt;a href="http://dag.wieers.com/home-made/apt/"&gt;Dag Wieers' RPMforge.net repository&lt;/a&gt;. It is one of the few that supports RHEL releases. However, he does not have support for FC5.  So, I added Dries' repository, since &lt;a href="http://dag.wieers.com/home-made/apt/FAQ.php#D2"&gt;they interoperate&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Freshrpms&lt;/span&gt;&lt;br /&gt;To add freshrpms, download the configuration RPM:&lt;pre&gt;wget http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm&lt;/pre&gt; and install it using &lt;pre&gt;rpm -Uhv freshrpms-release-1.1-1.fc.noarch.rpm&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;Dries&lt;/span&gt;&lt;br /&gt;To add the Dries repository create an &lt;code&gt;/etc/yum.repos.d/dries.repo&lt;/code&gt; file that contains&lt;br /&gt;&lt;pre&gt;[dries]&lt;br /&gt;name=Extra Fedora rpms dries - $releasever - $basearch&lt;br /&gt;baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/&lt;/pre&gt;Then import the &lt;abbr title="GNU Privacy Guard"&gt;&lt;a href="http://www.gnupg.org/"&gt;GPG&lt;/a&gt;&lt;/abbr&gt; key for the repository:&lt;br /&gt;&lt;pre&gt;wget http://dries.ulyssis.org/rpm/RPM-GPG-KEY.dries.txt&lt;br /&gt;rpm --import RPM-GPG-KEY.dries.txt&lt;/pre&gt;The next time you access yum, it should update to include these repositories.&lt;br /&gt;&lt;br /&gt;NB: There is &lt;a href="http://dag.wieers.com/home-made/apt/FAQ.php#D1"&gt;some indication&lt;/a&gt; that the Extras (fedora.us) repository may need to be disabled.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116059326233622088?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116059326233622088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116059326233622088&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116059326233622088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116059326233622088'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/adding-repositories-to-fedora-5.html' title='Adding repositories to Fedora 5'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116058278271166300</id><published>2006-10-11T11:04:00.000-05:00</published><updated>2006-10-11T16:55:21.143-05:00</updated><title type='text'>Fixing coLinux Fedora's passwd program</title><content type='html'>When I loaded the Fedora 5 image for coLinux, I got an error running &lt;code&gt;passwd&lt;/code&gt; to reset the password for root. It looked like I needed to reinstall &lt;code&gt;cracklab-dicts.i386&lt;/code&gt;, but I didn't know how to force this. I could not uninstall it, that would uninstall all most all of Fedora, which I discovered the hard way.&lt;br /&gt;&lt;br /&gt;Someone had a similar need, only for their kernel, as reported in the e-mail &lt;cite href="https://lists.dulug.duke.edu/pipermail/yum/2004-October/005419.html"&gt;&lt;a href="https://lists.dulug.duke.edu/pipermail/yum/2004-October/005419.html"&gt;[Yum] Re: yum install -force package&lt;/a&gt;&lt;/cite&gt;. The solution was to run:&lt;br /&gt;&lt;pre&gt;rpm -e --justdb --nodeps kernel-2.4.22-2g&lt;/pre&gt;then,&lt;br /&gt;&lt;pre&gt;yum update kernel&lt;/pre&gt;would "do the right thing" and reinstall the package. Well, I had to do something slightly different:&lt;br /&gt;&lt;pre&gt;rpm -e --justdb --nodeps cracklib-dicts.i386&lt;br /&gt;yum install cracklib-dicts.i386&lt;/pre&gt;If that does not work try using:&lt;br /&gt;&lt;pre&gt;rpm -e --nodeps cracklib-dicts.i386&lt;/pre&gt;instead. I did both and I'm not sure which actually permitted &lt;code&gt;yum&lt;/code&gt; to do its thing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116058278271166300?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116058278271166300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116058278271166300&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116058278271166300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116058278271166300'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/fixing-colinux-fedoras-passwd-program.html' title='Fixing coLinux Fedora&apos;s passwd program'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116050751534302540</id><published>2006-10-10T14:10:00.000-05:00</published><updated>2006-10-11T16:58:20.100-05:00</updated><title type='text'>Dvorak on Fedora Core Linux</title><content type='html'>Typing &lt;pre&gt;$ loadkeys dvorak&lt;/pre&gt;is enough to load the dvorak keyboard layout on Fedora.  But, to load it at boot time, edit the &lt;code&gt;/etc/sysconfig/keyboard&lt;/code&gt; file and change the &lt;code&gt;KEYTABLE=...&lt;/code&gt; line to &lt;code&gt;KEYTABLE="dvorak"&lt;/code&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116050751534302540?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116050751534302540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116050751534302540&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116050751534302540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116050751534302540'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/dvorak-on-fedora-core-linux.html' title='Dvorak on Fedora Core Linux'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116041874765921535</id><published>2006-10-09T13:32:00.000-05:00</published><updated>2006-10-10T12:55:30.300-05:00</updated><title type='text'>Building BOINC Applications on Windows</title><content type='html'>&lt;a href="http://www.spy-hill.net/%7Emyers"&gt;Eric Myers&lt;/a&gt; has an an excellent walk-through of setting up, configuring and &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/boinc-on-windows.html"&gt;Building BOINC applications on Windows&lt;/a&gt;. &lt;p&gt; &lt;/p&gt; &lt;p style="font-weight: bold;"&gt;JPEG Library&lt;/p&gt; &lt;p&gt;Eric's solution and project files should be automatically converted to Visual Studio 2005 format upon loading.&lt;/p&gt; &lt;p&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt; &lt;p&gt;If you want to build a release version of the JPEG library, you will need to change a couple of the project's properties:&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1931/3944/1600/jpeg-properties.2.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger/1931/3944/320/jpeg-properties.2.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;First, turn off the precompiled headers for the &lt;em&gt;Release&lt;/em&gt; configuration.&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1931/3944/1600/jpeg-precomp.0.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger/1931/3944/320/jpeg-precomp.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Then change the &lt;em&gt;Configuration Type&lt;/em&gt; to &lt;em&gt;Static Library (.lib)&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1931/3944/1600/jpeg-staticlib.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger/1931/3944/320/jpeg-staticlib.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;After building the JPEG library Eric suggests copying the headers and library file somewhere.  So far I have not done that.  I am trying to set up a single Visual Studio Solution file for BOINC development that uses dependencies and relative paths for everything.&lt;/p&gt;&lt;p style="font-weight: bold;"&gt;OpenGL and GLUT&lt;/p&gt;&lt;p&gt;Following Eric's directions, I got the &lt;a href="http://freeglut.sourceforge.net/index.php#download"&gt;freeglut-2.4.0 distribution&lt;/a&gt; and decompressed it in a directory alongside my &lt;code&gt;jpeg-6b&lt;/code&gt; directory.  Then I opened the Visual Studio 6 workspace that comes with the distribution and allowed Visual Studio 2005 to automatically upgrade it. Once the Workspace has been opened as a new Solution it is set &lt;code&gt;freeglut_static&lt;/code&gt; to be the &lt;span style="font-style: italic;"&gt;StartUp  Project&lt;/span&gt; (love those &lt;a href="http://en.wikipedia.org/wiki/StudlyCaps"&gt;StudlyCaps&lt;/a&gt;):&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1931/3944/1600/freeglut-startup.0.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger/1931/3944/320/freeglut-startup.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Other than selecting the static library, freeglut seems to build out of the box.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;wxWidgets&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The &lt;a href="http://www.wxwidgets.org/"&gt;wxWidgets&lt;/a&gt; library is not used for BOINC application development.  It is only needed to build the BOINC Manager, which can be downloaded in &lt;a href="http://boinc.ssl.berkeley.edu/download.php"&gt;binary form&lt;/a&gt;.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116041874765921535?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116041874765921535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116041874765921535&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116041874765921535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116041874765921535'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/building-boinc-applications-on-windows.html' title='Building BOINC Applications on Windows'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116041121374044653</id><published>2006-10-09T11:26:00.000-05:00</published><updated>2006-10-11T17:04:37.900-05:00</updated><title type='text'>Making a Large Sparse coLinux Disk Image</title><content type='html'>&lt;p&gt;The directions given for &lt;a href="http://wiki.colinux.org/wiki/ExpandingRoot#The_most_reliable_way_to_enlarge_the_root_partition"&gt;ExpandingRoot - coLinux&lt;/a&gt; are pretty good. Instead of &lt;code&gt;fsutil&lt;/code&gt; I used: &lt;/p&gt;&lt;pre&gt;dd if=/dev/zero of=colinux_new bs=1 seek=10737418240 count=0&lt;/pre&gt;in Cygwin to create a spase &lt;code&gt;cygwin_new&lt;/code&gt; file. Then I started coLinux, logged in as root and zero'd out most of the freespace in &lt;code&gt;cygwin_old&lt;/code&gt; so that &lt;code&gt;mkSparse&lt;/code&gt; could reduce the size of &lt;code&gt;cygwin_new&lt;/code&gt;&lt;p&gt; later: &lt;/p&gt;&lt;pre&gt;# e2fsck /dev/cobd4&lt;br /&gt;# df&lt;br /&gt;# dd if=/dev/zero of=/tmp/fill count=...&lt;br /&gt;# rm /tmp/fill&lt;/pre&gt;This zero'd out most of the free space in &lt;code&gt;cygwin_old&lt;/code&gt;. Then I did what &lt;cite&gt;ExpandingRoot - coLinux&lt;/cite&gt; said to do:&lt;pre&gt;# dd if=/dev/cobd4 of=/dev/cobd5&lt;br /&gt;# resize2fs -p /dev/cobd5&lt;br /&gt;# e2fsck /dev/cobd5&lt;br /&gt;# shutdown now -h&lt;/pre&gt;After downloading &lt;code&gt;mkSparse&lt;/code&gt; from the &lt;a href="http://www.geocities.com/dan_slater/colinux/"&gt;coLinux file-utils&lt;/a&gt; described on the &lt;a href="http://wiki.colinux.org/wiki/Nice_tools"&gt;NiceTools&lt;/a&gt; page of the &lt;a href="http://wiki.colinux.org"&gt;coLinux Wiki&lt;/a&gt;, I ran:&lt;pre&gt;C:\coLinux&amp;gt; mkSparse colinux_new&lt;/pre&gt;This turns &lt;code&gt;colinux_new&lt;/code&gt; into a sparse file that takes up much less room on the drive.  After this is done I finished up by continuing at step 7 on the &lt;a href="http://wiki.colinux.org/wiki/ExpandingRoot"&gt;ExpandingRoot&lt;/a&gt; page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116041121374044653?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116041121374044653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116041121374044653&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116041121374044653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116041121374044653'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/making-large-sparse-colinux-disk-image.html' title='Making a Large Sparse coLinux Disk Image'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116007226738651811</id><published>2006-10-05T13:13:00.000-05:00</published><updated>2006-10-11T17:05:31.456-05:00</updated><title type='text'>Spy Hill Research BOINC Developers' Notes</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;&lt;a href="http://www.spy-hill.net/%7Emyers/"&gt;Spy Hill Research&lt;/a&gt; has a excellent set of &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/"&gt;&lt;i&gt;BOINC Developers' Notes&lt;/i&gt;&lt;/a&gt;. They are written by Eric Myer, who was part of the Einstein@Home development team.  His notes should help get a developer rapidly up to speed on developing for BOINC.&lt;/p&gt;  &lt;p&gt;There are instructions for:&lt;/p&gt;  &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/boinc-on-windows.html"&gt;Building BOINC applications on Windows&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/boinc-on-linux.html"&gt;Building BOINC and BOINC Applications on Linux&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/boinc-on-darwin.html"&gt;Building BOINC and BOINC         applications on MacOS X&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;/p&gt;&lt;p&gt;Much of the notes is in the form of examples to be worked through:&lt;/p&gt;  &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/hello.html"&gt;Hello, World -- the simplest BOINC program&lt;/a&gt;&lt;/li&gt; &lt;li&gt; concat - concatenates two or more input files into one output file     (from BOINC)     &lt;/li&gt; &lt;li&gt;&lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/yello.html"&gt;Yello, World -- the simplest graphics program    for BOINC&lt;/a&gt;,&lt;/li&gt; &lt;li&gt; &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/cube.html"&gt;cube       - simplest non-trivial 3D graphics application for BOINC &lt;/a&gt;&lt;/li&gt; &lt;li&gt; uppercase - convert an input file to uppercase      (from BOINC) - now with graphics&lt;/li&gt; &lt;li&gt; &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/lalanne.html"&gt;The Jack LaLanne program&lt;/a&gt;  - an API Exerciser&lt;/li&gt; &lt;li&gt; &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/scroll.html"&gt;The 'scroll' application for Pirates@Home&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/roulette.html"&gt;The "Sicilian Roulette" application for BOINC&lt;/a&gt;&lt;/li&gt; &lt;li&gt; &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/sextant.html"&gt;Sextant &lt;/a&gt; - the Einstein@Home screensaver graphics thread&lt;/li&gt; &lt;li&gt; &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/starboard.html"&gt;Starboard!&lt;/a&gt; - xscreensaver GL graphics suite&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;These, sort of, form a self-guided tutorial.  There are also links related to &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/#grfx"&gt;BOINC Graphics&lt;/a&gt;, &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/#project"&gt;Project Management&lt;/a&gt;, and external &lt;a href="http://www.spy-hill.net/%7Emyers/help/boinc/#developers"&gt;developer links&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116007226738651811?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116007226738651811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116007226738651811&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116007226738651811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116007226738651811'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/spy-hill-research-boinc-developers.html' title='Spy Hill Research BOINC Developers&apos; Notes'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116006559127887573</id><published>2006-10-05T11:22:00.000-05:00</published><updated>2006-10-05T12:16:06.883-05:00</updated><title type='text'>BOINC Server Planning</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;blockquote cite="http://boinc.berkeley.edu/mysql_config.php"&gt;The MyISAM engine requires the least amount of computer resources can be used where there is a low DB activity requirement. For example with query rates lower that 5/sec this table type may be adequate. Also if one does not have a dedicated DB server this may be a good choice for all the tables since it consumes much less computer resources. It has the advantages of allowing long text indices against tables which Innodb does not allow.&lt;br /&gt;&lt;p&gt;...&lt;/p&gt;&lt;p&gt;Innodb tables/indices are usually stored in large OS physical files and the tables and indices are managed internally within these OS/Innodb files. It is important that these files are located on high performance devices. The transaction log files should be located on independent high performance media (away from the Innodb files) for sustained high transaction rates. At DB shutdown all modified buffers have to be flushed into the transaction logs before MySQL goes away, so slow performance drives for the transaction log could delay shutdown for over 30 minutes when there are a large number of .modified buffers. to be flushed.&lt;/p&gt;&lt;/blockquote&gt;&lt;p class="citation"&gt;&lt;cite cite="http://boinc.berkeley.edu/mysql_config.php"&gt;&lt;a href="http://boinc.berkeley.edu/mysql_config.php"&gt;Configuring MySQL for BOINC&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;While the page quoted above is called &lt;span style="font-style: italic;"&gt;Configuring MySQL for BOINC&lt;/span&gt;, the title should have something about server capacity planning.  There is much information on the physical requirements of the server hardware given the loads placed upon it by SETI@home.  These loads are also documented.  So the planner should be able to extrapolate something about the hardware that should be needed.  The &lt;a href="http://setiathome.berkeley.edu/sah_status.html"&gt;SETI@home Server Status&lt;/a&gt; page also lists the various servers used, as well as, their software and hardware configurations.&lt;br /&gt;&lt;br /&gt;In contrast to SETI@home, &lt;a href="http://einstein.phys.uwm.edu"&gt;Einstein@Home&lt;/a&gt; uses a single server, of unknown configuration. There is an &lt;a href="http://einstein.phys.uwm.edu/server_status.php"&gt;Einstein@Home Server Status&lt;/a&gt; page as well. The EAH status page also makes reference to four download mirror sites.  This may account for the project being able to use a single server, if the data driving the project is distributed across five different sites (including the main site).&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116006559127887573?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116006559127887573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116006559127887573&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116006559127887573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116006559127887573'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/boinc-server-planning.html' title='BOINC Server Planning'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116006509248153973</id><published>2006-10-05T11:13:00.000-05:00</published><updated>2006-10-05T11:18:12.490-05:00</updated><title type='text'>BOINC server bottlenecks</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;blockquote cite="http://boinc.berkeley.edu/build.php"&gt;MySQL can be the bottleneck in a BOINC server. To optimize its performance, read about &lt;a href="http://boinc.berkeley.edu/mysql_config.php"&gt;configuring MySQL for BOINC&lt;/a&gt;.&lt;/blockquote&gt;&lt;p class="citation"&gt;&lt;cite cite="http://boinc.berkeley.edu/build.php"&gt;&lt;a href="http://boinc.berkeley.edu/build.php"&gt;Software prerequisites&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;  &lt;p/&gt;&lt;p/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116006509248153973?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116006509248153973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116006509248153973&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116006509248153973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116006509248153973'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/boinc-server-bottlenecks.html' title='BOINC server bottlenecks'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-116006363406843982</id><published>2006-10-05T10:49:00.000-05:00</published><updated>2006-10-05T11:14:00.130-05:00</updated><title type='text'>Pertinent BOINC Server Software Prerequisities</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;blockquote cite="http://boinc.berkeley.edu/build.php"&gt;Some parts of the BOINC server (the feeder and scheduling server) use shared memory. On hosts where these run, the operating system must have shared memory enabled, with a maximum segment size of at least 32 MB. How to do this depends on the operating system; some information is [given in the PostgreSQL documentation under &lt;a href="http://developer.postgresql.org/docs/postgres/kernel-resources.html"&gt;Managing Kernel Resources&lt;/a&gt;].&lt;/blockquote&gt;&lt;p class="citation"&gt;This is according to the BOINC &lt;cite cite="http://boinc.berkeley.edu/build.php"&gt;&lt;a href="http://boinc.berkeley.edu/build.php"&gt;Software prerequisites&lt;/a&gt;&lt;/cite&gt; page. Basically it entails setting the &lt;code&gt;SHMMAX&lt;/code&gt; parameter.&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="citation"&gt;&lt;i&gt;If&lt;/i&gt; the server is going to be run on Windows using &lt;a href="http://cygwin.com"&gt;Cygwin &lt;/a&gt;then the &lt;a href="http://www.cygwin.com/ml/cygwin/2004-07/msg00965.html"&gt;Setting SHMMAX in Cygwin&lt;/a&gt; mailing list conversation is pertinent.  At this point in time it has not been determined whether the server will be run on Windows (with or without Cygwin), Linux, UNIX or some other platform.&lt;/p&gt;&lt;p class="citation"&gt;Anyone responsible for maintaining or managing a BOINC server should read the &lt;cite cite="http://boinc.berkeley.edu/build.php"&gt;&lt;/cite&gt;&lt;a href="http://boinc.berkeley.edu/build.php"&gt;Software prerequisites&lt;/a&gt; page. It contains information on setting up the server, backup procedures and other important tasks.&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-116006363406843982?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/116006363406843982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=116006363406843982&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116006363406843982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/116006363406843982'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/pertinent-boinc-server-software.html' title='Pertinent BOINC Server Software Prerequisities'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-115990115528761640</id><published>2006-10-03T13:42:00.000-05:00</published><updated>2006-10-03T13:45:55.363-05:00</updated><title type='text'>BOINC Suitability</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;blockquote cite="http://boinc.berkeley.edu/parallelize.php"&gt;As a rule of thumb, if your application produces or consumes more than a gigabyte of data per day of CPU time, then it may be cheaper to use in-house cluster computing rather than volunteer computing.&lt;/blockquote&gt;&lt;p class="citation"&gt;&lt;cite cite="http://boinc.berkeley.edu/parallelize.php"&gt;&lt;a href="http://boinc.berkeley.edu/parallelize.php"&gt;Which applications are suitable for BOINC?&lt;/a&gt;&lt;/cite&gt;&lt;/p&gt;  &lt;p/&gt;&lt;p/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-115990115528761640?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/115990115528761640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=115990115528761640&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/115990115528761640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/115990115528761640'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/boinc-suitability.html' title='BOINC Suitability'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-115989752686769361</id><published>2006-10-03T12:41:00.000-05:00</published><updated>2006-10-03T12:45:26.876-05:00</updated><title type='text'>BOINC</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;SciLINC will use the &lt;a href="http://boinc.berkeley.edu"&gt;BOINC&lt;/a&gt; framework to distribute the work to volunteer's machines. A very good resource describing BOINC can be found on the &lt;cite cite="http://boinc.berkeley.edu/papers.php"&gt;&lt;a href="http://boinc.berkeley.edu/papers.php"&gt;Papers related to BOINC&lt;/a&gt;&lt;/cite&gt; web page.  Especially:&lt;/p&gt;  &lt;blockquote cite="Papers related to BOINC"&gt;&lt;a href="http://boinc.berkeley.edu/grid_paper_04.pdf"&gt;BOINC: A System for Public-Resource Computing and Storage&lt;/a&gt;. David P. Anderson.5th IEEE/ACM International Workshop on Grid Computing, November 8, 2004, Pittsburgh, USA.&lt;/blockquote&gt;&lt;p class="citation"&gt;&lt;cite cite="http://boinc.berkeley.edu/papers.php"/&gt;&lt;/p&gt;  BOINC implements Public-Resource Computing.  This differs from Grid-Computing in terms of security and available network bandwidth.  To make efficient use of PRC the compute time of the client must be relatively large compared to the data-transfer time required.&lt;p/&gt;&lt;blockquote cite="BOINC: A System for Public-Resource Computing and Storage"&gt;A research scientist can create and operate a large PRC project with about a week of initial time investment and approximately an hour per week of maintenance.&lt;/blockquote&gt;&lt;p&gt;"On a particular computer, the CPU might work for one project while the network is transferring files for another."&lt;/p&gt;  &lt;p&gt;It seems to me that this is where a large bandwidth/computation project might still succeed.  If the CPU is working for a computationally intensive project and the network pipe is transfering data for the data-intensive application.  This would work best given a large D/L to U/L ratio, given that most consumer internet providers offer a much large pipe downstream than upstream.&lt;/p&gt;  &lt;p&gt;(The typical server platform is LAMP with Python.)&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-115989752686769361?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/115989752686769361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=115989752686769361&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/115989752686769361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/115989752686769361'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/boinc.html' title='BOINC'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35443024.post-115989568107673608</id><published>2006-10-03T12:10:00.000-05:00</published><updated>2006-10-03T12:47:50.013-05:00</updated><title type='text'>SciLINC - Scientific Literature Indexing on Networked Computers</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;This blog is all about the development of &lt;cite cite="http://www.scilinc.org/"&gt;&lt;a href="http://www.scilinc.org/"&gt;SciLINC - Scientific Literature Indexing on Networked Computers&lt;/a&gt;&lt;/cite&gt; the &lt;a href="http://mobot.org"&gt;Missouri Botanical Garden's&lt;/a&gt; public-resource computing application that will automatically index large amounts of digitized scientific literature.&lt;/p&gt;  &lt;p&gt;You will find information on development progress, background information on the project and developer notes.  Much of what is here will simply be a collection of information that I want to be able to refer back to as development progresses.&lt;br/&gt; &lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35443024-115989568107673608?l=scilincdev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scilincdev.blogspot.com/feeds/115989568107673608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35443024&amp;postID=115989568107673608&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/115989568107673608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35443024/posts/default/115989568107673608'/><link rel='alternate' type='text/html' href='http://scilincdev.blogspot.com/2006/10/scilinc-scientific-literature-indexing.html' title='SciLINC - Scientific Literature Indexing on Networked Computers'/><author><name>Ron Parker</name><uri>http://www.blogger.com/profile/10457410498690834319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
