Welcome to MilkyWay@home

app_info removes the exe

Message boards : Number crunching : app_info removes the exe
Message board moderation

To post messages, you must log in.

AuthorMessage
Who Know's

Send message
Joined: 10 Nov 09
Posts: 20
Credit: 30,395,419
RAC: 0
Message 52032 - Posted: 23 Dec 2011, 0:44:03 UTC

Just how do you guys run any scripts?
every time i put an app_info into my project folder bonic says
12/22/2011 6:10:33 PM | Milkyway@home | Found app_info.xml; using anonymous platform
12/22/2011 6:10:33 PM | Milkyway@home | [error] State file error: missing application file milkyway_0.82_windows_intelx86_ati14.exe
12/22/2011 6:10:33 PM | Milkyway@home | [error] State file error: missing application file milkyway_nbody_0.80_windows_intelx86__mt
12/22/2011 6:10:33 PM | Milkyway@home | [error] No application found for task: windows_intelx86 80 mt; discarding
12/22/2011 6:10:33 PM | Milkyway@home | [error] No application found for task: windows_intelx86 82 ati14; discarding

and this is what i got for the app_info file

<app_info>
<app>
<name>milkyway</name>
</app>
<file_info>
<name>milkyway_separation_0.82_windows_intelx86__ati14.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>milkyway</app_name>
<version_num>82</version_num>
<plan_class>ati14</plan_class>
<flops>1.0e11</flops>
<avg_ncpus>0.03</avg_ncpus>
<max_ncpus>3</max_ncpus>
<coproc>
<type>ATI</type>
<count>2</count>
</coproc>
<cmdline>--gpu-target-frequency 60 -nthreads=2</cmdline>
<file_ref>
<file_name>milkyway_0.82_windows_intelx86_ati14.exe</file_name>
<main_program/>
</file_ref>
</app_version>

<app>
<name>milkyway_nbody</name>
<user_friendly_name>MilkyWay@Home nbody Simulation</user_friendly_name>
</app>
<file_info>
<name>milkyway_nbody_0.80_windows_intelx86__mt.exe</name>
<executable/>
</file_info>
<file_ref>
<file_name>libgomp-1_nbody_0.80.dll</file_name>
<open_name>libgomp-1.dll</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>pthreadGC2_nbody_0.80.dll</file_name>
<open_name>pthreadGC2.dll</open_name>
</file_ref>

<app_version>
<app_name>milkyway_nbody</app_name>
<version_num>80</version_num>
<plan_class>mt</plan_class>
<cmdline>--nthreads=3</cmdline>
<file_ref>
<file_name>milkyway_nbody_0.80_windows_intelx86__mt</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>libgomp-1.dll</file_name>
</file_ref>
<file_ref>
<file_name>pthreadGC2.dll</file_name>
</file_ref>
</app_version>
</app_info>

thanks
ID: 52032 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile arkayn
Avatar

Send message
Joined: 14 Feb 09
Posts: 999
Credit: 74,932,619
RAC: 0
Message 52034 - Posted: 23 Dec 2011, 6:00:14 UTC - in response to Message 52032.  

The milkyway section should be along the lines of this.

<app>
<name>milkyway</name>
</app>
<file_info>
<name>milkyway_separation_0.82_windows_x86_64__ati14.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>milkyway</app_name>
<version_num>82</version_num>
<flops>1.0e11</flops>
<avg_ncpus>0.05</avg_ncpus>
<max_ncpus>1</max_ncpus>
<plan_class>ati14ati</plan_class>
<coproc>
<type>ATI</type>
<count>1</count>
</coproc>
<cmdline></cmdline>
<file_ref>
<file_name>milkyway_separation_0.82_windows_x86_64__ati14.exe</file_name>
<main_program/>
</file_ref>
</app_version>

Also you are missing the .exe on the second part of the Nbody, and I wonder if you need to include the executable bit on the 2 .dll files like are needed for SETI CUDA.
ID: 52034 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Who Know's

Send message
Joined: 10 Nov 09
Posts: 20
Credit: 30,395,419
RAC: 0
Message 52042 - Posted: 24 Dec 2011, 7:12:40 UTC - in response to Message 52034.  

ok i tryed that and like before , ( and maybe i did not stated it right) it does not matter if i have a blank app_info file or one that is fully fleshed out, as soon as i restart the bonic manger or do a cold boot, bonic say you have a app info so i will delete every exe in this folder and then makes me do a release and reattach to the project. it does not do this to me for seti or the other project that i am doing. it does not matter if i do this to my 64 bit cpu or one of my 32 bit units or an ati gpu or the nevida gpu that i have.
am i putting this in the wrong folder ? the one that i am using for the seti is working fine and it is in the project folder for that project. am i naming it wrong ?
i think that i am doing it right but could someone just restate now to do the app_info file would be a great place for me to start at.
i am almost ready to rip out bonic and do a reg edit to remove all the keys and do a reinstall of bonic,which make me believe that the problem is not with bonic but milkyway, but i wanted to redo the steps aging just in case
ID: 52042 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Len LE/GE

Send message
Joined: 8 Feb 08
Posts: 261
Credit: 104,050,322
RAC: 0
Message 52049 - Posted: 25 Dec 2011, 4:16:28 UTC

