Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Collatz: Android Applications Now Available

  1. #11
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Collatz: Android Applications Now Available

    Any chance you have gcc installed on your Pi? If so, what is the output of the command: gcc -dumpmachine
    I might be able to use a pre-built cross compiler available already for Ubuntu but I'm not sure yet. It sounds like depending upon which Pi distro is used, it may want arm-unknown-linux-gnueabi or it may want arm-unknown-linux-gnueabihf where the "hf" stands for hardware floating point (vs. softfp or none).
    Spring 2008 Race: (1st Place)

  2. #12
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    Re: Collatz: Android Applications Now Available

    pi@raspberrypi ~ $ gcc -dumpmachine
    arm-linux-gnueabihf

    Does that help?
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  3. #13
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Collatz: Android Applications Now Available

    I created a new app for the Raspberry Pi using a cross compiler built specifically for the armv6 chip used by the Pi. I also added even smaller WUs so it can hopefully finish them within a couple days.

    I almost bought one, but after adding the PSU, keyboard, mouse, USB hub, wireless USB, thumb drive, and SD card, the price was almost $100. That's pretty steep for the equivalent of a PII 300Mhz machine. For a multi-media box, it would be cheaper to get a chrome USB adapter and stream from my laptop to the TV.
    Spring 2008 Race: (1st Place)

  4. #14
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    Re: Collatz: Android Applications Now Available

    Hmm. Do I need to do something on my end?

    raspberrypi

    1961 Collatz Conjecture 3/5/2014 2:39:19 PM work fetch resumed by user
    1962 Collatz Conjecture 3/5/2014 2:40:18 PM [sched_op] Starting scheduler request
    1963 Collatz Conjecture 3/5/2014 2:40:18 PM Sending scheduler request: To fetch work.
    1964 Collatz Conjecture 3/5/2014 2:40:18 PM Requesting new tasks for CPU
    1965 Collatz Conjecture 3/5/2014 2:40:18 PM [sched_op] CPU work request: 108000.00 seconds; 1.00 devices
    1966 Collatz Conjecture 3/5/2014 2:40:20 PM Scheduler request completed: got 0 new tasks
    1967 Collatz Conjecture 3/5/2014 2:40:20 PM [sched_op] Server version 703
    1968 Collatz Conjecture 3/5/2014 2:40:20 PM Message from server: This project doesn't support computers of type arm-unknown-linux-gnueabihf
    1969 Collatz Conjecture 3/5/2014 2:40:20 PM Project requested delay of 86400 seconds
    1970 Collatz Conjecture 3/5/2014 2:40:20 PM [sched_op] Deferring communication for 1 days 0 hr 0 min 0 sec
    1971 Collatz Conjecture 3/5/2014 2:40:20 PM [sched_op] Reason: requested by project
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  5. #15
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Collatz: Android Applications Now Available

    Quote Originally Posted by zombie67 View Post
    Hmm. Do I need to do something on my end?

    raspberrypi

    1961 Collatz Conjecture 3/5/2014 2:39:19 PM work fetch resumed by user
    1962 Collatz Conjecture 3/5/2014 2:40:18 PM [sched_op] Starting scheduler request
    1963 Collatz Conjecture 3/5/2014 2:40:18 PM Sending scheduler request: To fetch work.
    1964 Collatz Conjecture 3/5/2014 2:40:18 PM Requesting new tasks for CPU
    1965 Collatz Conjecture 3/5/2014 2:40:18 PM [sched_op] CPU work request: 108000.00 seconds; 1.00 devices
    1966 Collatz Conjecture 3/5/2014 2:40:20 PM Scheduler request completed: got 0 new tasks
    1967 Collatz Conjecture 3/5/2014 2:40:20 PM [sched_op] Server version 703
    1968 Collatz Conjecture 3/5/2014 2:40:20 PM Message from server: This project doesn't support computers of type arm-unknown-linux-gnueabihf
    1969 Collatz Conjecture 3/5/2014 2:40:20 PM Project requested delay of 86400 seconds
    1970 Collatz Conjecture 3/5/2014 2:40:20 PM [sched_op] Deferring communication for 1 days 0 hr 0 min 0 sec
    1971 Collatz Conjecture 3/5/2014 2:40:20 PM [sched_op] Reason: requested by project
    Looks like I need to create another cross compiler and set up additional platforms:

    arm-unknown-linux-gnueabi
    vs
    arm-unknown-linux-gnueabihf

    The former __should__ work as it does software emulation whereas the latter uses hardware floating point. Except for percent complete, collatz doesn't use floats. But, some Pi distros use "hf" and some don't. Look like I guessed wrong.


    While I work on the new cross-compiler, any chance you can try addind the following to your cc_config.xml on Pi:

    <alt_platform>
    arm-unknown-linux-gnueabi</alt_platform>


    Spring 2008 Race: (1st Place)

  6. #16
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Collatz: Android Applications Now Available

    Forget that last post. I compiled versions for both "hf" and non-"hf" distros of Raspberry Pi so you should be able to get work w/o the alt_platform change.
    Spring 2008 Race: (1st Place)

  7. #17
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    Re: Collatz: Android Applications Now Available

    Progress! But still an issue to solve:


    2065 Collatz Conjecture 3/5/2014 9:23:34 PM [sched_op] CPU work request: 108000.00 seconds; 1.00 devices
    2066 Collatz Conjecture 3/5/2014 9:23:35 PM Scheduler request completed: got 0 new tasks
    2067 Collatz Conjecture 3/5/2014 9:23:35 PM [sched_op] Server version 703
    2068 Collatz Conjecture 3/5/2014 9:23:35 PM No tasks sent
    2069 Collatz Conjecture 3/5/2014 9:23:35 PM Project has no tasks available


    Update: Got a task! BOINC thinks it will take 30 days, which is a problem. But maybe it takes some time to realize a shorter time Will update in the morning.

    http://boinc.thesonntags.com/collatz...esultid=940632
    Last edited by zombie67; 03-06-14 at 12:42 AM.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  8. #18
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Collatz: Android Applications Now Available

    I think the issue is that when I changed from 4 to 8 WU sizes, BOINC got confused. They were originally numbers size 0 thru 3. Now they are 0-7 but the large ones are 4-7 and the smallest are 0-3. Maybe I can change the sze_class in the database for the WUS where the size doesn't match the size class (e.g. those created prior to switching from 4 to 8).
    Spring 2008 Race: (1st Place)

  9. #19
    Gold Member
    Slicker's Avatar
    Join Date
    October 25th, 2010
    Location
    South of Cheeseland
    Posts
    1,253

    Re: Collatz: Android Applications Now Available

    Try again now. It __should__ get a much smaller WU now.
    Spring 2008 Race: (1st Place)

  10. #20
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,267

    Re: Collatz: Android Applications Now Available

    I just downloaded a task for my GS3, and it looks like it will take 12 days.

    http://boinc.thesonntags.com/collatz...esultid=967823


    For the Pi, 30 days.

    http://boinc.thesonntags.com/collatz...esultid=968546
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •