Posts by michael

1) Message boards : BOINC client : Fail to add project (Message 87189)
Posted 19 Jul 2018 by michael
Post:
I tried to run clientgui/boincmgr --redirectio, it pops up the manager window as usual,
but seems there is no such option for manager, so I tried boincmgr --verbose, after this the manager says it cannot connect to core client...
I also tried to run client/boinc --redirectio (as a daemon? for boincmgr) then run clientgui/boincmgr, but still I got same question.
now I'm trying to redo the configure and make.

also, in event log, it says the url is invalid, but I can browse it in my browser, how could it be invalid?
(btw, my machine is ubuntu)
Thank you!

The invalid url is solved, it is because I didn't use ".", in my hostname, after I checked the source code...which is weird to me.
However, to connect to this Linux with my windows machine, it fails saying
"internet access ok - project servers may be temporarily down"... has anyone ever encountered this?
2) Message boards : BOINC client : Fail to add project (Message 87183)
Posted 19 Jul 2018 by michael
Post:
I tried to run clientgui/boincmgr --redirectio, it pops up the manager window as usual,
but seems there is no such option for manager, so I tried boincmgr --verbose, after this the manager says it cannot connect to core client...
I also tried to run client/boinc --redirectio (as a daemon? for boincmgr) then run clientgui/boincmgr, but still I got same question.
now I'm trying to redo the configure and make.

also, in event log, it says the url is invalid, but I can browse it in my browser, how could it be invalid?
(btw, my machine is ubuntu)
Thank you!
3) Message boards : BOINC client : Fail to add project (Message 87167)
Posted 18 Jul 2018 by michael
Post:
So I've already set up the server and project and submit work unit, the next step for me is to fetch the work from client(boinc manager), what I did is to run boincmgr in clientgui directory.
To add other projects in the lists is totally ok, but my project cannot be added.
after I type in the url/myproject_name, it lets me enter the user email and password, and then it fails with:
"Failed to add project"
(also, I'm able to access my project web page and manager web page)

Can anyone help?? I've been stuck for hours.

also, another question would be, how to compute the work unit you've updated with client.
4) Message boards : Server programs : create_work: unexpected XML tag or syntax (Message 87153)
Posted 17 Jul 2018 by michael
Post:
I don't actually need input file, is it necessary?
The create work command is from bin/boinc_submit create_job() function:

function create_job() {
global $wuid, $app_name, $infiles_phys, $program_phys, $project_dir;
global $result_template_filename, $wu_template_filename;
global $wrapper_job_filename, $verbose;

chdir($project_dir);
$cmd = "bin/create_work --min_quorum 1 --target_nresults 1 --appname $app_name --wu_name sj_$wuid --wu_id $wuid --wu_template $wu_template_filename --result_template $result_template_filename";
foreach ($infiles_phys as $infile) {
$cmd .= " $infile";
}
$cmd .= " $wrapper_job_filename";
$cmd .= " $program_phys";

if ($verbose) {
echo "Executing command: $cmd\n";
}
#echo "cmd is: $cmd\n";
system($cmd, $retval);
if ($retval) {
echo "create_work in $project_dir failed: $retval\n";
exit(1);
}
}

which I echo to see:
./create_work --min_quorum 1 --target_nresults 1 --appname single_job_x86_64-pc-linux-gnu --wu_name sj_ --wu_id --wu_template templates/sj_wu_template_ --result_template templates/sj_result_template_ sj_.xml ../fibjob/fib_x86_64-pc-linux-gnu

this gives me error like I described above.
Sorry, I just started learning bionc, this question may look stupid to you.
But can't the job that sent to host just an executable? or somehow, the input has already defined inside?
5) Message boards : Server programs : create_work: unexpected XML tag or syntax (Message 87149)
Posted 17 Jul 2018 by michael
Post:
<input_template>
<file_info>
<number>0</number>
</file_info>
<workunit>
<file_ref>
<file_number>0</file_number>
<open_name>in</open_name>
</file_ref>
<command_line>-cpu_time 30</command_line>
</workunit>
</input_template>

This is actually from example_app's template.
Right now, I just want to build a simple server that can handle job submit.
Thanks!
6) Message boards : Server programs : create_work: unexpected XML tag or syntax (Message 87134)
Posted 17 Jul 2018 by michael
Post:
I was doing single job submission. I'm trying to create a test (fib calculation) and i got this message:

PHP Warning: copy(/home/boincadm/projects/test_project//download/34a/../fibjob/fib_x86_64-pc-linux-gnu_d5ef183a): failed to open stream: No such file or directory in /home/boincadm/projects/test_project/bin/boinc_submit on line 414
process_input_template: bad WU template - no <workunit>
process_input_template(): unexpected XML tag or syntax
create_work: unexpected XML tag or syntax
create_work in /home/boincadm/projects/test_project/ failed: 1

Can anyone help?




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.