Info | Message |
---|---|
1) Message boards : API : Compiling the example_app on Windows
Message 48628 Posted 14 Apr 2013 by deleteAccountPlease |
Everything is perfectly working now :D
Indeed, you have only that much resources to work with as a freesource project. The pages you linked to are more of the genre index lists and without having any prior information about the different BOINC terms it's difficult to find anything back in there without reading a large chunk to find what you are looking for. |
2) Message boards : API : Compiling the example_app on Windows
Message 48603 Posted 12 Apr 2013 by deleteAccountPlease |
worked perfectly :D
There's a red line missing, the wiki is a bunch of documents that has no overarching story. This makes it dificult to find the correct files. |
3) Message boards : API : Compiling the example_app on Windows
Message 48595 Posted 11 Apr 2013 by deleteAccountPlease |
Not really sure what is different in your to-do checklist beyond the visual basic error I made. I have suceeded in compiling the 32-bit version of the example application, but 64-bit stays bugging out. (Probably because Visual Studio 2005 has some problems with the 64-bit architecture?) On a related note: Is the 32-bit version of the example application called windows_intelx86? And the 64-bit version windows_x86_64? (Seems logical to me) Thanks for your precious time & I'll keep you updated, Resk |
4) Message boards : API : Compiling the example_app on Windows
Message 48590 Posted 11 Apr 2013 by deleteAccountPlease |
@Ageless: I think I see what you ment now as this wiki entry: http://boinc.berkeley.edu/trac/wiki/CompileApp describes the usage of this .git utility. Seems I need to download the boinc source on my W7 x64 to succesfully open the .sln and compile the modified version of upper_case.cpp. I will try to do this and succesfully follow the entries described in the link above. Updated plan of action: - download the boinc source using git on my W7 OS - rewrite the modified version of upper_case.cpp in my W7 OS - Compile this modified version in my W7 OS (using visual basic) on the boinc_samples.sln file - Put this compiled .exe in a FileZilla server in my W7 OS - Connect to the server in my debian6 VM using sftp and get the .exe file - Place .exe-file in the correct directory - Working product? (I hope this is the correct way of proceeding?) Sorry for my confusing questions and thnx for answering to a noob like me. |
5) Message boards : API : Compiling the example_app on Windows
Message 48589 Posted 11 Apr 2013 by deleteAccountPlease |
In order to build your own windows executables you either need Visual Studio or mingw to cross compile. Seems I'm misinterpreting the usage of the wrapper. After some reading I think the wrapper is just a way of making application that were never ment to be run in BOINC, work in BOINC. Which is not something I want/Am looking for. Plan of action: - rewrite the modified version of upper_case.cpp in my W7 OS - Compile this modified version in my W7 OS (using visual basic) - Put this compiled .exe in a FileZilla server in my W7 OS - Connect to the server in my debian6 VM using sftp and get the .exe file - Place .exe-file in the correct directory - Working product? @Ageless: I'm not quite sure what reinstalling/redownloading the entire BOINC source would change since I already have it installed on my debian6 VM? And browsing through http://boinc.berkeley.edu/trac/browser/boinc-v2?order=name does not show any major changes compared to the BOINC server I have installed now. |
6) Message boards : API : Compiling the example_app on Windows
Message 48583 Posted 10 Apr 2013 by deleteAccountPlease |
These sample apps come indeed preinstalled inside the debian6 VM. Let me try to ask my question in another way: (sorry about this) I have an application (.exe) in one of my directories and want to create a working downloadable application for it that can run on a windowsx64 client. After some searching, might have found a way how to do this? http://boinc.berkeley.edu/trac/wiki/WrapperApp I have no idea though, how to get the this wrapper inside my VM (ftp command doesn't work in debian :( ) I'll keep you updated on my progress.... PS: the app I want to wrap is a modified version of the "upper_case.cpp"-file hence the confusion. |
7) Message boards : API : Compiling the example_app on Windows
Message 48579 Posted 10 Apr 2013 by deleteAccountPlease |
Hi, The example_app uses "upper_case.cpp" as its foundation and I'm able to compile these .cpp files to their executables. (using the make-command) I want to modify my application (upper_case) to a new one and thus update the files found in /boinc-trunk/samples/example_app/bin to their newer versions. The mac and linux are of no importance to me, only the Windowsx64 application is (/22489/windows_x86_64.exe) According to this webpage: http://boinc.berkeley.edu/trac/wiki/CompileApp the /boinc-trunk/win_build/boinc_samples.sln should be able to recompile the "upper_case.exe"-file to the "/22489/windows_x86_64.exe"-file and thus update the application. Am I seeing this correctly untill now? Or is there another option that is much more straight-forward and easy? The problem is that I have no idea how to run this .sln-file in my debian6 VM? Thnx in advance, Resk |
8) Message boards : API : Issues with supported platforms of the application?
Message 48378 Posted 28 Mar 2013 by deleteAccountPlease |
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. |
9) Message boards : API : Issues with supported platforms of the application?
Message 48377 Posted 28 Mar 2013 by deleteAccountPlease |
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 |
10) Message boards : API : Issues with supported platforms of the application?
Message 48257 Posted 18 Mar 2013 by deleteAccountPlease |
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 :) |
11) Message boards : API : Issues with supported platforms of the application?
Message 48242 Posted 17 Mar 2013 by deleteAccountPlease |
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? |
12) Message boards : API : Issues with supported platforms of the application?
Message 48214 Posted 15 Mar 2013 by deleteAccountPlease |
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 |
13) Message boards : API : Issues with supported platforms of the application?
Message 48205 Posted 14 Mar 2013 by deleteAccountPlease |
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 |
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.