source: trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/clean @ 386

Last change on this file since 386 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: 1.6 KB
Line 
1#!/bin/csh -f
2
3set nonomatch
4
5
6foreach dir ( frame chem share dyn_em dyn_exp dyn_nmm phys main tools )
7( cd $dir ; echo $dir ; /bin/rm -f core wrf *.f90 *.exe *.kmo *.mod *.o *.inc *.F90 *.a \
8                      db_* Warnings module_state_description.F module_dm.F gmeta \
9                      wrfdata whatiread rsl.* show_domain* )
10end
11
12
13( cd tools/CodeBase ; make clean )
14
15( cd inc ; /bin/rm -f *.inc namelist.default )
16
17
18if ( "$1" == '-a' ) then
19  if ( -f configure.wrf ) then
20    /bin/cp configure.wrf configure.wrf.backup
21    /bin/rm -f configure.wrf
22  endif
23  if ( -f Registry/Registry ) then
24    /bin/cp Registry/Registry Registry/Registry.backup
25    /bin/rm -f Registry/Registry
26  endif
27  /bin/rm -fr ./netcdf_links
28  /bin/rm -fr tools/code_dbase
29  ( cd external ; make -i superclean )
30  ( cd external/io_grib1/WGRIB ; make clean )
31  ( cd tools ; /bin/rm -f registry gen_comms.c fseeko_test fseeko64_test )
32  ( cd inc; /bin/rm -f dm_comm_cpp_flags wrf_io_flags.h wrf_status_codes.h )
33  ( cd run ; /bin/rm -f gm* out* fort* ideal* *.exe ; \
34        /bin/cp -f namelist.input namelist.input.backup ; \
35        /bin/rm -f namelist.input ) >& /dev/null
36  ( cd test/exp_real ; /bin/rm -f gm* out* fort* real* )
37  ( cd test ; rm -f */*.exe */ETAMPNEW_DATA */GENPARM.TBL */LANDUSE.TBL */README.namelist \
38        */RRTM_DATA */SOILPARM.TBL */VEGPARM.TBL */urban_param.tbl */grib2map.tbl \
39        */CAM_ABS_DATA */CAM_AEROPT_DATA \
40        */ozone.formatted */ozone_lat.formatted */ozone_plev.formatted \
41        */gribmap.txt */tr??t?? ) >& /dev/null
42endif
43
44#cms++
45if ( -e chem/KPP )then
46  ( cd chem/KPP; ./clean_kpp ) 
47endif
48#cms--
Note: See TracBrowser for help on using the repository browser.