Changes between Version 6 and Version 7 of Public/User_Guide/JUBE
- Timestamp:
- Aug 4, 2016, 4:25:02 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Public/User_Guide/JUBE
v6 v7 86 86 The 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. 87 87 88 We 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 96 So the value of the targetdir parameter will be /usr/local/deep-er/sdv-benchmarks/applications/MAXW-DGTD/executable/k2 97 88 98 5) Step compile 89 99 … … 101 111 102 112 In 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 114 6) 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 126 The 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.