app_config.xml syntax for command line passing

Message boards : AstroPulse : app_config.xml syntax for command line passing
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Raistmer
Volunteer tester
Avatar

Send message
Joined: 18 Aug 05
Posts: 2423
Credit: 15,878,738
RAC: 0
Russia
Message 53325 - Posted: 22 Dec 2014, 17:26:40 UTC

I'm trying one more time to pass command line params to stock app purely via BOINC own engine, w/o using app-specific config files.

So I created such app_config.xml:

<app_config>
   <app>
      <name>astropulse_v7</name>
      <gpu_versions>
          <gpu_usage>.5</gpu_usage>
          <cpu_usage>.01</cpu_usage>
      </gpu_versions>
    </app>
   <app_version>
       <app_name>astropulse_v7</app_name>
       <plan_class>opencl_ati_100</plan_class>
       <cmdline>-cpu_lock -instances_per_device 2</cmdline>
   </app_version>
</app_config>


Unfortunately, there are no any signs that application received provided command line options.

Should it? Or I doing something wrong ?
News about SETI opt app releases: https://twitter.com/Raistmer
ID: 53325 · Report as offensive
Richard Haselgrove
Volunteer tester

Send message
Joined: 3 Jan 07
Posts: 1451
Credit: 3,266,428
RAC: 0
United Kingdom
Message 53326 - Posted: 22 Dec 2014, 17:45:11 UTC - in response to Message 53325.  

None of your computers at Beta are yet showing the BOINC v7.2.39 or higher required for the <app_version> construct to be recognised in app_config.
ID: 53326 · Report as offensive
Profile Raistmer
Volunteer tester
Avatar

Send message
Joined: 18 Aug 05
Posts: 2423
Credit: 15,878,738
RAC: 0
Russia
Message 53327 - Posted: 22 Dec 2014, 18:02:23 UTC - in response to Message 53326.  

None of your computers at Beta are yet showing the BOINC v7.2.39 or higher required for the <app_version> construct to be recognised in app_config.


I see, thanks.
News about SETI opt app releases: https://twitter.com/Raistmer
ID: 53327 · Report as offensive
Profile Raistmer
Volunteer tester
Avatar

Send message
Joined: 18 Aug 05
Posts: 2423
Credit: 15,878,738
RAC: 0
Russia
Message 53346 - Posted: 23 Dec 2014, 22:54:47 UTC
Last modified: 23 Dec 2014, 22:55:03 UTC

Now I'm trying it on BOINc 7.4.x client.

Got next notice:

SETI@home Beta Test: Notice from BOINC
Your app_config.xml file refers to an unknown application 'astropulse_v7'. Known applications: None



Hope it just goes away when some AP tasks will be actually downloaded (after DB repair)...
News about SETI opt app releases: https://twitter.com/Raistmer
ID: 53346 · Report as offensive
Zalster
Volunteer tester

Send message
Joined: 30 Dec 13
Posts: 258
Credit: 12,340,341
RAC: 59
United States
Message 53349 - Posted: 24 Dec 2014, 2:01:10 UTC - in response to Message 53346.  

It always does that the first time you launch Boinc. Once the server downloads all the files for AP v7 to run, it will go away.
ID: 53349 · Report as offensive
Profile Raistmer
Volunteer tester
Avatar

Send message
Joined: 18 Aug 05
Posts: 2423
Credit: 15,878,738
RAC: 0
Russia
Message 53380 - Posted: 26 Dec 2014, 17:26:07 UTC

I can confirm that updating to current recommended BOINC version allowed to use command line options via app_config.xml file. This make separate config text file unneeded for new BOINC clients.
News about SETI opt app releases: https://twitter.com/Raistmer
ID: 53380 · Report as offensive
Profile Jeff Buck
Volunteer tester

Send message
Joined: 11 Dec 14
Posts: 96
Credit: 1,240,941
RAC: 0
United States
Message 53381 - Posted: 26 Dec 2014, 19:10:28 UTC - in response to Message 53380.  

I can confirm that updating to current recommended BOINC version allowed to use command line options via app_config.xml file. This make separate config text file unneeded for new BOINC clients.

So, how would I specify device0, device1, device2, etc. (where each is a different NVIDIA GPU), with this method? Or have I misunderstood what's changing here?
ID: 53381 · Report as offensive
Zalster
Volunteer tester

Send message
Joined: 30 Dec 13
Posts: 258
Credit: 12,340,341
RAC: 59
United States
Message 53382 - Posted: 26 Dec 2014, 19:54:02 UTC - in response to Message 53381.  

i don't like BOINC 7.4.x

Had problems with it on other projects that resolved when I moved back to 7.2.42

Probably ok if I only stuck with Seti or beta but otherwise...

my 2 cents

Zalster
ID: 53382 · Report as offensive
Profile Raistmer
Volunteer tester
Avatar

Send message
Joined: 18 Aug 05
Posts: 2423
Credit: 15,878,738
RAC: 0
Russia
Message 53387 - Posted: 27 Dec 2014, 7:54:46 UTC - in response to Message 53381.  

I can confirm that updating to current recommended BOINC version allowed to use command line options via app_config.xml file. This make separate config text file unneeded for new BOINC clients.

So, how would I specify device0, device1, device2, etc. (where each is a different NVIDIA GPU), with this method? Or have I misunderstood what's changing here?


It's about command line options only.
News about SETI opt app releases: https://twitter.com/Raistmer
ID: 53387 · Report as offensive

Message boards : AstroPulse : app_config.xml syntax for command line passing


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