Message boards : Server programs : multi_thread problem
Message board moderation
Author | Message |
---|---|
Send message Joined: 16 Feb 16 Posts: 11 |
Still being new to BOINC and able to get the example_app to work properly, I was going to remove example_app and activate the multi_thread app. initially the server engineer had some problems, so he ended up redoing a lot of my work which included getting example_app to work. So I may have missed a step in getting the application to function properly. So I have edited the project.xml and included the necessary lines for the multi_thread. I used appmgr to remove example_app. I created the folder structure under PROJECT/apps for multi_thread and a subfolder for version number. When i run xadd it sees the addition to the project.xml file, and when I run update_versions it seems to run fine. The problem is that when I look in /apps/example_app I see a generated folder for the windows platform and an .exe file. However nothing like that is generated in the /apps/multi_thread folder. I'm assuming I'm missing a step here, although all the docs i can find only talk about project.xml, xadd, and update_versions. Can someone tell me what I'm missing? Many thanks! |
Send message Joined: 20 Nov 12 Posts: 801 |
When you create the project with --test_app, the make_project script adds the example_app program files for Windows and Linux and maybe OSX too. This is so that you have a working BOINC project almost out-of-box. When you add your own application you need to create the directories yourself for the platforms you intend to support. The cookbook tutorial skips over details, you should check Adding application versions for better explanation of how the apps directory hierarchy works. |
Send message Joined: 16 Feb 16 Posts: 11 |
Juha, thanks for the reply. The link you sent helps some. I have the folder structure as outlined now. However i guess my bigger question is - what's the easiest/best way to compile the multi_thread source files? I know I need the executable files in place before i run the update_versions command, so I haven't done that yet. Where's Make or the C++ compiler or proper procedure? thanks for the help |
Send message Joined: 20 Nov 12 Posts: 801 |
The source directory has a makefile for Linux and win_build directory has solution/project files for Visual Studio 2010 and 2013. I couldn't find a makefile or Xcode project file for Mac. It's probably easy to do one yourself; just use the example_app project or makefile as a sample. Building BOINC applications has more instructions. |
Send message Joined: 16 Feb 16 Posts: 11 |
Thanks again for the help Juha. Much appreciated. |
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.