Changeset 5830
- Timestamp:
- Aug 21, 2015, 12:22:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/uq/lang/tcl/scripts/task.tcl
r5828 r5830 80 80 # ---------------------------------------------------------------------- 81 81 itcl::body Rappture::Task::constructor {xmlobj installdir args} { 82 puts "Task Init"83 82 if {![Rappture::library isvalid $xmlobj]} { 84 83 error "bad value \"$xmlobj\": should be Rappture::Library" … … 121 120 122 121 itcl::body Rappture::Task::get_uq {args} { 123 puts "Task::get_uq $args"124 122 foreach {path val} $args { 125 123 if {$path == "-uq_type"} { … … 158 156 itcl::body Rappture::Task::run {args} { 159 157 global env errorInfo 160 puts "task run $args" 158 161 159 # 162 160 # Make sure that we save the proper application name. … … 232 230 regsub -all @tool $cmd $_installdir cmd 233 231 set cmd [string trimleft $cmd " "] 234 puts "1. cmd=$cmd"235 232 236 233 if { $cmd == "" } { … … 263 260 $_xmlobj put tool.execute $cmd 264 261 265 puts "cmd=$cmd"266 262 # starting job... 267 263 set _lastrun "" … … 422 418 423 419 set status [catch {Rappture::library $file} result] 424 puts "STATUS=$status"425 420 if {$status == 0} { 426 421 # add cputime info to run.xml file … … 462 457 # ---------------------------------------------------------------------- 463 458 itcl::body Rappture::Task::_build_submit_cmd {cmd tfile params_file} { 464 puts "BSC $cmd $tfile $params_file"465 466 459 set quote_next 0 467 460 set newcmd "submit --progress submit --runName=puq -l -i @:$tfile -d $params_file" … … 485 478 append newcmd " " $arg 486 479 } 487 puts "BSC2: $newcmd"488 480 regsub -all @driver $newcmd $tfile newcmd 489 puts "BSC returning: $newcmd"490 481 return $newcmd 491 482 } … … 657 648 itcl::body Rappture::Task::_get_params {varlist uq_type uq_args} { 658 649 set pid [pid] 659 puts "get_params.py $pid $varlist $uq_type $uq_args"650 # puts "get_params.py $pid $varlist $uq_type $uq_args" 660 651 if {[catch {exec get_params.py $pid $varlist $uq_type $uq_args}]} { 661 652 set fp [open "uq_debug.err" r]
Note: See TracChangeset
for help on using the changeset viewer.