unexpected xml tag

Message boards : Server programs : unexpected xml tag
Message board moderation

To post messages, you must log in.

AuthorMessage
hajin

Send message
Joined: 9 Dec 17
Posts: 1
Message 83724 - Posted: 9 Dec 2017, 13:03:53 UTC

hello all
i am new boinc user and I have problem when I want to create workunits for ModelE application(see below link https://www.youtube.com/watch?v=1qcaHVFeR_s).

./bin/create_work -appname modelE -wu_name E4M20 -wu_template templates/E4M20_wu.xml -result_template templates/test_re.xml E4M20.R

Too few var input files given; need at least 2
process_input_template(): unexpected XML tag or syntax
create_work: unexpected XML tag or syntax

E4M20_wu.xml

<!-- workunit template for the BOINC E4M20 program -->
<file_info>
<number>0</number>
</file_info>
<file_info>
<number>1</number>
</file_info>
<workunit>
<file_ref>
<file_number>0</file_number>
<open_name>boinc_app_25.0</open_name>
<copy_file>1</copy_file>
</file_ref>
<file_ref>
<file_number>1</file_number>
<open_name>E4M20.R</open_name>
<copy_file>1</copy_file>
</file_ref>
<min_quorum> 1 </min_quorum>
<open_name>boinc_app_25.0</open_name>
<copy_file>1</copy_file>
</file_ref>
<file_ref>
<file_number>1</file_number>
<open_name>E4M20.R</open_name>
<copy_file>1</copy_file>
</file_ref>
<min_quorum> 1 </min_quorum>
<rsc_disk_bound> 10000000000 </rsc_disk_bound>
<rsc_fpops_est>1444000000000000</rsc_fpops_est>
<rsc_fpops_bound>1888000000000000</rsc_fpops_bound>
<credit>3072</credit>
</workunit>

any solution?
tnx
ID: 83724 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 83868 - Posted: 13 Dec 2017, 21:47:56 UTC - in response to Message 83724.  
Last modified: 13 Dec 2017, 21:49:12 UTC

For starters, input (workunit) template needs to be wrapped inside <input_template> element. See Input templates.

Then you have some duplication in the middle:

        <min_quorum> 1 </min_quorum>
  <open_name>boinc_app_25.0</open_name>
                <copy_file>1</copy_file>
        </file_ref>
        <file_ref>
                <file_number>1</file_number>
                <open_name>E4M20.R</open_name>
                <copy_file>1</copy_file>
        </file_ref>


If that wasn't a copy-paste error but something you really have in the template it's something that needs to be fixed.
ID: 83868 · Report as offensive

Message boards : Server programs : unexpected xml tag

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.