source: lmdz_wrf/WRFV3/tools/test_compile.csh @ 1

Last change on this file since 1 was 1, checked in by lfita, 10 years ago
  • -- --- Opening of the WRF+LMDZ coupling repository --- -- -

WRF: version v3.3
LMDZ: version v1818

More details in:

  • Property svn:executable set to *
File size: 544 bytes
Line 
1#!/bin/csh
2
3/bin/rm -f good.* bad.*
4
5foreach 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
19H1
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
28end
29
Note: See TracBrowser for help on using the repository browser.