BOINC wrapper fails to launch application properly

Message boards : API : BOINC wrapper fails to launch application properly
Message board moderation

To post messages, you must log in.

AuthorMessage
Robert

Send message
Joined: 23 Aug 17
Posts: 1
Lithuania
Message 80460 - Posted: 24 Aug 2017, 19:18:15 UTC

Having problems when I try to use a BOINC wrapper to launch an application on a client PC.

It seems that the client downloads the wrapper, input files and the scientific application but the wrapper fails to launch the scientific application properly.

Error after task processing failure:

<stderr_txt>
20:49:25 (5048): wrapper (7.7.26016): starting
20:49:25 (5048): wrapper (7.7.26016): starting
Task size: 1
20:49:25 (5048): wrapper: running ../../projects/ipadress_boinctest/llr64 ()
20:49:26 (5048): llr64 exited; CPU time 0.000000
20:49:26 (5048): called boinc_finish(0)

</stderr_txt>
<message>
upload failure: <file_xfer_error>
<file_name>ucn_1503510535_1_0_0</file_name>
<error_code>-161 (not found)</error_code>
</file_xfer_error>
</message>

As you can see from the error message, the wrapper launches the scientific application and the other second it exits the application. Does anyone has any idea what could be causing such behaviour?
(Note: The wrapper works fine when it is launched manually on the client machine)

llr64 - Scientific application (x86_64-pc-linux-gnu)

wrapper - Wrapper application (x86_64-pc-linux-gnu)

llr64_job.xml file contents:
<job_desc>
<task>
<application>llr64</application>
</task>
</job_desc>

version.xml file contents:
<version>
<file>
<physical_name>wrapper</physical_name>
<main_program/>
</file>
<file>
<physical_name>llr64</physical_name>
<logical_name>llr64</logical_name>
</file>
<file>
<physical_name>llr64_job.xml</physical_name>
<logical_name>job.xml</logical_name>
</file>
</version>
ID: 80460 · Report as offensive
rebirther
Avatar

Send message
Joined: 21 Jun 06
Posts: 156
Germany
Message 80465 - Posted: 24 Aug 2017, 20:17:20 UTC - in response to Message 80460.  

There could be a missing commandline for llr64.

try this form if you have an input template:

llr64_job.xml file contents:
<job_desc>
<task>
<application>llr64</application>
<append_cmdline_args/>
</task>
</job_desc>
ID: 80465 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 80468 - Posted: 25 Aug 2017, 6:21:01 UTC

Also make sure that on the server the °llr64° file has the executable bit set before running update_versions.
ID: 80468 · Report as offensive

Message boards : API : BOINC wrapper fails to launch application properly

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.