|
Revision 1612, 1.2 kB
(checked in by gary, 13 months ago)
|
|
update asserted quantities for H2 models in slow directory. these changes (some by 1 dex) due to flower H-H2 collision rate changes.
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | if(-e "trunk.exe" ) |
|---|
| 10 | { |
|---|
| 11 | system("copy \"trunk.exe\" \"cloudy_bak.exe\" "); |
|---|
| 12 | } |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | system("copy c:\\projects\\cloudy\\trunk\\icl\\release\\cloudy_icl.exe . "); |
|---|
| 16 | $exe = "cloudy_icl.exe"; |
|---|
| 17 | |
|---|
| 18 | $nMod = 0; |
|---|
| 19 | $nSkip = 0; |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | while ( defined( $input = glob("h2_*.in") ) ) |
|---|
| 24 | { |
|---|
| 25 | if ( $nMod>=$nSkip ) |
|---|
| 26 | { |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | print( "$input going to " ); |
|---|
| 30 | $output = $input; |
|---|
| 31 | $output =~ s/\.in//gi; |
|---|
| 32 | if( -e "$output".".out" ) |
|---|
| 33 | { |
|---|
| 34 | rename( "$output".".out" , "$output".".bak" ); |
|---|
| 35 | } |
|---|
| 36 | $out = "$output".".out"; |
|---|
| 37 | print("$output\n"); |
|---|
| 38 | |
|---|
| 39 | system "nice -n 5 $exe < $input > $out"; |
|---|
| 40 | |
|---|
| 41 | } |
|---|
| 42 | ++$nMod; |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | print("\n=========================\n"); |
|---|
| 46 | printf( "\n %i models were computed, and %i were skipped.\n ",$nMod,$nSkip); |
|---|
| 47 | print("Now use the checkall.pl script to check results.\n"); |
|---|
| 48 | print("=========================\n"); |
|---|
| 49 | |
|---|
| 50 | system("perl mail.pl\" "); |
|---|
| 51 | |
|---|