Sorry, but it looks like a couple of things got mixed up there.
So I did put a new one together with the apps settings you seem to want.
Test it and let us know if it does what you want


    <app_info>

    <app><!-- GPU app for Separation 0.82 32bit -->
    <name>milkyway</name>
    <user_friendly_name>MilkyWay@Home Separation GPU</user_friendly_name>
    </app>
    <file_info>
    <name>milkyway_separation_0.82_windows_intelx86__ati14.exe</name>
    <executable/>
    </file_info>

    <app_version>
    <app_name>milkyway</app_name>
    <version_num>82</version_num>
    <plan_class>ati14</plan_class>
    <flops>1.0e11</flops>
    <avg_ncpus>0.05</avg_ncpus>
    <max_ncpus>1</max_ncpus>
    <coproc>
    <type>ATI</type>
    <count>1</count>
    </coproc>
    <cmdline>--gpu-target-frequency 60</cmdline>
    <file_ref>
    <file_name>milkyway_separation_0.82_windows_intelx86__ati14.exe</file_name>
    <main_program/>
    </file_ref>
    </app_version>


    <app><!-- CPU app for N-Body 0.80 mt 32bit -->
    <name>milkyway_nbody</name>
    <user_friendly_name>MilkyWay@Home nbody</user_friendly_name>
    </app>
    <file_info>
    <name>milkyway_nbody_0.80_windows_intelx86__mt.exe</name>
    <executable/>
    </file_info>
    <file_info>
    <name>libgomp_nbody_0.80.dll</name>
    <executable/>
    </file_info>
    <file_info>
    <name>pthreadGC2_nbody_0.80.dll</name>
    <executable/>
    </file_info>

    <app_version>
    <app_name>milkyway_nbody</app_name>
    <version_num>80</version_num>
    <plan_class>mt</plan_class>
    <avg_ncpus>3</avg_ncpus>
    <max_ncpus>3</max_ncpus>
    <cmdline>--nthreads=3</cmdline>
    <file_ref>
    <file_name>milkyway_nbody_0.80_windows_intelx86__mt.exe</file_name>
    <main_program/>
    </file_ref>
    <file_ref>
    <file_name>libgomp_nbody_0.80.dll</file_name>
    <open_name>libgomp-1.dll</open_name>
    <copy_file/>
    </file_ref>
    <file_ref>
    <file_name>pthreadGC2_nbody_0.80.dll</file_name>
    <open_name>pthreadGC2.dll</open_name>
    </file_ref>

    </app_info>



Check for the proper names of the nbody dll files in your mw directory!
The open_name parts are only needed if the dlls have the long names (with the nbody_0.80 in it), else you can directly use the shorter names in the name and file_name tags and delete the open_name parts

ID: 52049 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Who Know's

Send message
Joined: 10 Nov 09
Posts: 20
Credit: 30,395,419
RAC: 0
Message 52059 - Posted: 26 Dec 2011, 14:32:57 UTC - in response to Message 52049.  

well because there was no work to be had from the server i went ahead and gave it one more try.
and yes, all my files in the milkyway folder but the xml file got deleted.(again)
for some reason that i do not know of milkyway must be thinking that i am playing with the files and deletes them because they get tainted when there is a xml file in the folder.
is there a style sheet that is used for the xml ? or is it just plan txt ?
i should be able to just open notepad and then save it as a xml,yes ?

ID: 52059 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Len LE/GE

Send message
Joined: 8 Feb 08
Posts: 261
Credit: 104,050,322
RAC: 0
Message 52064 - Posted: 26 Dec 2011, 19:31:49 UTC

It needs to be plain text, so notepad is fine.
Make sure the full filename is app_info.xml and not changed to app_info.xml.txt

You don't need to detach/reattach every time to redownload the files.
Anyway, I think it would only proper reload the files without an app_info in the mw folder; been ages since I did that myself.
With an app_info.xml, you have to take care yourself to have the proper files to run the app in the folder; and to update them if a new app comes out.
You can download the exe and dll files from here too:
milkyway_separation_0.82_windows_intelx86__ati14.exe
milkyway_nbody_0.80_windows_intelx86__mt.exe
libgomp_nbody_0.80.dll
pthreadGC2_nbody_0.80.dll
ID: 52064 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Who Know's

Send message
Joined: 10 Nov 09
Posts: 20
Credit: 30,395,419
RAC: 0
Message 52070 - Posted: 26 Dec 2011, 21:30:37 UTC - in response to Message 52064.  
Last modified: 26 Dec 2011, 21:32:43 UTC

ok so what was going on with my .xml? got a xml editor and open it up in it and found all the errors but one.
before i had to retired i was a Desktop Support Eng. one of my fixes was if someone had a problem that some file would not do something was to find the "default" file, the one that is called when a new file is opened.
well i threw away my normal txt file. and it took care of it.
when i put the xml file into the folder the file had both the ,82 ati14 and the .88 file. and every time i would start it up it would delete the .82 ati14.exe.
removed the call for the .88 file and the .88.exe and it was fine. the .82 stayed. the .88 is newer and there for was over writing the older .82 ati14 file by deleting it.
also there is a newer version then the n-body.80 it is now the n-body .84

so if there is any type of error in the xml file then it will clean out your folder. wish that i knew that before i started this thread, oh well.

thank you all for the help.
ID: 52070 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : app_info removes the exe

©2024 Astroinformatics Group