help needed: app_info and config

Message boards : Number crunching : help needed: app_info and config
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970275 - Posted: 14 Dec 2018, 8:36:53 UTC

I have the following app_info file:

<app_info>
<app>
<name>setiathome_v8</name>
</app>

<file_info>
<name>setiathome_8.00_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>
<file_info>
<name>setiathome_8.18_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>

<app_version>
<app_name>setiathome_v8</app_name>
<version_num>800</version_num>
<cmdline>-nographics</cmdline>
<file_ref>
<file_name>setiathome_8.00_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
</app_version>

<app_version>
<app_name>setiathome_v8</app_name>
<version_num>818</version_num>
<cmdline></cmdline>
<coproc>
<type>ATI</type>
<count>1</count>
</coproc>
<flops>8.6e12</flops>
<avg_ncpus>1</avg_ncpus>
<max_ncpus>1</max_ncpus>
<file_ref>
<file_name>setiathome_8.18_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>

The problem is that the CPU task file: "setiathome_8.00_x86_64-pc-linux-gnu" is auto-deleted everytime I restart BOINC! I am running Linux so I can set the immutable flag to stop its deletion but the CPU tasks still only start rarely at seemingly random times after updates and restarts.

This is *extremely* irritating and I haven't got anymore ideas for fixing it.

Thank you for any help.
ID: 1970275 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970277 - Posted: 14 Dec 2018, 8:39:25 UTC - in response to Message 1970275.  

I should also add that the log file doesn't show any errors except for it inability to delete the file.
ID: 1970277 · Report as offensive
Bruce
Volunteer tester

Send message
Joined: 15 Mar 02
Posts: 123
Credit: 124,955,234
RAC: 11
United States
Message 1970288 - Posted: 14 Dec 2018, 11:51:37 UTC - in response to Message 1970277.  
Last modified: 14 Dec 2018, 12:20:29 UTC

Hi Ben,
Try this, just basically rearranged it a bit.
<app_info>
  <app>
    <name>setiathome_v8</name>
  </app>
  <file_info>
    <name>setiathome_8.00_x86_64-pc-linux-gnu</name>
  <executable/>
  </file_info>
  <app_version>
    <app_name>setiathome_v8</app_name>
    <version_num>800</version_num>
    <platform>x86_64-pc-linux-gnu</platform>
    <cmdline>-nographics</cmdline>
  <file_ref>
    <file_name>setiathome_8.00_x86_64-pc-linux-gnu</file_name>
  <main_program/>
  </file_ref>
  </app_version>
  <app>
    <name>setiathome_v8</name>
  </app>
  <file_info>
    <name>setiathome_8.18_x86_64-pc-linux-gnu</name>
  <executable/>
  </file_info>
  <app_version>
    <app_name>setiathome_v8</app_name>
    <version_num>818</version_num>
    <platform>x86_64-pc-linux-gnu</platform>
    <cmdline></cmdline>
    <coproc>
      <type>ATI</type>
      <count>1</count>
    </coproc>
    <flops>8.6e12</flops>
    <avg_ncpus>1</avg_ncpus>
    <max_ncpus>1</max_ncpus>
  <file_ref>
    <file_name>setiathome_8.18_x86_64-pc-linux-gnu</file_name>
    <main_program/>
  </file_ref>
  </app_version>
</app_info>

This is pretty much the same way my app_info.xml in Linux is written.
edit - Make sure your CPU app is spelled correctly.
Bruce
ID: 1970288 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970340 - Posted: 14 Dec 2018, 18:37:12 UTC - in response to Message 1970288.  

I just tried that with the same result, but thanks.
ID: 1970340 · Report as offensive
Bruce
Volunteer tester

Send message
Joined: 15 Mar 02
Posts: 123
Credit: 124,955,234
RAC: 11
United States
Message 1970344 - Posted: 14 Dec 2018, 19:09:01 UTC - in response to Message 1970340.  

Are you trying to run stock apps with an app_info.xml?
You don't need an app_info for stock applications. If that's the case just delete the app_info.xml file or rename it app_info.bak. This will let the stock apps run.
Bruce
ID: 1970344 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970345 - Posted: 14 Dec 2018, 19:11:44 UTC - in response to Message 1970344.  

Are you trying to run stock apps with an app_info.xml?
You don't need an app_info for stock applications. If that's the case just delete the app_info.xml file or rename it app_info.bak. This will let the stock apps run.


