Issues with supported platforms of the application?

Message boards : API : Issues with supported platforms of the application?
Message board moderation

To post messages, you must log in.

AuthorMessage
deleteAccountPlease

Send message
Joined: 14 Mar 13
Posts: 13
Belgium
Message 48205 - Posted: 14 Mar 2013, 13:02:47 UTC

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
ID: 48205 · Report as offensive
rebirther
Avatar

Send message
Joined: 21 Jun 06
Posts: 156
Germany
Message 48206 - Posted: 14 Mar 2013, 17:13:47 UTC - in response to Message 48205.  

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)
ID: 48206 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 48213 - Posted: 15 Mar 2013, 11:05:36 UTC

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.
ID: 48213 · Report as offensive
deleteAccountPlease

Send message
Joined: 14 Mar 13
Posts: 13
Belgium
Message 48214 - Posted: 15 Mar 2013, 15:17:34 UTC

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
ID: 48214 · Report as offensive
deleteAccountPlease

Send message
Joined: 14 Mar 13
Posts: 13
Belgium
Message 48242 - Posted: 17 Mar 2013, 9:10:26 UTC

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?
ID: 48242 · Report as offensive
rebirther
Avatar

Send message
Joined: 21 Jun 06
Posts: 156
Germany
Message 48246 - Posted: 17 Mar 2013, 18:08:06 UTC - in response to Message 48242.  
Last modified: 17 Mar 2013, 18:08:30 UTC

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?


Do you have created work? Whats the message of the boinc client? Check your logs.
ID: 48246 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 48252 - Posted: 18 Mar 2013, 8:38:32 UTC

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)
ID: 48252 · Report as offensive
deleteAccountPlease

Send message
Joined: 14 Mar 13
Posts: 13
Belgium
Message 48257 - Posted: 18 Mar 2013, 20:21:55 UTC

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 :)
ID: 48257 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 48280 - Posted: 20 Mar 2013, 14:35:43 UTC

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?
ID: 48280 · Report as offensive
deleteAccountPlease

Send message
Joined: 14 Mar 13
Posts: 13
Belgium
Message 48377 - Posted: 28 Mar 2013, 21:35:05 UTC

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
ID: 48377 · Report as offensive
deleteAccountPlease

Send message
Joined: 14 Mar 13
Posts: 13
Belgium
Message 48378 - Posted: 28 Mar 2013, 21:38:20 UTC

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.
ID: 48378 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 48433 - Posted: 1 Apr 2013, 13:18:20 UTC

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.
ID: 48433 · Report as offensive

Message boards : API : Issues with supported platforms of the application?

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.