C P F a r m V i e w
![]()
![]()
![]()
![]()
![]()
[Updated on 17th August 2004]
CPFarmView displaying results for a number of machines
Latest Release is v1.20, released on 29th July 2004 Download v1.20 for Windows :
CPFarmView.zip (Zipped = 26Kb)
Download v1.20 MSVC++ 6.0 Source :CPFarmView_Source.zip (Zipped = 122Kb)
Introduction
CPFarmView is an application designed to let you view the progress of all your machines over a local area network.
NOTE TO BOINC USERS :
The current version of CPFarmView does not work with the BOINC Alpha - Watch this space.I don't know how many people are using CPFarmView but it has been received very well by the CPDN Community. Discussion of this application amongst the CPDN user group can be viewed on their discussion pages here.
Installation
CPFarmView works by writing log files to a shared network directory. Each machine can then read those files to see how the others are getting on.
Installation is ralatively simple:
- Extract the .exe and .ini files onto each computer.
- Create a shared directory on ONE machine.
- On EVERY OTHER machine, map a network drive to the shared directory.
- On EVERY OTHER machine, edit the .ini file so that the SHAREDDIR value is equal to the path to the shared directory. For example, N:\\. You MUST have a double \ at the end of the path.
- On EVERY machine, edit the .ini file so that the MACHINE value is some unique name you will recognise.
- If you want it to run automatically, on EVERY machine create a shortcut to the .exe in your startup folder.
That's all you should need to do to get started. Once running, you get select which columns to display and in what order from the following:
Column Displayed as Status Traffic Light - Machine running within 2.5% of its personal peak performance.
- Machine running OK.
- Machine has slowed by at least 10%.
- Machine has slowed by at least 20%.
- Machine is running normally.
- Machine is uploading data.
- Machine has stopped.
- The simulation is predicting an unusually hot world.
- The simulation is predicting an unusually cold world.
Status Text OK - Machine running OK
Slow - Machine has slowed by at least 10%.
SLOW - Machine has slowed by at least 20%.
Upload - Machine is uploading data.
STOP - Machine has stopped.
Hot - The simulation is predicting an unusually hot world.
Cold - The simulation is predicting an unusually cold world.
Percentage Number Percentage of phase complete to 2 decimal places. eg. 12.34% Percentage Bar Percentage of phase complete as a progress bar. eg. Timestep The current timestep number. Timestep144 The number of steps until the next multiple of 144. This is useful as the model always rewinds to the last multiple after a restart. Timestep10820 The number of steps until the next multiple of 10820. In theory the model 'trickles' it's results every 10820 timesteps. Date The date which the model is currently simulating. Average Temperature The average instantaneous temperature over the model. Min/Max Temperature The average minimum and maximum temperatures over the model. Timesteps/Min The number of timesteps the machine is processing each minute. Sec/TS The number of seconds the machine takes to process each timestep. End of Phase ETA At current speed, how long it will be until the current phase is complete. Machine The name of the machine. Phase The current phase. Advanced
As well as the basic operation, there are many other settings in the .ini file which can be edited by hand:
TEXTFACE The font used for the display. TEXTPITCH The point size of the font. ALERT If set to 'Yes', the window will pop up if a problem occurs on any machine. RUNNINGCPDN Set this to 'No' if you want to monitor machines from a machine which isn't running CPDN itself. LOG Set this to 'Yes' to create an extra log file as a permanent record of a model. This can be loaded into Excel to create charts. DELETEONEXIT If you set this to 'Yes', the machine will disappear from all other machines when it exits. STARTMINIMISED Set this to 'Yes' to start in the system tray. ALERTUPLOAD Set this to 'Yes' if you wan't an upload to trigger an alert. CALCTEMP Set this to 'Yes' if you want global temperatures to be calculated. X,Y The top left of the window. These are set automatically when you move the window on screen. COLDALERT How cold does a model have to be to be classed as cold? HOTALERT How hot does a model have to be to be classed as hot? UPDATEDELAY The number of seconds between updates of the screen. COLDALERT How cold does a model have to be to be classed as cold? BEFOREMYUPLOAD A command to be run when this machine is about to upload results. AFTERMYUPLOAD A command to be run after this machine has uploaded results. BEFOREANYUPLOAD A command to be run when any machine is about to upload results. AFTERANYUPLOAD A command to be run after any machine has uploaded results. BEFOREMYUPLOAD A command to be run when this machine is about to upload results. ACTIONBUFFER The number of timesteps before an upload when the above commands will be run. Development History
29/July/2004 v1.20 The code has been tidied so it now compiles with zero warnings. Also thanks to Bram Cramer for implementation of some additional features:
- Pop-up menu added to the system tray icon.
- Application will start monitoring other machines if CPDN is not running on this machine, instead of waiting forever.
- Some validation of the .ini file
Additional Information
- Martin & Anna's Website - Bug Report
HTML validated by the World Wide Web Consortium (W3C)
ClimatePrediction.Net
CPFarmView.zip (Zipped = 25Kb)
CPFarmView_Source.zip (Zipped = 56Kb)