Thread 'Should I redo from compiling the boinc souce code?'

Message boards : Server programs : Should I redo from compiling the boinc souce code?
Message board moderation

To post messages, you must log in.

AuthorMessage
Huiping Yao

Send message
Joined: 21 Jun 08
Posts: 27
China
Message 18456 - Posted: 15 Jul 2008, 8:37:49 UTC

hi,everybody

Now I have set up wrapper/worker project successfully which generated work by hand using ./create_work according to the web page: http://boinc.berkeley.edu/trac/wiki/WrapperApp

However I shoud replace worker program with my own app, and sample_work_generator.C should be modified.And I have used ./make_project to make a skeletal project.

Here's the question: How to use the modified sample_work_generator.c to generate Daemon sample_work_generator
ID: 18456 · Report as offensive
Kunsheng Chen

Send message
Joined: 3 Jun 08
Posts: 40
United States
Message 18594 - Posted: 17 Jul 2008, 19:31:43 UTC - in response to Message 18456.  

I bet you don't want to write your own Makefile.
backup the original sample_work_generator.C inside /$<boinc_source>/sched then modify sample_work_generator.C directly, then you run make inside that folder. There should be an executable file sample_work_generator there and copy that directly into the 'bin' folder under your project directory.



Here's the question: How to use the modified sample_work_generator.c to generate Daemon sample_work_generator

ID: 18594 · Report as offensive

Message boards : Server programs : Should I redo from compiling the boinc souce code?

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.