Giter VIP home page Giter VIP logo

hfmnet-parser's Introduction

The Folding@Home GPU Statistics Database's HFM.NET Custom Parser

Overview

This program (or source code) was designed to take CSV file formats of some of HFM.NET's files and format an output suitable for submission into The Folding@Home GPU Statistics Database.

It is important to note that this code does not incorporate serious error checking and was never intended to have any. The program compiled from this code was intended for the author's personal use. The reason this code was made public is because the author feels that it may be beneficial for others or the author's self if others could access the code. Constructive criticism is always welcome, and modification, use, and redistribution of the code for one's purposes is welcome as well (as long as it is not for used for commercial purposes or redistributed without proper licensing without permission from the author (please see the license distributed with this code)).

How to Use

There are some preliminary steps that must be taken before one can properly use the program compiled from this source code. Here are 14 easy steps to get this program to actually work rather than be a pile of source code:

  • Own a graphics card powerful enough for Folding@Home.
  • Own and successfully run a copy of Folding@Home using your graphics card. (For support see The Folding@Home Support Forum.)
  • Own a copy of HFM.NET and run Folding@Home and HFM.NET long enough to get some data.
  • Own a copy of some software that can read and export a SQLite database file to a CSV formatted file (I use SQLite Database Browser).
  • Compile this source code into a directory that you name whatever you want.
  • Open HFM.NET, click on the menu "Help", and click on "View HFM.NET Data Files".
  • In the folder that is opened, open the "WuHistory.db3" file with the software you downloaded to export SQLite database files and export to a CSV format into the directory where you compiled this source code into an ".exe" file. (NOTE: make sure the CSV format does not contain quotes around the fields, does not have a comma at the end of every line, and ends with an empty line. If those conditions are not met, this program will not work. To fix a CSV format error, try using a macro in a text editor such as Notepad++.)
  • Make sure the CSV file of the "WuHistory.db3" file is named "WuHistory.csv"
  • While still in HFM.NET's data files directory, open the "ProjectInfo.tab" file in your favorite text editor and find-and-replace every tab with a comma making sure that the conditions mentioned for the "WuHistory.csv" file are also met with this file.
  • Save the file in the same directory that the "WuHistory.csv" file is located (which should be the same directory as the ".exe" file that was produced by compiling this source code).
  • Create a file named "SlotNames.csv" that contains the slot name found in the "WuHistory.csv" file, then a comma, and then the chipset and model of the graphics card as one field
  • Run this compiled program and select THE NUMBER of the core type you want to have output and averaged.
  • The program should output two CSV files into the the C: drive root directory, of which the one containing a filtered version of "WuHistory.csv" is "Hello.csv", and the one containing the averaged data is "World.csv"
  • Be nice and submit your data to The Folding@Home GPU Statistics Database :D

hfmnet-parser's People

Watchers

 avatar  avatar

hfmnet-parser's Issues

Release v0.1

Release v0.1 (a program that completes its intended task to a certain degree)

Release v1.0

Release v1.0 (a program capable of performing its intended task)

Some Core Type Selections Cause Crash

In my experience, selecting a core type that is not a GPU core type causes the program to crash and in some cases produce an error and then crash.

Since this is isolated to core types that are irrelevant at this time, this will probably not be fixed unless requested by someone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.