| <LML_da_workflow> |
| |
| <!--- |
| Copyright (c) 2011 Forschungszentrum Juelich GmbH. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| Wolfgang Frings (Forschungszentrum Juelich GmbH) |
| --> |
| |
| |
| <!--- predefined vars: |
| $instdir="LML_da" |
| $stepinfile # file in $tmpdir filename contains id of |
| predecessor step |
| $stepoutfile # file in $tmpdir filename contains current id |
| --> |
| <vardefs> |
| <var key="tmpdir" value="./LMLtmp" /> |
| <var key="permdir" value="./LMLperm" /> |
| <var key="histdir" value="$permdir/hist" /> |
| </vardefs> |
| |
| |
| <step |
| id = "getdata" |
| active = "1" |
| exec_after = "" |
| type = "execute" |
| > |
| <cmd exec="rms/LL/da_system_info_LML.pl $tmpdir/sysinfo_LML.xml" /> |
| <cmd exec="rms/LL/da_jobs_info_LML.pl $tmpdir/jobs_LML.xml" /> |
| <cmd exec="rms/LL/da_nodes_info_LML.pl $tmpdir/nodes_LML.xml" /> |
| </step> |
| |
| <step |
| id = "combineLML" |
| active = "1" |
| exec_after = "getdata" |
| type = "execute" |
| > |
| <cmd exec="$instdir/LML_combiner/LML_combine_obj.pl -v -o $stepoutfile |
| $tmpdir/sysinfo_LML.xml |
| $tmpdir/jobs_LML.xml |
| $tmpdir/nodes_LML.xml " |
| /> |
| </step> |
| |
| <step |
| id = "addcolor" |
| active = "1" |
| exec_after = "combineLML" |
| type = "execute" |
| > |
| <cmd exec="$instdir/LML_color/LML_color_obj.pl -colordefs $instdir/LML_color/default.conf |
| -o $stepoutfile $stepinfile" /> |
| </step> |
| |
| <step |
| id = "cppermfile1" |
| active = "1" |
| exec_after = "addcolor" |
| type = "execute" |
| > |
| <cmd exec="cp $stepinfile $permdir/state_LMLraw.xml" /> |
| <cmd exec="/usr/bin/gzip -c -9 $stepinfile > $permdir/state_LMLraw.xml.gz" /> |
| </step> |
| |
| <step |
| id = "genLML_std" |
| active = "1" |
| exec_after = "cppermfile1" |
| type = "execute" |
| > |
| <cmd exec="$instdir/LML2LML/LML2LML.pl -v -layout $permdir/layout_std.xml -output $stepoutfile $stepinfile" /> |
| </step> |
| |
| <step |
| id = "cppermfile2" |
| active = "1" |
| exec_after = "genLML_std" |
| type = "execute" |
| > |
| <cmd exec="cp $stepinfile $permdir/state_LML.xml" /> |
| <cmd exec="/usr/bin/gzip -c -9 $stepinfile > $permdir/state_LML.xml.gz" /> |
| </step> |
| |
| |
| </LML_da_workflow> |