/usr/lib/openturns-1.0/wrappers/minimal_wrapper.xml is in openturns-examples 1.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wrapper SYSTEM "wrapper.dtd">
<!-- LastChangedBy : $LastChangedBy: dutka $ -->
<!-- LastChangeddate : $LastChangedDate: 2008-06-26 13:50:17 +0200 (Thu, 26 Jun 2008) $ -->
<wrapper>
<library>
<!-- The path of the shared object -->
<path>minimal_wrapper.so</path>
<!-- This section describes all exchanges data between the wrapper and the platform -->
<description>
<!-- The variables are declared in the exact order of the arguments of the function -->
<variable-list>
<variable id="x1" type="in" />
<variable id="x2" type="in" />
<variable id="y" type="out" />
</variable-list>
<!-- The function that we try to execute through the wrapper -->
<function provided="yes">smallest</function>
<!-- The gradient is NOT defined -->
<gradient provided="no" />
<!-- The hessian is NOT defined -->
<hessian provided="no" />
</description>
</library>
<external-code>
<!-- Those data are external to the platform (input files, etc.)-->
<data />
<wrap-mode type="static-link" state="shared">
<in-data-transfer mode="arguments" />
<out-data-transfer mode="arguments" />
</wrap-mode>
<command />
</external-code>
</wrapper>
|