|
Revision 1704, 1.1 kB
(checked in by gary, 13 months ago)
|
|
add crash directory series of sims that test abort modes
lines_service.cpp - add informational lines to emergent output
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | $exe = "c:/projects/cloudy/trunk/vs08/release/vs08.exe"; |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | $nMod = 0; |
|---|
| 17 | $nSkip = 0; |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | while ( defined( $input = glob("*.in") ) ) |
|---|
| 22 | { |
|---|
| 23 | if ( $nMod>=$nSkip ) |
|---|
| 24 | { |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | print( "$input going to " ); |
|---|
| 28 | $output = $input; |
|---|
| 29 | $output =~ s/\.in//gi; |
|---|
| 30 | if( -e "$output".".out" ) |
|---|
| 31 | { |
|---|
| 32 | rename( "$output".".out" , "$output".".bak" ); |
|---|
| 33 | } |
|---|
| 34 | $out = "$output".".out"; |
|---|
| 35 | print("$output\n"); |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | system "$exe < $input > $out"; |
|---|
| 39 | } |
|---|
| 40 | ++$nMod; |
|---|
| 41 | } |
|---|
| 42 | |
|---|
| 43 | printf( "\n %i models were computed, and %i were skipped.\n ",$nMod,$nSkip); |
|---|