Changes between Version 6 and Version 7 of Public/User_Guide/JUBE


Ignore:
Timestamp:
Aug 4, 2016, 4:25:02 PM (8 years ago)
Author:
Cristina Manzano
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Public/User_Guide/JUBE

    v6 v7  
    8686The values in the set of parameters with name "systemParamter" will be initialized with the default values found in the file "MAXW-DGTD_specs.xml". This last file takes in turn some of the default values of platform.xml and overwrites them. See the file for more information.
    8787
     88We can reference other parameters with $ like in the example $k or $jube_benchmark_home. $jube_benchmark_home is a JUBE variable with the value of the original input file location and $k is 2:
     89
     90{{{
     91    <parameterset init_with="MAXW-DGTD_specs.xml" name="MAXW-DGTDParameter-head">
     92      <parameter name="k" type="int" >2</parameter>
     93    </parameterset>
     94}}}
     95
     96So the value of the targetdir parameter will be /usr/local/deep-er/sdv-benchmarks/applications/MAXW-DGTD/executable/k2
     97
    88985) Step compile
    8999
     
    101111
    102112In the step compile we tell which parameters and source files to use with the tag <use></use>. The <do></do> contains a single shell command. This command will run inside of a sandbox directory environment (inside the outpath directory tree).
     113
     1146) Step copy_exec
     115
     116{{{
     117    <step depend="compile" name="copy_exec">
     118      <use>systemParameter</use>
     119      <use>MAXW-DGTDParameter-head</use>
     120      <do>mkdir -p $targetdir</do>
     121      <do>cp -p compile/MAXW-DGTD/exe/gdL$k $targetdir/gdL$k-jubeID_$jube_benchmark_id</do>
     122      <do>rm -f $targetdir/gdL$k; ln -s $targetdir/gdL$k-jubeID_$jube_benchmark_id $targetdir/gdL$k</do>
     123    </step>
     124}}}
     125
     126The copy_exec step depends on the compile step and will wait until it is finished for copying the executables resulting from the compilation to the $targetdir directory.