Last change
on this file since 13 was
11,
checked in by aslmd, 14 years ago
|
spiga@svn-planeto:ajoute le modele meso-echelle martien
|
-
Property svn:executable set to
*
|
File size:
733 bytes
|
Line | |
---|
1 | #!/bin/csh -f |
---|
2 | |
---|
3 | if ( ! -e configure.arwp ) then |
---|
4 | echo "Do 'configure' first" |
---|
5 | exit ( 1 ) |
---|
6 | endif |
---|
7 | |
---|
8 | if ( ( ! $?NETCDF ) && ( -d netcdf_links ) ) then |
---|
9 | setenv NETCDF `pwd`/netcdf_links |
---|
10 | setenv temp_netcdf 1 |
---|
11 | else |
---|
12 | setenv temp_netcdf 0 |
---|
13 | endif |
---|
14 | |
---|
15 | set DEV_TOP = `pwd` |
---|
16 | set first_char = `grep ^WRF_DIR configure.arwp | awk '{print $3}' | cut -c -1` |
---|
17 | |
---|
18 | if ( "$first_char" == "/" ) then |
---|
19 | set WRF_DIR_PRE = |
---|
20 | else |
---|
21 | set WRF_DIR_PRE = ${DEV_TOP}/ |
---|
22 | endif |
---|
23 | |
---|
24 | |
---|
25 | echo " " |
---|
26 | echo "**** Compiling ARWpost ****" |
---|
27 | echo " " |
---|
28 | |
---|
29 | echo ${WRF_DIR_PRE} |
---|
30 | ( cd src ; make -i -r WRF_DIR_PRE="${WRF_DIR_PRE}" all ) |
---|
31 | if ( -e src/ARWpost.exe ) then |
---|
32 | ln -sf src/ARWpost.exe . |
---|
33 | endif |
---|
34 | |
---|
35 | |
---|
36 | if ( $temp_netcdf == 1 ) then |
---|
37 | unsetenv NETCDF |
---|
38 | endif |
---|
39 | |
---|
40 | exit(0) |
---|
Note: See
TracBrowser
for help on using the repository browser.