7 if ( ! -d /$root/${user} ) then
13 if ( ! -d /$root/${user}/`hostname` ) then
14 mkdir
/$root/${user}/`hostname`
16 cd /$root/${user}/`hostname`
18 if ( ! -e /$root/${user}/wrfv2.
tar ) then
19 echo need the wrf
tar file
26 if ( `uname` == SunOS
) then
28 else if ( ( `uname` == Linux
) && ( `hostname` == jacaranda
) ) then
30 else if ( `uname` == Linux
) then
32 else if ( `uname` == OSF1
) then
37 cd /$root/${user}/`hostname`/WRFV2
39 foreach
test ( em_real em_b_wave em_quarter_ss
)
40 echo building
$test for compiler option
$opt `date`
44 echo "$opt" | .
/configure
>&! make.out.
${test}.opt
=${opt}
46 compile
$test >>& make.out.
${test}.opt
=${opt}
48 if ( $test == em_real
) then
49 if ( ( ! -e main
/real.exe
) ||
( ! -e main
/wrf.exe
) ) then
50 echo missing
$test executables
54 if ( ( ! -e main
/ideal.exe
) ||
( ! -e main
/wrf.exe
) ) then
55 echo missing
$test executables
59 echo $test exec build OK
`date`