help with rebuilding a xml

Questions and Answers : GPU applications : help with rebuilding a xml
Message board moderation

To post messages, you must log in.

AuthorMessage
Barry Dearborn
Volunteer tester

Send message
Joined: 15 Feb 02
Posts: 2
Credit: 67,867
RAC: 0
United States
Message 1741938 - Posted: 14 Nov 2015, 3:09:21 UTC

hey guys and ladies.. i do not know code and i would really like to run astropulse with seti @ home. how can this be done if i dont know anything about rebuilding a xml file?

thank you
Barry
ID: 1741938 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1741970 - Posted: 14 Nov 2015, 5:54:21 UTC - in response to Message 1741938.  
Last modified: 14 Nov 2015, 5:56:18 UTC

Are you planning on adding a GPU to your systems? I don't see any on your current machines.

We can talk you thru making an xml file, that's not a problem.


Ok, first thing to do is being able to find where to put your xml file when you finally do make one.

Follow these steps to display hidden files and folders.
Open Folder Options by clicking the Start button , clicking Control Panel, clicking Appearance and Personalization, and then clicking Folder Options.
Click the View tab.
Under Advanced settings, click Show hidden files and folders, and then click OK.

This should now allow you to see where the data files are in setiathome.berkeley.edu folder

(each --> means click to the next folder)

Computer then click on Local Disk-->ProgramData--->BOINC--->projects-->setiathome.berkeley.edu

This is where place the app_config.xml as well

ok, here is what a very simple app_config.xml should look like

<app_config>
<app>
<name>astropulse_v7</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.5</cpu_usage>
</gpu_versions>
</app>
<app>
<name>setiathome_v7</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.5</cpu_usage>
</gpu_versions>
</app>
</app_config>

Now to create the app_config.xml

Open Notepad

Copy and paste the above lines into notepad.

Here you have to be careful

Click save as

you should have a pop up screen.

change save as type to "All files"

Next Type in app_config.xml (be sure to put .xml)

It's going to ask you are you sure about the xml Yes you are

At the bottom of the pop up make sure the Encoding say ANSI

Make a note of where it is going to be saved to and click save

Now you just need move that file from where it was save to the Einstein folder

Once you do that, you are going to want to make sure that BOINC Manager reads the config file

In the Advance view of the BOINC Manager click Advance from the pull down.

Select read Config files

It should now read that file. If all is good, you should not get any notifications of an error in the boinc manager notification area. If there is a problem, you will get a notification.


Let us know how it goes..

Edit..

If you ever need to go back and edit this file, always right click and use Notepad to edit that .xml
ID: 1741970 · Report as offensive
rob smith Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer moderator
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 22202
Credit: 416,307,556
RAC: 380
United Kingdom
Message 1741993 - Posted: 14 Nov 2015, 8:31:08 UTC

Ignore Zalster's post it is not the correct answer for your question.

Simply, go to your project options page and select the "Do AstroPulse" and "Do other applications when there are none" check boxes. This will tell the servers to send you AstroPulse tasks when they are available, but the ordinary tasks when they are not. The server will, when AstoPulse tasks are sent to you for the first time will send the appropriate applications.


Zalster's post assumes you are going to be running one or more GPUs and are using "optimised" applications, which you are not.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1741993 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1742032 - Posted: 14 Nov 2015, 14:23:16 UTC - in response to Message 1741993.  

Unfortunately Rob is confused in this matter

As I stated, if you plan on adding a GPU into your systems then an XML will allow you to control how many work units you plan on using on the GPU

XML will work with either stock or optimized applications to control work units on the GPU

Use of Lunatics is not necessary.

Yes he can crunch on the CPU but since the OP is a "volunteer tester" and posted this question in the "GPU applications" the assume is made that he is wanting to know how to control his GPU that he adds in the future.

In which case, my previous answer is very much on point

Good Day Rob Smith!
ID: 1742032 · Report as offensive
rob smith Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer moderator
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 22202
Credit: 416,307,556
RAC: 380
United Kingdom
Message 1742049 - Posted: 14 Nov 2015, 15:17:38 UTC

Any confusion lies totally in Zalster's response, he has not answered your question but has given you a WRONG answer based on an assumption about what you are intending to do, not based on the hardware you have.
Even if you are intending to install a GPU then his answer is INCORRECT - one does NOT need to do anything with the XML configuration files to run APs.

Many are "volunteer testers", like you and I, but they do not understand the differences between the two projects. Another wild assumption on your behalf.

TO RE-ITERATE: As you are running stock applications yo do not need to modify any xml files. This is totally independent of having a GPU installed or not.
The first thing to do is ensure that you have selected "run AstroPulse" in your account options (from the website), when the first Astropulse task is delivered to you the required application will also be sent, if the task is sent to a GPU then the required GPU application is sent, or if it is to your CPU then the correct CPU application is sent.

Obviously if you want to go beyond running one (GPU) task at a time, or have multiple GPUs then modifying xml files comes into play. (There is one very important thing to remember - the XML files used by BOINC are not "pure" XML, and using an XML editor instead of a plain text editor frequently results in errors.)
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1742049 · Report as offensive

Questions and Answers : GPU applications : help with rebuilding a xml


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.