Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 66

Thread: Donate@Home Uber Fail

  1. #51
    Friend of SETI.USA
    Join Date
    November 15th, 2010
    Posts
    2,452

    Re: Donate@Home Uber Fail

    Glad it works for you Duke ...

    @F$' I'll post my .bat file, can you see anything wrong with it ??? It was suspending the Wu's but not restarting them, then I changed the Path to the boincccmd to the proper Path & now it won't Suspend the Wu's anymore when they reach the Time limit I set. The Path to the .bat file should be okay too, I've checked it several times already ...

    :@ECHO OFF

    CLS

    :BEGIN
    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ nomorework

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ suspend

    CHOICE /N /D Y /T 10

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ reset

    CHOICE /N /D Y /T 15

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ resume

    CHOICE /N /D Y /T 5

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ allowmorework

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ update

    :END

    Exit
    Last edited by STE\/E; 02-01-13 at 09:49 AM.

  2. #52
    Diamond Member
    Duke of Buckingham's Avatar
    Join Date
    May 14th, 2011
    Location
    Lisboa = Portugal
    Posts
    8,433

    Re: Donate@Home Uber Fail

    No tasks for Donate at least for me.
    Friends are like diamonds and diamonds are forever



  3. #53
    Past Administrator
    Fire$torm's Avatar
    Join Date
    October 13th, 2010
    Location
    In the Big City
    Posts
    7,938

    Re: Donate@Home Uber Fail

    Quote Originally Posted by STE\/E View Post
    Glad it works for you Duke ...

    @F$' I'll post my .bat file, can you see anything wrong with it ??? It was suspending the Wu's but not restarting them, then I changed the Path to the boincccmd to the proper Path & now it won't Suspend the Wu's anymore when they reach the Time limit I set. The Path to the .bat file should be okay too, I've checked it several times already ...

    :@ECHO OFF

    CLS

    :BEGIN
    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ nomorework

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ suspend

    CHOICE /N /D Y /T 10

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ reset

    CHOICE /N /D Y /T 15

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ resume

    CHOICE /N /D Y /T 5

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ allowmorework

    E:\PROGRAM FILES \BOINC64 MGR\boinccmd --project http://donateathome.org/ update

    :END

    Exit
    Hmmmm, looks like you have two sets of problems.

    1) You have an extra space where it should not be. E:\PROGRAM FILES \ should be E:\PROGRAM FILES\ This error is repeated for all the boinccmd lines.

    2) You need to add quote marks to all directory paths. Example: "E:\PROGRAM FILES \BOINC64 MGR\boinccmd"

    Batch files work at the shell/Command/DOS level and DOS is stupid. It sees any space as an End Of Line so it cuts off the rest of the statement. The quote marks say Hey stupid DOS, these spaces are not "End Of Line", so please keep reading"

    All fixed below
    Code:
    :@ECHO OFF
    
    CLS
    
    :BEGIN
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ nomorework
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ suspend
    
    CHOICE /N /D Y /T 10
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ reset
    
    CHOICE /N /D Y /T 15
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ resume
    
    CHOICE /N /D Y /T 5
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ allowmorework
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ update
    
    :END
    
    Exit
    Last edited by Fire$torm; 02-01-13 at 01:30 PM.


    Future Maker? Teensy 3.6

  4. #54
    Friend of SETI.USA
    Join Date
    November 15th, 2010
    Posts
    2,452

    Re: Donate@Home Uber Fail

    Okay I'll try that, I just copied the .bat files from one of your Quotes, I wondered about the Space & tried it both ways but still didn't work but didn't have the " " so it wasn't going to work ... Thanks

    EDIT: No work right now to try the .bat file out ...
    Last edited by STE\/E; 02-01-13 at 02:15 PM.

  5. #55
    Past Administrator
    Fire$torm's Avatar
    Join Date
    October 13th, 2010
    Location
    In the Big City
    Posts
    7,938

    Re: Donate@Home Uber Fail

    Quote Originally Posted by STE\/E View Post
    Okay I'll try that, I just copied the .bat files from one of your Quotes, I wondered about the Space & tried it both ways but still didn't work but didn't have the " " so it wasn't going to work ... Thanks

    EDIT: No work right now to try the .bat file out ...

    You can test the .bat file with another project like MooWrap just to make sure BOINC sees the commands.

    For testing with MooWrap
    Code:
    @ECHO OFF
    
    CLS
    
    :BEGIN
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://moowrap.net/ nomorework
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://moowrap.net/ suspend
    
    CHOICE /N /D Y /T 10
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://moowrap.net/ reset
    
    CHOICE /N /D Y /T 15
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://moowrap.net/ resume
    
    CHOICE /N /D Y /T 5
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://moowrap.net/ allowmorework
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://moowrap.net/ update
    
    
    :END
    
    Exit


    Future Maker? Teensy 3.6

  6. #56
    Friend of SETI.USA
    Join Date
    November 15th, 2010
    Posts
    2,452

    Re: Donate@Home Uber Fail

    Project has work again, I set up a 2'nd Box with the .bat file to try & see if it works for me ...

  7. #57
    Friend of SETI.USA
    Join Date
    November 15th, 2010
    Posts
    2,452

    Re: Donate@Home Uber Fail

    Project seems to be down again ??? Wu's won't progress & the .bat file still doesn't work on either Box, doesn't stop the Wu's when the Time Limit is reached ... ... Back the WCG again for those 2 Box's ...

  8. #58
    Friend of SETI.USA
    Join Date
    November 15th, 2010
    Posts
    2,452

    Re: Donate@Home Uber Fail

    I got the .bat File to work at least on one Box, trying it on another Box to see if the change I made works on it too ... I added a few minutes to the Time Limit too as I noticed some of the Wu's run a few minutes longer & don't really need to be reset ...

    EDIT: I was mistaken, the .bat file is working as it does suspend the Wu & then resume it like it should but for some reason the Wu's revert back to the standard Donate Setting's of running just 1 Wu while the other Wu sit's idle & using the .991 CPU instead of the .5 CPU I have in the app_config file. Also the 1 Wu running runs slower than crap & I have to Exit BOINC & Restart BOINC again to get 2 Wu's running again like they should until another Wu Hangs again ...
    Last edited by STE\/E; 02-03-13 at 07:14 AM.

  9. #59
    Past Administrator
    Fire$torm's Avatar
    Join Date
    October 13th, 2010
    Location
    In the Big City
    Posts
    7,938

    Re: Donate@Home Uber Fail

    Quote Originally Posted by STE\/E View Post
    I got the .bat File to work at least on one Box, trying it on another Box to see if the change I made works on it too ... I added a few minutes to the Time Limit too as I noticed some of the Wu's run a few minutes longer & don't really need to be reset ...

    EDIT: I was mistaken, the .bat file is working as it does suspend the Wu & then resume it like it should but for some reason the Wu's revert back to the standard Donate Setting's of running just 1 Wu while the other Wu sit's idle & using the .991 CPU instead of the .5 CPU I have in the app_config file. Also the 1 Wu running runs slower than crap & I have to Exit BOINC & Restart BOINC again to get 2 Wu's running again like they should until another Wu Hangs again ...

    OK, I had to make certain assumptions.
    *you have your remote systems setup with automatic user login.
    *Your remote systems have BOINC set to launch with user login

    This version of the .bat file will fix Donate then shut down BOINC and then restart the computer. I had to set it this way as restarting BOINC from within a batch file has weird behavior. The shutdown command has a small popup window (which can be ignored) and is set to restart the system with the default timeout of 30 seconds.

    Code:
    :@ECHO OFF
    
    CLS
    
    :BEGIN
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ nomorework
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ suspend
    
    CHOICE /N /D Y /T 10
    
    SHUTDOWN /r /f
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ reset
    
    CHOICE /N /D Y /T 5
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ resume
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --project http://donateathome.org/ allowmorework
    
    "E:\PROGRAM FILES\BOINC64 MGR\boinccmd" --quit
    
    :END
    
    Exit


    Future Maker? Teensy 3.6

  10. #60
    Friend of SETI.USA
    Join Date
    November 15th, 2010
    Posts
    2,452

    Re: Donate@Home Uber Fail

    Quote Originally Posted by Fire$torm View Post
    OK, I had to make certain assumptions.
    *you have your remote systems setup with automatic user login.
    *Your remote systems have BOINC set to launch with user login
    Yes, I get a split second of Power Outage every so often from ThunderStorms rolling thru, maybe once every 6 month's if even that often so I set them up that way as the Box's will power back on almost instantly. I could run UPS Battery Backups & did at one time but the Cost for the UPS's & replacement battery's & the extra heat created by the backups I decided it they just weren't worth it. I wasn't going to lose anything critical so I got rid of them all.

    Your most recent .bat file works for me, at first it didn't quit do the job as when the Box rebooted only 1 Donate Wu would run when BOINC would start up & it would run real slow like 1 Hr + to run a Wu. The reason for that was because the Wu wouldn't be using any CPU Resources. There would be 8 CPU Wu's running after it rebooted, so I checked the BOINC Event Log to see if the BOINC Manager was seeing the app_config file in the Donate Directory. It was seeing it but was giving a Message about the Donate .exe file not being listed in the config file. So I guess it would revert to the standard Donate settings of running only 1 Wu.

    Why it wouldn't use any CPU Resource I don't know because the Standard Donate settings are for it to use .991 CPU. Anywho I took the Config file out & put a app_info.xml file in it's place & now 2 Wu's start up when BOINC restarts again. They also use .5 CPU like the app_info.xml files says to use & run at there normal 18 Min's or so for 2 running. I was getting Wu Error's too when the Box's rebooted, with the new app_info.xml file in place with the Donate .exe listed I don't get the error's.

    I also put a Shortcut to the BoincTasks .exe in the Windows Startup Folder so BoincTasks would restart when the Box rebooted. Without the Shortcut BoincTasks won't restart until you do it Manually.

    This is the app_info.xml file I'm using if you need it, I guess you could name it app_config.xml, either way it should work:

    <app_info>


    <app>
    <name>test</name>
    <user_friendly_name>Donate ATI openCL app_info</user_friendly_name>
    </app>



    <file_info>
    <name>dah618.exe</name>
    <executable/>
    </file_info>


    <file_info>
    <name>OpenCL.dll</name>
    </file_info>



    <app_version>
    <app_name>test</app_name>
    <version_num>618</version_num>
    <platform>windows_intelx86</platform>
    <avg_ncpus>0.500000</avg_ncpus>
    <max_ncpus>0.500000</max_ncpus>
    <flops>1e+11</flops>
    <plan_class>opencl_ati_100</plan_class>
    <api_version>7.1.0</api_version>
    <file_ref>
    <file_name>dah618.exe</file_name>
    <main_program/>
    <copy_file/>
    </file_ref>
    <file_ref>
    <file_name>OpenCL.dll</file_name>
    <open_name>OpenCL.dll</open_name>
    <copy_file/>
    </file_ref>
    <coproc>
    <type>ATI</type>
    <count>0.500000</count>
    </coproc>
    <gpu_ram>268435456.000000</gpu_ram>
    </app_version>



    </app_info>
    Last edited by STE\/E; 02-04-13 at 09:43 AM.

Page 6 of 7 FirstFirst ... 4567 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
  •