Posts by Kangning

1) Message boards : BOINC Manager : Building Boinc on windows 7/64bits 'Software not detected: Build tools...' (Message 84622)
Posted 1 Feb 2018 by Kangning
Post:
Hi,

I'm trying to build the BOINC manager on Windows7, 64 bit. with Visual Studio 2013

I follow your 'Compiling BOINC client software' instructions on wiki.
However Now i meet some problems.

Under command line.
When i perform' buildenv type release platform x64', I got:

Initializing BOINC Build Environment for Windows
Software Platform Detected: Visual Studio 2013
Software not detected: Build tools.....



When I perform 'build all' under /src/boinc , I got 'build is not recognize as an internal or external command, operable program or batch file'



Is there anyone who knows where is wrong?

My first thought is I didn't correct set the environment variable, but then I don't know what to do ....


Thanks for your help
Kangning
2) Message boards : Questions and problems : wxWidget Icon (boinc_xpm was not declared in this scope) (Message 83797)
Posted 12 Dec 2017 by Kangning
Post:
Hello,
Recently I am compiling the Boinc Client.
I want to replace the original BOINC ICON with my own ICON.
However, when i edit the source code, for example 'SkinManager.cpp', the wxWidget icon can not be changed when i just replace the xpm image in 'res folder'.

The error messages are:

SkinManager.cpp:648:59: error: ‘boinc_1_xpm’ was not declared in this scope
m_iconApplicationIcon.SetDefaults(wxT("application"), boinc_1_xpm, boinc32_1_xpm);
^
SkinManager.cpp:648:72: error: ‘boinc32_1_xpm’ was not declared in this scope
m_iconApplicationIcon.SetDefaults(wxT("application"), boinc_1_xpm, boinc32_1_xpm);
^
In file included from SkinManager.cpp:44:0:
res/boinc_1.xpm: At global scope:
res/boinc_1.xpm:2:14: warning: ‘_7201e5ba97d45c9c1e2132b7c869491’ defined but not used [-Wunused-variable]
static char *_7201e5ba97d45c9c1e2132b7c869491[] = {
^
In file included from SkinManager.cpp:45:0:
res/boinc32_1.xpm:2:14: warning: ‘a68973a85c2d4d5efbd568b28836d576’ defined but not used [-Wunused-variable]
static char *a68973a85c2d4d5efbd568b28836d576[] = {

This is the first time i use wxWIdget. My opinion is maybe i need to add resource file for that? But i really don't know what i should do.
Do you know that happened to the wxWidgets, what should I do to change the icon?

Really thanks for your help.
Kangning Li.
3) Message boards : Questions and problems : Compile Client Problem 'undefined reference to' (Webview Problem) (Message 83669)
Posted 7 Dec 2017 by Kangning
Post:
Are you sure you don't have WebView-less wxWidgets lurking somewhere?



can you give me some hint or tips about how i should link the WebView-less wxWidgets?

My process now is:

under /usr/local/lib I could find the libwx_gtk2_webview-3.1.a
but when I use wx-config --libs to typ all the wx libraries, there is no libwx_gtk2_webview-3.1.a.
with wx-config --libs web, the libwx_gtk2_webview-3.1.a is printed.
4) Message boards : Questions and problems : Compile Client Problem 'undefined reference to' (Webview Problem) (Message 83668)
Posted 7 Dec 2017 by Kangning
Post:
I'm trying to compile the Boinc client
Under what? Windows, Linux, other?
Did you start at https://boinc.berkeley.edu/trac/wiki/CompileClient?




Under Linux ubuntu 16.04, I have also tried with Debian stretch, the problems are same, always undefined refined reference to webView related widget.

under /usr/local/lib I could find the libwx_gtk2_webview-3.1.a
but when I use wx-config --libs to typ all the wx libraries, there is no libwx_gtk2_webview-3.1.a.
with wx-config --libs web, the libwx_gtk2_webview-3.1.a is printed.
5) Message boards : Questions and problems : Compile Client Problem 'undefined reference to' (Webview Problem) (Message 83667)
Posted 7 Dec 2017 by Kangning
Post:
Under Linux ubuntu 16.04, I have also tried with Debian stretch, the problems are same, always undefined refined reference to webView related widget.

