Message boards : API : Issues with supported platforms of the application?
Message board moderation
Author | Message |
---|---|
Send message Joined: 14 Mar 13 Posts: 13 |
I have some very simple questions regarding the quickstart entry in the wiki for setting up a project. http://boinc.berkeley.edu/trac/wiki/QuickStart It is stated in this wiki entry that the created project (with the app called example_app) will only create work for linux based operating systems. After connecting to my project using a client that runs Windows Vista this is made very clear as the client can connect to the project but does not receive any work from the server. I find this quite strange as the folder PROJECTNAME/apps DOES have entries for windows and mac available and they are not empty! Now the question: - Where can I correctly see which platforms my project has work for? - How to make the example_app work for windows? It is present in the apps folder, but the client does not notice it for some reason? Thnx in advance, Resk |
Send message Joined: 21 Jun 06 Posts: 156 |
Run bin/appmgr list to see what apps are available. You can also check your apps.php site. To add new apps run bin/update_versions (check your versions in folder) |
Send message Joined: 4 Jul 12 Posts: 321 |
This restriction for linux only apps was lifted some time ago and nobody updated the QuickStart page. So basically your apps.php page should show you all available platforms. Also your message log on the windows BOINC client should tell you what platform was not found. And to also clarify: work is generally created platform independent and may get assigned to a specific platform if homogeneous redundancy is used. |
Send message Joined: 14 Mar 13 Posts: 13 |
Thank you for these swift answers. When bin/appmgr list is used I get the following paragraph: example_app: example Application --------------------------------- No homogeneous redundancy. Weight 1. Versions: 224.89 windows_intelx86 224.89 windows_x86_64 224.89 i686-pc-linux-gnu ... (and so on) 242.53 windows_intelx86 Thus a version for Windows 7/Windows vista is available in the project Homogeneous redundancy is not used and all the results from the different operating systems are considered equal in liability? (If I understand homogeneous redundancy right) Now for the client: The client does not tell me that platform was not found but simply says: No work available at the moment If I understand the BOINC client-server process right then the client is now connected to the server and asks the server for work. The server will respond by triggering a work unit that selects the correct version of the application and sends it to the client as a job? But for some reason there is no work available? I am under the impression that "make_project --test_app test" creates a work unit for me? Or is this wrong as the quickstart guide definitely states that the client should get work. The bottomline is that I want the client to get work... Kind regards |
Send message Joined: 14 Mar 13 Posts: 13 |
To reiterate: Follow the quickstart guide and succesfully connected to server with client. No work was available for the client while the quickstart tutorial does say there should be. What could I be doing wrong? |
Send message Joined: 21 Jun 06 Posts: 156 |
To reiterate: Do you have created work? Whats the message of the boinc client? Check your logs. |
Send message Joined: 4 Jul 12 Posts: 321 |
What does bin/status say? Is the sample_work_generator running? On my testmachine the --test_app works just fine. Also check the logfiles on your server for any problems (mainly feeder, scheduler and sample_work_generator) |
Send message Joined: 14 Mar 13 Posts: 13 |
bin/status: BOINC IS ENABLED DAEMON pid status lockfile disabled commandline 1 1298 running locked no feeder -d 3 2 1300 running locked no transitioner -d 3 3 1302 running locked no file_deleter -d 3 4 1304 NOT RUNNING UNLOCKED no sample_work_generator -d 3 5 1306 running locked no sample_bitwise_validator -d 3 --app example_app 6 1308 running locked no sample_assimilator -d 3 --app example_app (Also a list of tasks) The sample_work_generator is not running? This might be the problem I am facing... After checking the logs for the sample_work_generator I get to see the following error: 2013-03-18 08:46:16.1530 [CRITICAL] can't read input template templates/example_app_in.xml So I went to the templates file and found example_app_in! Renamed it to example_app_in.xml and rebooted the server. --> RESULT: it works now :) |
Send message Joined: 4 Jul 12 Posts: 321 |
This indicates to me that you are using a rather old codebase as this specific bug was fixed a year ago or so. Are you using server_stable or current master? |
Send message Joined: 14 Mar 13 Posts: 13 |
I'm using the VmServer that was downloaded as indicated by this page: http://boinc.berkeley.edu/trac/wiki/VmServer And this is the download adress: http://boinc.berkeley.edu/dl/debian-6-boinc-server-130327.7z |
Send message Joined: 14 Mar 13 Posts: 13 |
After checking with the actual file I downloaded I saw that the page recently got updated... The version I downloaded a few weeks ago was still 120720 while the new version 130327 is present now. |
Send message Joined: 4 Jul 12 Posts: 321 |
The two versions mainly differ in the BOINC source code (and some minor Debian updates). With the recent change to git version control you may download the new VM and try again. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.