Issue building a desktop grid computing

Message boards : Questions and problems : Issue building a desktop grid computing
Message board moderation

To post messages, you must log in.

AuthorMessage
aihaike
Avatar

Send message
Joined: 10 Jan 17
Posts: 3
France
Message 75356 - Posted: 18 Jan 2017, 13:06:11 UTC

Hey all,

I'm having an issue setting up a boinc desktop grid computing.
I downloaded a preconfigured Debian VM, I've access to the project website but can not connect a client.
I'm trying to add a windows linpack application which consist of executing a binary with an input file as argument, the output being redirected.
I'm very confused about what is the procedure, what file to configure, and so on.
I've been reading many online documentations but most of them are not resent and not coherent.
I really would appreciate if someone kindly share his experience with me on this matter.
Thanks,

Éric.
ID: 75356 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 75375 - Posted: 18 Jan 2017, 21:08:31 UTC - in response to Message 75356.  

What error you get from the client? If you are using Manager you can access Event Log from menus or pressing control+shift+e or if you use boinccmd it's easiest to get the logs from stdoutdae.txt .

We have documentation for project administrators here. You should start with the Overview section. Tutorial 2 there looks like it should answer at least some of your questions. If there is anything that's not up to date please let us know. No comments on coherency :/

For the linpack application, unless you are interested in making it into a native BOINC application you'll probably want to use BOINC wrapper for it.
ID: 75375 · Report as offensive
aihaike
Avatar

Send message
Joined: 10 Jan 17
Posts: 3
France
Message 75387 - Posted: 19 Jan 2017, 8:44:48 UTC - in response to Message 75356.  
Last modified: 19 Jan 2017, 9:01:23 UTC

Hey Juha,

When I try to connect the client I get "Project temporarily unavailable".
In the log I have "Fetching configuration from http://xx.xx.xx.xx/projectname/get_project_config.php"
I'll do what you suggest and let you know.
Thank you.
ID: 75387 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 75389 - Posted: 19 Jan 2017, 9:12:25 UTC
Last modified: 19 Jan 2017, 9:12:42 UTC

I recently coached someone to setup a test project in the VM. There are several issues with this test setup that you need to be aware of:

  • you must enable apache mod_cgi for the scheduler to work: sudo a2enmod cgi (I'll correct that in a future version of the VM)
  • when creating a project with make_project it defaults to the hostname (boinc-server) and uses this to setup a project. This causes problems when you want to connect from outside the VM even if you use the IP. What happens is that the Client connects to the IP and gets the master URL which, contains the hostname. This master URL is then contacted to attach the host. This only works if the hostname can be resolved to the IP used on the system outside of the VM.

ID: 75389 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 75396 - Posted: 19 Jan 2017, 20:54:18 UTC - in response to Message 75389.  

Now that you reminded me, this is not the first time mod-cgi came up. I added a note about it in the general documentation. I haven't used the server VM, I'll leave it to you to add the notes to its documentation.
ID: 75396 · Report as offensive
boboviz
Help desk expert

Send message
Joined: 12 Feb 11
Posts: 410
Italy
Message 75414 - Posted: 20 Jan 2017, 22:03:21 UTC - in response to Message 75389.  

* you must enable apache mod_cgi for the scheduler to work: sudo a2enmod cgi (I'll correct that in a future version of the VM)


When the next version? Now the vm is "27 September 2015".
ID: 75414 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 75418 - Posted: 21 Jan 2017, 11:30:05 UTC - in response to Message 75414.  

* you must enable apache mod_cgi for the scheduler to work: sudo a2enmod cgi (I'll correct that in a future version of the VM)


When the next version? Now the vm is "27 September 2015".

I don't see the need for a new version. The VM has a current Debian which can be easily updated by yourself. It has a copy of the git repository which can be easily updated too. What new features should I add? I'll add a note on the VM downloadpage about the disabled module which should be easy. Another thing is that the default generated httpd configuration is for Apache 2.2 but Jessie has 2.4 but there were no problems reported about this.

The next scheduled update of the VM is with the release of Debian 9.
ID: 75418 · Report as offensive
boboviz
Help desk expert

Send message
Joined: 12 Feb 11
Posts: 410
Italy
Message 75419 - Posted: 21 Jan 2017, 13:09:29 UTC - in response to Message 75418.  
Last modified: 21 Jan 2017, 13:09:57 UTC

I don't see the need for a new version. The VM has a current Debian which can be easily updated by yourself.

I know. I created an italian guide for boinc server.
And now i have to update it with your note. :-)

The next scheduled update of the VM is with the release of Debian 9.

Ok. Thank you.
ID: 75419 · Report as offensive
boboviz
Help desk expert

Send message
Joined: 12 Feb 11
Posts: 410
Italy
Message 75466 - Posted: 24 Jan 2017, 17:21:48 UTC - in response to Message 75418.  

It has a copy of the git repository which can be easily updated too.


I download, install and update the vm.
After the creation of test project (./make_project.sh), i have some warning in log and also in home page.
Notice: Undefined variable: master_url in /home/boincadm/projects/test4vm/html/project/project.inc on line 20

Notice: Undefined variable: master_url in /home/boincadm/projects/test4vm/html/project/project.inc on line 21

Notice: Undefined variable: master_url in /home/boincadm/projects/test4vm/html/project/project.inc on line 23

Notice: Undefined variable: master_url in /home/boincadm/projects/test4vm/html/project/project.inc on line 23
ID: 75466 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 75488 - Posted: 25 Jan 2017, 7:11:10 UTC

If you look at the file /home/boincadm/projects/test4vm/html/project/project.inc you will see that the email addresses used as examples are nonsense and you need to change them. That will fix the notices. For a test project you can just leave those empty.
ID: 75488 · Report as offensive

Message boards : Questions and problems : Issue building a desktop grid computing

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.