The second one named is compiled by me. In stock form seti won't download an app for my GPU for some reason. The app I use for the CPU (seti 8.00 ) is stock.
ID: 1970345 · Report as offensive
Bruce
Volunteer tester

Send message
Joined: 15 Mar 02
Posts: 123
Credit: 124,955,234
RAC: 11
United States
Message 1970350 - Posted: 14 Dec 2018, 19:45:29 UTC - in response to Message 1970345.  

Well if you want to run anonymous platform with an app_info.xml, you should probably try these apps:
CPU - AVX-r3330
GPU - r3557
These are enhanced and should be more productive than the stock apps.
Bruce
ID: 1970350 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970352 - Posted: 14 Dec 2018, 19:56:09 UTC - in response to Message 1970350.  

Well if you want to run anonymous platform with an app_info.xml, you should probably try these apps:
CPU - AVX-r3330
GPU - r3557
These are enhanced and should be more productive than the stock apps.


Those both say "win" so I'm guessing they won't run on Linux.
ID: 1970352 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1970358 - Posted: 14 Dec 2018, 20:12:26 UTC - in response to Message 1970340.  

I just tried that with the same result, but thanks.

I've seen this happen sometimes when using the same version number and name as the stock App. If you try changing the version number and/or App name to something different it will probably work.
ID: 1970358 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1970360 - Posted: 14 Dec 2018, 20:24:52 UTC - in response to Message 1970345.  

You can try some of the Anonymous platform cpu apps found at the Lunatics website.
Seti CPU Linux apps

I see a couple of Linux ATI gpu apps listed in the APPS_GPU folder in the benchmark utility. One looks like the stock ATI SoG app and another is labeled as MBv8_8.22r3584_sse2_clAMD_HD5_x86_64-pc-linux-gnu but I don't know where that one is from. It is not listed at Lunatics. Could be the benchmark utility developer compiled it himself. Or worst case it is from the deleted Crunchers Anonymous resources.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1970360 · Report as offensive
Bruce
Volunteer tester

Send message
Joined: 15 Mar 02
Posts: 123
Credit: 124,955,234
RAC: 11
United States
Message 1970364 - Posted: 14 Dec 2018, 20:39:00 UTC - in response to Message 1970352.  

Your right, my mistake.(slaps palm to forehead)
I know that there are Linux ATI/AMD apps out there, but don't remember where.
Maybe one of the guys that run ATI will stop by and point out the location.
Sorry, but it doesn't look like I'm going to be much help.
Bruce
ID: 1970364 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970365 - Posted: 14 Dec 2018, 20:45:45 UTC - in response to Message 1970358.  

I just tried that with the same result, but thanks.

I've seen this happen sometimes when using the same version number and name as the stock App. If you try changing the version number and/or App name to something different it will probably work.


They *are* different, one is 8.00 and the other is 8.18.
ID: 1970365 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1970366 - Posted: 14 Dec 2018, 20:51:52 UTC - in response to Message 1970365.  
Last modified: 14 Dec 2018, 20:54:59 UTC

The app I use for the CPU (seti 8.00 ) is stock.

Try
<app_version>
<app_name>setiathome_v8</app_name>
<version_num>801</version_num>
<platform>x86_64-pc-linux-gnu</platform>
<cmdline></cmdline>
<file_ref>
<file_name>setiathome_8.00_x86_64-pc-linux</file_name>
<main_program/>

For the CPU App.
BOINC is designed to Delete the Stock Apps when it detects an app_info.
ID: 1970366 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970373 - Posted: 14 Dec 2018, 21:28:56 UTC - in response to Message 1970366.  

The app I use for the CPU (seti 8.00 ) is stock.

Try
<app_version>
<app_name>setiathome_v8</app_name>
<version_num>801</version_num>
<platform>x86_64-pc-linux-gnu</platform>
<cmdline></cmdline>
<file_ref>
<file_name>setiathome_8.00_x86_64-pc-linux</file_name>
<main_program/>

For the CPU App.
BOINC is designed to Delete the Stock Apps when it detects an app_info.


