PDA

View Full Version : Multi-BOINC Manager



Slicker
09-20-11, 07:04 PM
Multi-BOINC Manager

What is it?
It is a user interface for the boinc client. It looks (and kind of feels) like BOINC Manager but manages multiple computers like BOINCView.

Why?
1. BOINCView is no longer supported.
2. People with multiple computers find switching in BOINC Manager to be a pain.
3. BAM doesn't show task status, event logs, etc.
4. I was bored.

Where can I get it?

It is available in the download folder of the Collatz web site. The link is: http://boinc.thesonntags.com/collatz/download/MultiBoincManager_20110920_v0.97.0.2.zip

How do I install it?
I got rid of the MSI since after the past re-write it is now a single executable written 100% in C#. Just unzip to a folder of your choice and double click on the .exe

Requirements:
1. .Net Framwork 4.0 (not the client, but the full version since it uses System.Web to launch web pages and project links and encode/decode the html in the notices)
2. BOINC 6.x.x or later

Know issues:
1. I still have to add the preferences screens. They are a royal pain since they seem to change in every single BOINC version and therefore it has to be able to generate the correct output for each different BOINC version because unrecognized XML elements tend to make BOINC crash because it uses a home-made XML parser which isn't XML 1.0 compliant.

2. In order to change the cc_config.xml flags on a remote computer, you need access to the administrative share (e.g. \\computername\c$ (file://\\computername\c$) )on the remote computer since the boinc client does not have a remote procedure call that writes the cc_config file. Cached network credentials may be used. It will not prompt if it does not have access. The same is true for reading the notices from remote computers.

3. If MBM loses its connection with a remote computer, there is no way to reconnect at the moment. You have to exit and restart MBM.

4. The configuration is stored in C:\ProgramData\MultiBOINCManager\MultiBOINCManager .xml on Vista/Win7/Win2008. Delete it to start with a clean install and it should be re-created automatically the next time MBM is started.

Fire$torm
09-20-11, 07:19 PM
Sweet. Thanks for the major effort. I will definitely give it a whorl.

Slicker
09-20-11, 07:22 PM
Sweet. Thanks for the major effort. I will definitely give it a whorl.

FYI... 20,487 lines of code. :)

spingadus
09-20-11, 07:40 PM
Interesting :) Is this similar to my current gui called BoincTasks (http://www.efmer.eu/boinc/boinc_tasks/)?

Fire$torm
09-20-11, 08:23 PM
FYI... 20,487 lines of code. :)

Yikes....

Sorry but I seem to have a problem

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at BoincManager2011.BOINCHelper.ReadConfig(DataSetBOI NC ds, Dictionary`2 dataGridViewSortColumns, Dictionary`2 dataGridViewSortDirections) in C:\Source\MultiBoincManager3\BoincManager2011\BOIN CHelper.cs:line 335
at BoincManager2011.FormMain.LoadComputers() in C:\Source\MultiBoincManager3\BoincManager2011\Form Main.cs:line 96
at BoincManager2011.FormMain.Form1_Load(Object sender, EventArgs e) in C:\Source\MultiBoincManager3\BoincManager2011\Form Main.cs:line 55
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.237 (RTMGDR.030319-2300)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MultiBoincManager
Assembly Version: 0.97.0.0
Win32 Version: 0.97.0.0
CodeBase: file:///C:/Utils/Network/MBM/MultiBoincManager.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.235 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms.DataVisualization
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.237 (RTMGDR.030319-2300)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data.DataSetExtensions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.237 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Any ideas?

BTW: BOINC is not installed in it's default location.

Bok
09-20-11, 09:35 PM
I'm getting similar problems on a Win7 64bit machine. I could hit continue and it would progress, but then just hung up.

By the way, I am VERY happy to see you develop this. I loved BoincView even with all it's quirks, but just couldn't get away with BOINCTasks at all.

Fire$torm
09-21-11, 12:26 AM
I'm getting similar problems on a Win7 64bit machine. I could hit continue and it would progress, but then just hung up.

By the way, I am VERY happy to see you develop this. I loved BoincView even with all it's quirks, but just couldn't get away with BOINCTasks at all.

OOOPS. Sorry BOK. I meant to reply with quote, not edit your post. I didn't realize I had been granted "God Mode" X_X



Duh... Yeah, I too should have mentioned the OS. Like BOK, Win7 Home Premium x64.

Slicker
09-21-11, 01:31 AM
Doh! Of course it works once its set up. I'll need to debug with a clean install and see what's missing.

Fire$torm
09-21-11, 03:00 AM
Interesting :) Is this similar to my current gui called BoincTasks (http://www.efmer.eu/boinc/boinc_tasks/)?

Yes it is. That and BOINCView.

Slicker
09-21-11, 10:51 AM
I fixed the initialization bug on clear installs. The new version is 0.97.0.1 and available at:

http://boinc.thesonntags.com/collatz/download/MultiBoincManager_20110920_v0.97.0.1.zip

I also updated the link at the top of this thread. This app is definitely a work in progress, so let me know what you like or dislike about the app, what's broke, and what features you would like to see added. The source code is available to anyone who wants it as well.

Slicker
09-21-11, 06:24 PM
v0.97.0.2 released. See ReleaseNotes.txt in the zip file for additions/fixes.

http://boinc.thesonntags.com/collatz/download/MultiBoincManager_20110920_v0.97.0.2.zip