Git Product home page Git Product logo

boinc-magphys's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boinc-magphys's Issues

Boinc client gets duplicate tasks on attaching to the magphys project

As shown in the log below, the Boinc client (on debian) makes two scheduler requests in quick succession getting the same task twice. It then attempts to run the same task twice. Likely solution is to configure the dispatching of scheduler requests so that they are not sent until the first task is completed ? See <next_rpc_delay/> in http://boinc.berkeley.edu/trac/wiki/ProjectOptions.

18-Jan-2012 13:35:57 [---] Fetching configuration file from http://www.boinc-magphys.org/magphys/get_project_config.php
18-Jan-2012 13:36:13 [magphys] Master file download succeeded
18-Jan-2012 13:36:18 [magphys] Sending scheduler request: Project initialization.
18-Jan-2012 13:36:18 [magphys] Requesting new tasks
18-Jan-2012 13:36:19 [magphys] Scheduler request completed: got 1 new tasks
18-Jan-2012 13:36:19 [magphys] [task_debug] result state=NEW for test_0 from handle_scheduler_reply
18-Jan-2012 13:36:20 [magphys] [task_debug] result state=FILES_DOWNLOADING for test_0 from CS::update_results
18-Jan-2012 13:36:21 [magphys] Started download of wrapper
18-Jan-2012 13:36:21 [magphys] Started download of fit_sed
18-Jan-2012 13:36:22 [magphys] Finished download of wrapper
18-Jan-2012 13:36:22 [magphys] Finished download of fit_sed
18-Jan-2012 13:36:22 [magphys] Started download of job.xml
18-Jan-2012 13:36:22 [magphys] Started download of zlibs.dat
18-Jan-2012 13:36:23 [magphys] Finished download of job.xml
18-Jan-2012 13:36:23 [magphys] Finished download of zlibs.dat
18-Jan-2012 13:36:23 [magphys] Started download of filters.dat
18-Jan-2012 13:36:23 [magphys] Started download of observations.dat
18-Jan-2012 13:36:24 [magphys] Finished download of filters.dat
18-Jan-2012 13:36:24 [magphys] Finished download of observations.dat
18-Jan-2012 13:36:24 [magphys] Started download of infrared_dce08_z0.4600.lbr
18-Jan-2012 13:36:24 [magphys] Started download of starformhist_cb07_z0.4600.lbr
18-Jan-2012 13:36:26 [magphys] Finished download of infrared_dce08_z0.4600.lbr
18-Jan-2012 13:36:26 [magphys] Finished download of starformhist_cb07_z0.4600.lbr
18-Jan-2012 13:36:26 [magphys] Started download of OptiLIB_cb07.bin
18-Jan-2012 13:36:26 [magphys] Started download of OptiLIBis_cb07.bin
18-Jan-2012 13:36:29 [magphys] Finished download of OptiLIB_cb07.bin
18-Jan-2012 13:36:29 [magphys] Started download of InfraredLIB.bin
18-Jan-2012 13:36:29 [magphys] Sending scheduler request: To fetch work.
18-Jan-2012 13:36:29 [magphys] Requesting new tasks
18-Jan-2012 13:36:30 [magphys] Scheduler request completed: got 1 new tasks
18-Jan-2012 13:36:30 [magphys] [task_debug] result state=NEW for test_1 from handle_scheduler_reply

Setup project website

Create a website with information about Magphys and BOINC.
BOINC project comes with a web-site template in PHP which will need to be modified/rewritten.

Work generation

Create a work generator that will make jobs available for BOINC clients that attach to the Magphys project.
Jobs could be broken down by sets of galaxy observations. For example, if you have observations from 100 galaxies, there could be 10 jobs created each dealing with a different set of 10 galaxies. Also, for validation purposes we will want multiple clients to work on the same job - so, you could have 100 jobs - each of the 10 galaxy observations repeated 10 times. This will depend a lot on the final form that the JHU Magphys code takes.

Add Linux/Unix build to main build

If this is done before turning the build into a one-step build, add instructions to README.markdown for a linux build.

If this is done after turning the build into a one-step build, add Linux option for the one-step build.

Result Assimilation

Once the result files have passed through the validator they need to be stored in the database.

Spike to determine how to run Fortran code under BOINC

ICRAR wants to be able to run Magphys fortran code using BOINC infrastructure. BOINC provides a wrapper that allows running external programs without modification in their infrastructure. Setup a BOINC server and test this approach with current version of Magphys code.

Restructuring Magphys Fortran code to run with BOINC wrapper

The current Magphys Fortran code is being re-work by Institut D'Astrophysique de Paris to include some options required by JHU (Johns Hopkins - see Kevin Vinsen for details). Depending on the final form that it takes, changes have to be made to run with the wrapper:

  • inputs and outputs
  • dealing with large data files
    For the spike, I have modified the current version of the code to read inputs from command line params. Also, for the spike I restricted it to working with one set of galaxy observations.

Setup BOINC server

Setup a BOINC server - including a puppet script to automate this process. A set of Rake tasks exist to create the project and build publish versions of the app for linux platform (see #2).

Result validation

Create a validator program that can look at the results submitted by BOINC Magphys clients and compare for correctness, throw out incorrect/incomplete results etc.

Turn build instructions into one-step build process

The build instructions seem fairly straight-forward, but it would be nice for the build instructions to be a single command.

Rake is being used elsewhere in this project, so it could be used for the main build as well. Or the standard CPP configure/make could be used, though this would require a separate approach for Windows.

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.