Just tried that and still no go. :-( As soon as I restart BOINC the file gets deleted. Even changing the name of the app to match didn't help. I also tried: MBv8_8.04r3306_sse42_linux64 and another for AVX but they always get silently deleted without errors.
ID: 1970373 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13161
Credit: 1,160,866,277
RAC: 1,873
United States
Message 1970375 - Posted: 14 Dec 2018, 21:31:29 UTC

You could try the SSE41 CPU app or the SSE3 CPU app from Lunatics. That won't be seen as stock and deleted.
Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 1970375 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1970378 - Posted: 14 Dec 2018, 21:51:45 UTC - in response to Message 1970366.  

For the CPU App.
BOINC is designed to Delete the Stock Apps when it detects an app_info.
No, it isn't. It's perfectly possible to run the stock app under the control of an app_info.xml file: the Lunatics installer contains one, deliberately configured to display the SaH graphics/screensaver if desired.

But you do have to specify that stock app exactly the same as the stock app_version, with the same file name(s) - including all specified support files - version number, plan_class, and platform.
ID: 1970378 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970385 - Posted: 14 Dec 2018, 22:48:18 UTC - in response to Message 1970378.  
Last modified: 14 Dec 2018, 22:55:07 UTC

So I inserted the supplied app_info for "MBv8_8.04r3306_sse42_linux64" into my own and got the following but it still refuses to work or give an error!

<app_info>
<app>
<name>setiathome_v8</name>
</app>

<file_info>
<name>MBv8_8.04r3306_sse42_linux64</name>
<executable/>
</file_info>

<file_info>
<name>setiathome_8.18_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>

<app_version>
<app_name>setiathome_v8</app_name>
<version_num>804</version_num>
<platform>x86_64-pc-linux-gnu</platform>
<cmdline></cmdline>
<file_ref>
<file_name>MBv8_8.04r3306_sse42_linux64</file_name>
<main_program/>
</file_ref>
</app_version>

<app_version>
<app_name>setiathome_v8</app_name>
<version_num>818</version_num>
<cmdline></cmdline>
<coproc>
<type>ATI</type>
<count>1</count>
</coproc>
<flops>8.6e12</flops>
<avg_ncpus>1</avg_ncpus>
<max_ncpus>1</max_ncpus>
<file_ref>
<file_name>setiathome_8.18_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>
ID: 1970385 · Report as offensive
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 13722
Credit: 208,696,464
RAC: 304
Australia
Message 1970388 - Posted: 14 Dec 2018, 23:07:04 UTC

I would triple check that the names of the files in the folder match exactly the names of the files in the app_info.xml file. And being LINUX, I suspect that the case (upper/lower) would have to be exactly the same as well.
Grant
Darwin NT
ID: 1970388 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970389 - Posted: 14 Dec 2018, 23:09:08 UTC - in response to Message 1970388.  

I would triple check that the names of the files in the folder match exactly the names of the files in the app_info.xml file. And being LINUX, I suspect that the case (upper/lower) would have to be exactly the same as well.


Believe me, I have done that.
ID: 1970389 · Report as offensive
Ben

Send message
Joined: 15 Jun 99
Posts: 54
Credit: 60,003,756
RAC: 150
United States
Message 1970393 - Posted: 14 Dec 2018, 23:59:52 UTC - in response to Message 1970389.  

I made some headway. By putting a <plan_class> in the opencl app section it suddenly started running both apps. However now it only runs one opencl app and not two as specified by

<app_config>
<app_version>
<app_name>setiathome_v8</app_name>
<ngpus>0.5</ngpus>
</app_version>
</app_config>

That part was working correctly before. I picked a plan_class based on guesswork, what plan_class should I use for opencl compiled for Radeon ROCm? This is my current app_info:

<app_info>
<app>
<name>setiathome_v8</name>
</app>

<file_info>
<name>setiathome_8.18_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>

<file_info>
<name>setiathome_8.00_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>

<app_version>
<app_name>setiathome_v8</app_name>
<platform>x86_64-pc-linux-gnu</platform>
<version_num>800</version_num>
<file_ref>
<file_name>setiathome_8.00_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
</app_version>

<app_version>
<app_name>setiathome_v8</app_name>
<version_num>818</version_num>
<cmdline></cmdline>
<coproc>
<type>ATI</type>
<count>1</count>
</coproc>
<plan_class>opencl_ati_linux_cat132</plan_class>
<flops>8.6e12</flops>
<avg_ncpus>0.2</avg_ncpus>
<max_ncpus>0.5</max_ncpus>
<file_ref>
<file_name>setiathome_8.18_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>
ID: 1970393 · Report as offensive
1 · 2 · Next

Message boards : Number crunching : help needed: app_info and config


 
©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.