Info | Message |
---|---|
1) Message boards : Server programs : Can't build sample_work_generator
Message 37333 Posted 30 Mar 2011 by Vadim Gusev |
I've solved problem, but i don't get one thing: The solution for problem is to put libboinc.a after libsched.a in g++ command line, as it's done in boinc build system. But changing libs order doesn't change fact of having multiple definitions, it just change order, in which linker will meet them. Then how does library order solve the problem? |
2) Message boards : Server programs : Can't build sample_work_generator
Message 37321 Posted 28 Mar 2011 by Vadim Gusev |
Hi, i'm trying to build sample_work_generator.cpp outside of boinc source code tree with my own Makefile. Here is a list of my code tree: apps assimilator libs validator workgen Makefile Makefile.incl "libs" dir contains api, db, lib, sched and tools dirs from BOINC source code tree with compiled libraries. Here is build log: g++ sample_work_generator.cpp -pthread -Wall -I ../libs/api-x86_64 -I ../libs/lib-x86_64 -I ../libs/db-x86_64 -I ../libs/tools-x86_64 -I ../libs/sched-x86_64 -I /usr/include/mysql/ ../libs/api-x86_64/libboinc_api.a ../libs/lib-x86_64/libboinc.a ../libs/sched-x86_64/libsched.a ../libs/lib-x86_64/libboinc_crypt.a /usr/lib/libmysqlclient.a -lz -lssl -o sample_work_generator ../libs/sched-x86_64/libsched.a(libsched_la-boinc_db.o): In function `WORKUNIT::clear()': /usr/include/bits/string3.h:86: multiple definition of `WORKUNIT::clear()' ../libs/lib-x86_64/libboinc.a(libboinc_la-gui_rpc_client_ops.o):/usr/include/bits/string3.h:107: first defined here ../libs/sched-x86_64/libsched.a(libsched_la-boinc_db.o): In function `RESULT::clear()': /usr/include/bits/string3.h:86: multiple definition of `RESULT::clear()' ../libs/lib-x86_64/libboinc.a(libboinc_la-gui_rpc_client_ops.o):/usr/include/bits/string3.h:107: first defined here ../libs/sched-x86_64/libsched.a(libsched_la-boinc_db.o): In function `APP_VERSION::clear()': /usr/include/bits/string3.h:86: multiple definition of `APP_VERSION::clear()' ../libs/lib-x86_64/libboinc.a(libboinc_la-gui_rpc_client_ops.o):/usr/include/bits/string3.h:107: first defined here ../libs/sched-x86_64/libsched.a(libsched_la-boinc_db.o): In function `APP::clear()': /usr/include/bits/string3.h:86: multiple definition of `APP::clear()' ../libs/lib-x86_64/libboinc.a(libboinc_la-gui_rpc_client_ops.o):/usr/include/bits/string3.h:107: first defined here collect2: ld returned 1 exit status Obviously, neither string3.h:86 nor string3.h:107 contain that methods. I'm lost in finding reasons of such behavior. I've posted that problem in boinc_projects mailing list, but got no answers. Thanks for help in advance. |
3) Message boards : Server programs : Unable to do project communication with running project
Message 37095 Posted 6 Mar 2011 by Vadim Gusev |
Suddenly problem got fixed by itself, now i can download jobs, but after completing computation i get this errors:Сб. 05 марта 2011 15:44:43 test Started upload of uc_1299268978_49_1_0 Сб. 05 марта 2011 15:44:43 test Started upload of uc_1299268978_49_0_0 Сб. 05 марта 2011 15:44:50 test [error] Error reported by file upload server: can't open log file '../log_donthackit/file_upload_handler.log' (errno: 9) Сб. 05 марта 2011 15:44:50 test [error] Error reported by file upload server: can't open log file '../log_donthackit/file_upload_handler.log' (errno: 9) Сб. 05 марта 2011 15:44:50 test Temporarily failed upload of uc_1299268978_49_1_0: transient upload error Сб. 05 марта 2011 15:44:50 test Backing off 1 min 0 sec on upload of uc_1299268978_49_1_0 Сб. 05 марта 2011 15:44:50 test Temporarily failed upload of uc_1299268978_49_0_0: transient upload error Сб. 05 марта 2011 15:44:50 test Backing off 1 min 34 sec on upload of uc_1299268978_49_0_0 file_upload_handler.log exists -rw-r--r-- 1 boincadm boincadm 0 2011-03-06 04:30 file_upload_handler.log After changing permissions to rw for all error got fixed, but now i cant download jobs: Вс. 06 марта 2011 04:38:03 test Started download of uc_1299268978_2 Вс. 06 марта 2011 04:38:04 test Temporarily failed download of uc_1299268978_2: HTTP error I can access job files trough browser, but boinc fails to download them. |
4) Message boards : Server programs : Unable to do project communication with running project
Message 37091 Posted 5 Mar 2011 by Vadim Gusev |
Hi there, I'm trying to set up BOINC server. I've followed wiki guide and after compiling and setting up server I've made test job and tried to attach myself to project. Here is log: Сб. 05 марта 2011 12:56:27 Fetching configuration file from http://frosty.selfip.org/test/get_project_config.php Сб. 05 марта 2011 12:56:40 test Master file download succeeded Сб. 05 марта 2011 12:56:45 test Sending scheduler request: Project initialization. Сб. 05 марта 2011 12:56:45 test Requesting new tasks for CPU and GPU Сб. 05 марта 2011 12:56:46 Project communication failed: attempting access to reference site Сб. 05 марта 2011 12:56:46 test Scheduler request failed: Couldn't connect to server Сб. 05 марта 2011 12:56:47 Internet access OK - project servers may be temporarily down. I can navigate through web site and directly access files in /test/download/ directory. All daemons seems to run fine: BOINC is ENABLED DAEMON pid status lockfile disabled commandline 1 9006 running locked no feeder -d 3 2 9008 running locked no transitioner -d 3 3 9010 running locked no file_deleter -d 3 4 9012 running locked no sample_work_generator -d 3 5 9014 running locked no sample_bitwise_validator -d 3 -app uppercase 6 9016 running locked no sample_assimilator -d 3 -app uppercase 7 9018 running locked no single_job_assimilator -app single_job_i686-pc-linux-gnu 8 9020 running locked no sample_trivial_validator -app single_job_i686-pc-linux-gnu frosty.selfip.org is DDNS name, which is resolved correctly (i can access web site, so it's obvious), however i've tried to re-create project with ip as master url instead of domain name - same result. By default my master url was http://localhost6.localdomain6/test/ but i've grep'ed through all files in project directory and changed it and it's derivatives to correct - same result. However i get Master file download succeeded message, so it seems like client can communicate with server and it's not a network related problem (i'm connecting to localhost basically, hard to imagine problems here). Have I missed something while configuring some aspect of server or it's really network issue? Thanks in advance. |
5) Message boards : Questions and problems : BOINC requests not needed CPU WUs
Message 36895 Posted 17 Feb 2011 by Vadim Gusev |
My system is: CPU: Intel Core Quad Q9550 GPU: Nvidia GTX 460 OS: Ubuntu 10.10 x64 BOINC: 6.10.58 My problem is: I'm crunching for Einstein@home and each time BOINC reports completed GPU WU, it requests new WUs for both CPU and GPU. Чт. 17 февр. 2011 13:37:19 Einstein@Home Sending scheduler request: To fetch work. Чт. 17 февр. 2011 13:37:19 Einstein@Home Reporting 1 completed tasks, requesting new tasks for CPU and GPU Чт. 17 февр. 2011 13:37:22 Einstein@Home Scheduler request completed: got 2 new tasks GPU's WU takes 1 hour to complete, CPU's ones are 4.5 or 15.5 hours, so each hour BOINC requests additional 10 hours of CPU work time in average, even on 4 cores it can't be completed in 1 hour, so in day or two i collect huge amount of CPU WUs, that would take about two weeks to complete. So the only way to stop incoming WU flood is to suppress WU fetch and GPU computations for a couple of days and crunch only CPU WUs. |
Copyright © 2025 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.