boinc
boinc copied to clipboard
Error produced when using remote_file feature of create_work
I am using the create_work feature to submit new workunits from the command line. This is described in:
https://boinc.berkeley.edu/trac/wiki/JobSubmission
I am trying to use the remote_file feature. For some unknown reason the create_work changes the name of the file to be downloaded, it changes the name to 'jf_...'. This is done in:
boinc/tools/process_input_template.cpp (line 298)
It is not clear why this is done. What it means is that when the BOINC client tries to download the file on the client it cannot download it.
I spoke to Bernd about this in the BOINC workshop. He came up with a fix:
https://github.com/bema-aei/boinc/commit/99b7dcb0211fd4128e220a81ee736fb9cb2ecb9e
However this produces the following error messages when trying to submit new work using create_work:
missing MD5 info file for <REMOTE_FILENAME> process_input_template(): file missing create_work: file missing
I'd be grateful for this to be looked at, as this is acting a bit of a blocker at the moment. Many thanks.
I have used the remote_file option in create_work previously and I think it works fine. Are you sure you are correctly identifying the problem on the client side?
Name should not matter as boinc_resolve_filename in the app will resolve logical/physical names. URL is written to the XML at process_input_template.cpp:301 correctly, so the client should be able to download the file - unless the URL you pass is malformed or modified somehow.
It names the file jf_(MD5) so that it has a unique name, which BOINC requires. Andy, give me a call and I'll explain how this works.
I arrange a call with David Anderson about this.
This item can be closed. The 'remote_file' functionality works. I do have a suggestion to add more writing around it's description in the BOINC Wiki.
According to your message, this item can be closed after documentation update