Seti@Home optimized science apps and information

Optimized Seti@Home apps => Windows => Topic started by: Le Chaland on 15 Feb 2007, 02:47:33 pm

Title: Return back to the official client
Post by: Le Chaland on 15 Feb 2007, 02:47:33 pm
Hello from France  ;)

To do tests, i would like to return sometimes to the official client of seti at home.

But, if the installation of this great optimized client is very easy, restoring the official one is more difficult.

The only way i found is to delete manually the optimized client and restart the project with boinc manager and reload all the files, then i lost all the units under calculs at the moment.  :'(

Someone know a way to restore the official client without lost the work in process, as it is possible when you installl the optimized one ?  8)

Thanks.

Excuse me for my poor english, i hope you understand me ...  ::)
Title: Re: Return back to the official client
Post by: Simon on 15 Feb 2007, 04:41:46 pm
Salut,

an easy solution to this problem - keep two pre-edited app_info.xml files around.

What I mean - the file called "app_info.xml" tells BOINC which application to load. To use an optimized app, you need this file.

This file looks something like the following:
Quote
<app_info>
    <app>
        <name>setiathome_enhanced</name>
    </app>
    <file_info>
        <name>SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe</name>
        <executable/>
    </file_info>
    <app_version>
        <app_name>setiathome_enhanced</app_name>
        <version_num>512</version_num>
        <file_ref>
            <file_name>SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>
[...]
</app_info>

I've coloured the interesting parts red for you. Wherever it says something.exe, you need to replace that with the name of the stock app, so it looks similar to the following (of course, you have to change ALL occurrences, easiest is to do "edit/replace/replace all").
Quote
<app_info>
    <app>
        <name>setiathome_enhanced</name>
    </app>
    <file_info>
        <name>setiathome_5.15_windows_intelx86.exe.exe</name>
        <executable/>
    </file_info>
    <app_version>
        <app_name>setiathome_enhanced</app_name>
        <version_num>512</version_num>
        <file_ref>
            <file_name>setiathome_5.15_windows_intelx86.exe</file_name>
            <main_program/>
        </file_ref>
    </app_version>
[...]
</app_info>

Then save that file under say, app_info.xml.stock.

When you want to switch, stop BOINC. Rename app_info.xml to app_info.xml.optimized, renamed app_info.xml.stock to app_info.xml, start BOINC. It should happily resume crunching with the stock app.

Going back works exactly the same, just use the .optimized app_info.xml again.

HTH,
Simon.