under /usr/local/lib I could find the libwx_gtk2_webview-3.1.a
but when I use wx-config --libs to typ all the wx libraries, there is no libwx_gtk2_webview-3.1.a.
with wx-config --libs web, the libwx_gtk2_webview-3.1.a is printed.
6) Message boards : Questions and problems : Compile Client Problem 'undefined reference to' (Webview Problem) (Message 83644)
Posted 6 Dec 2017 by Kangning
Post:
Hello guys,
I'm trying to compile the Boinc client, but when I 'make' the source code, The compiler always complains about this.
I'm sure i have '--enable-webview' and '-enable-webviewwebkit' when i install wxWidgets.
Is there anyone has an idea about this?



boincmgr-DlgItemProperties.o: In function `CDlgItemProperties::CDlgItemProperties(wxWindow*)':
DlgItemProperties.cpp:(.text+0x2d66): undefined reference to `wxWebViewNameStr'
DlgItemProperties.cpp:(.text+0x2da9): undefined reference to `wxWebViewBackendDefault'
DlgItemProperties.cpp:(.text+0x2dba): undefined reference to `wxWebViewDefaultURLStr'
DlgItemProperties.cpp:(.text+0x2df2): undefined reference to `wxWebView::New(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, wxString const&, long, wxString const&)'


Thanks for your help
7) Message boards : API : BOINC Wrapper: Output file absent (Computation Error) (Message 82093)
Posted 19 Oct 2017 by Kangning
Post:
Hello guys,
I'm now running my boinc server and boinc client. I test wrapper with example application wrapper from official wiki.

however I got error message like 'Output file is absent' , and the task status in boinc-manager is computation error.
My stderr_txt is:

<message>process exited with code 195 (0xc3,-61)</message>
<stderr_txt>
11:17:40 (5231): wrapper (7.5.26014): starting
11:17:40 (5231): wrapper: running ../../projects/192.168.1.5_myproject/worker_x86_64-pc-linux-gnu (40)
11:18:23 (5231): worker exited; CPU time 41.680000
11:18:23 (5231): app exit status: 0x8b
11:18:23 (5231): called boinc_finish(195)
</stderr_txt>

It seems that the application are not implemented.
(I have test worker.o without BOINC, it is executable.)
I have seen some other threads which have the same problem with me, but there is unfortunately no answer.

I have been stuck in this problem for weeks, Is there anyone who can help me?
Sincerely thanks for your help
Best Regards
Kangning Li
8) Message boards : Questions and problems : Postponed:Waiting to acquire slot directory lock, Another instance maybe running (Message 81938)
Posted 11 Oct 2017 by Kangning
Post:
Hello,

I try to run my own project and application with Wrapper. (example_app Uppercase)
But from the BOINC Manager task bar I always got 'Postponed, Waiting to acquire slot directory lock, Another instance maybe running'....

The content of stderr_txt is always

can't acquire lockfile-- waiting (35s)
can't acquire lockfile-- existing

I have only one client computer, Anyone has any idea about this?

Really really thanks for your help
Kangning Li
9) Message boards : Server programs : How many task(slots directories)would be generated when i have only one work_unit and only one client computer? (Message 81910)
Posted 10 Oct 2017 by Kangning
Post:
Hello,

I have a question.

When I create a work_unit, and run it in only one Client machine, how many tasks would be created?
One task runs exactly one slot directory.
So in other words, how many slots directory would be generated when i just create one work_unit and i have only one Boinc-client.

I would appreciate for your help.
Kangning
10) Message boards : Server programs : version.xml under applicaion folder is not downloaded seeing from the client side (Message 81885)
Posted 9 Oct 2017 by Kangning
Post:
Hello guys,

I'm running my own BOINC application, now I'm testing wrapper with 'worker' application.
Under my app directory in server side, I have put wrapper, executable files, job.xml and version.xml. howerver, when i create a work_unit and send it to client, from the Boinc manager Event log, the first three files and input have been successfully downloaded, but the last one, version.xml is not.

so the stderr_txt is can not read job.xml.

Is anyone knows what happened?
I would appreciate for your help
Kangning
11) Message boards : API : How should I edit the input_template if i have a huge amount of input files? (Message 81884)
Posted 9 Oct 2017 by Kangning
Post:
Hello guys,
I'm now trying to run my own BOINC application. But when i edit the input_template i met some problems.

The volumn of my input files are neary 1.5 Terra, so How should I edit the input_template(especially the <file_info> part ), so that my client can successfully download the input?

I would appreciate for your help
Kangning Li
12) Message boards : Questions and problems : Compute error: Can't acquire lockfile (Message 81825)
Posted 5 Oct 2017 by Kangning
Post:
Hello guy,

when I run upper_case example under wrapper with my own peoject, i got such error messages in stderr_text file:

can't acquire lockfile, The process can not access the file because it is being used by another process.

and in the boinc-manager task bar, there is computation error message.

Anyone has an idea?
Really thanks for your help.
kangning [/url]
13) Message boards : Questions and problems : output file absent and computation error (Message 81822)
Posted 5 Oct 2017 by Kangning
Post:
First, forget about 'output files absent'. If the science application crashes, it produces no scientific output. That is inevitable, and not diagnostic.

Yes, stderr_txt is wiped from the client computer after the crash, but it can be found in two places:

a) Before the result is reported to the server, it can be found embedded in client_state.xml
b) After the result has been reported and acknowledged, it can be seen in the task record on the server


Thanks for your help, yes I have seen the stderr_text in the client_state.xml, the error message is'cannot acquire lockfile' , have any idea about that?

again,
thanks a lot for your help.
kangning
14) Message boards : Questions and problems : output file absent and computation error (Message 81811)
Posted 5 Oct 2017 by Kangning
Post:
Hello guys,

I try to run my BOINC project and test it with example_app uppercase and wrapper, but the event log always gives me error messages like output file absent.

and also, i cannot find stderr files on host and client, on client side the stderr was removed after the task was finished, even though output files are absent.

and when i double click wrapper direct under boinc-client directory, there is error message like can not open job.xml , can not parse job.xml.

Is there anyone knows where is wrong?
I would appreciate for your help.

Kangning
15) Message boards : Questions and problems : Cannot find slots directory under windows7 (Message 81794)
Posted 4 Oct 2017 by Kangning
Post:
You found the \slots\# in the path suffixes to the one printed in the event log, ergo could there be another place than the default location after i.e. a reinstall? For sure, each running, waiting task slot has multiple files, where slots from which just previously having finished are emptied and left until the next job needs a slot, or when the client does a cleanup of unused slots.


But the tasks are not finished, Event log gives me the messages 'Output files are absent'. seeing from the boinc-manage task page there are computation error. So i want to look into the stderr files to see what exactly the error. however the slot directories are empty.
16) Message boards : Questions and problems : Cannot find slots directory under windows7 (Message 81793)
Posted 4 Oct 2017 by Kangning
Post:
After a task finishes BOINC cleans the slot directory. stderr is sent to your server along with the task report. You can find the stderr in host's task list and selecting a task. Or you can browse the tasks in the ops interface.


But it not finished, Event log gives me the messages 'Output files are absent'. seeing from the boinc-manage task page there are computation error. So i want to look into the stderr files to see what exactly the error. however the slot directories are empty.
17) Message boards : Questions and problems : Cannot find slots directory under windows7 (Message 81782)
Posted 4 Oct 2017 by Kangning
Post:
Thank you for your help, I have found the slots directories.
However all of these directories are empty.

Do you have any idea about that
Why the stderr files are not generated?

Really thanks for your help
18) Message boards : Questions and problems : Cannot find slots directory under windows7 (Message 81781)
Posted 4 Oct 2017 by Kangning
Post:
Thank you, Thank you, I have find the slots directories. however all these directories are empty, i cannot find the stderr_txt files.

Do you have any idea about that?
Really thanks for your help.
19) Message boards : Questions and problems : clients don't need to download the application from server. (Message 81775)
Posted 4 Oct 2017 by Kangning
Post:
Hello Guys,
I try to run my own project and application. Now I have a question. My project is a interior project, I know the computers which will serve as boinc clients to attach to my project and server, and i also know everything about the application i need to run.

This means I could install the application in every client computer before launch the boinc project. I think the only thing that boinc-clients need to download is input files.

What should i set up my project application under this circumstance.
Is there anyone who can give me some advice?

I would appreciate for your help

Kangning
20) Message boards : Questions and problems : Cannot find slots directory under windows7 (Message 81771)
Posted 4 Oct 2017 by Kangning
Post:
Hello everyone,
When i run my boinc-project and test with upper_case application, in c://Program Files/Boinc, there is no slot directory and i cannot find the actually stderr_txt.

Is there anyone knows where is wrong?

I would appreciate for your help

Kangning


Next 20

Copyright © 2021 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.