standard WRF version 3.0.1.1
[wrffire.git] / wrfv2_fire / tools / test_compile.csh
blobe4a4f28aacabcdf69b59d78a3bff69a7ee11fb26
1 #!/bin/csh
3 /bin/rm -f good.* bad.*
5 foreach choyce ( 1 2 3 4 )
6 unset subopt
7 set subopt = ( 0 )
8 if ( $choyce == 1 || $choyce == 2 ) then
9 set subopt = ( y n )
10 endif
11 foreach subchoyce ( $subopt )
12 clean -a
13 if ( $subchoyce == 0 ) then
14 echo $choyce | config_new -d
15 else
16 config_new -d << H1
17 $choyce
18 $subchoyce
20 endif
21 compile wrf >& seeit.$choyce.$subchoyce
22 if ( -x main/wrf.exe ) then
23 touch good.$choyce.$subchoyce
24 else
25 touch bad.$choyce.$subchoyce
26 endif
27 end
28 end