App_Info VS App_Config files

Message boards : Number crunching : App_Info VS App_Config files
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 1468261 - Posted: 24 Jan 2014, 15:54:24 UTC

I have been studying the two files App_Info and App_Config. The two files are very similar in structure so the question comes to mind concerning the use of these files. They are both placed in the same folder. How does Boinc utilize these two files? Can one be used but not the other? In other words are both files required?

I understand that Lunatics installer creates the App_Info file for the optimized apps. Does it exist before the optimized files are installed? If one removes the App_info file will Boinc revert to stock apps without destroying the work that is on the computer?

I also understand that the settings in App_Config override the settings of App_Info. So is the App_info file then redundant and could be removed?

In short....why two files with similar settings for Boinc?

Thanks
Boinc....Boinc....Boinc....Boinc....
ID: 1468261 · Report as offensive
kittyman Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Jul 00
Posts: 51468
Credit: 1,018,363,574
RAC: 1,004
United States
Message 1468262 - Posted: 24 Jan 2014, 15:55:46 UTC

Well, for one, app_config will not work with my chosen version of Boinc.
app_info does.
"Freedom is just Chaos, with better lighting." Alan Dean Foster

ID: 1468262 · 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 1468271 - Posted: 24 Jan 2014, 16:10:40 UTC - in response to Message 1468261.  

app_info has to be used if you want to use an application (program) different from the one supplied automatically by the project.

app_config can be used to modify a limited number of the parameters for running a task - and yes, it can be used in conjunction with app_info, though it can be used with the stock application too. Think of it perhaps as 'app_info lite'.

A big advantage of app_config is that you can change it, and then 'Read config files' while BOINC is running. The changes take effect immediately. Because app_info is the 'heavy' version, you have to shut down BOINC and re-start it for changes to take effect.
ID: 1468271 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1468273 - Posted: 24 Jan 2014, 16:11:57 UTC - in response to Message 1468261.  

app_config is more recent addition that allows to control stock app execution w/o going completely to anonymous platform.
That way one can run few stock app instances at once for example but still to keep ability of auto-update app when server releases new one.
One could say "best of two worlds".
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1468273 · Report as offensive
Profile William
Volunteer tester
Avatar

Send message
Joined: 14 Feb 13
Posts: 2037
Credit: 17,689,662
RAC: 0
Message 1468281 - Posted: 24 Jan 2014, 16:26:21 UTC

Just be aware, that if you use the 'max_concurrent' feature, it is not properly tied into workfetch yet and may at worst see you with idle devices if left completely unattended.
A person who won't read has no advantage over one who can't read. (Mark Twain)
ID: 1468281 · Report as offensive

Message boards : Number crunching : App_Info VS App_Config files


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