Changes between Version 6 and Version 7 of WikiCompilation


Ignore:
Timestamp:
Jul 9, 2014, 3:43:01 PM (10 years ago)
Author:
lfita
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiCompilation

    v6 v7  
    66}}}
    77
    8 1. Copy (not int the repository folder...) folder `WRFV3` to the desired spatial resolution (F77 legacy). As example one for 80x90x39
     82. Copy (not int the repository folder...) folder `WRFV3` to the desired spatial resolution (F77 legacy). As example one for 80x90x39
    99{{{
    1010$ cp -R WRFV3 ${WORKDIR}/WRFV3_80x90x39
    1111}}}
    1212
    13 1. Go to the `${WORKDIR}` and compile there
     133. Go to the `${WORKDIR}` and compile there
    1414{{{
    1515$ cd ${WORKDIR}/WRFV3_80x90x39
    1616}}}
    1717
    18 1. Define domain size for LMDZ editing file `lmdz/dimensions.h` (see documentation for more details)
     184. Define domain size for LMDZ editing file `lmdz/dimensions.h` (see documentation for more details)
    1919{{{
    2020$ cat lmdz/dimensions.h
     
    3030    wbdym = 5 (up to now, mandatory to run WRF with 5 grid points in the sponge zone) [[br]]
    3131
    32 1. run script `tools/prepare_compilation.bash` ('-h', for help. copy netCDF libraries and other staff not automatized)
     325. run script `tools/prepare_compilation.bash` ('-h', for help. copy netCDF libraries and other staff not automatized)
    3333{{{
    3434$ ./prepare_compilation.bash [WRF_LMDZsrc] [NETCDFhome] ${WORKDIR}/WRFV3_80x90x39
    3535}}}
    3636
    37 1. prepare compilation (ready for 'lmd' machines in serial) if not, edit
     376. prepare compilation (ready for 'lmd' machines in serial) if not, edit
    3838  1. `$ ./configure `
    3939  1. add pre-compiler flag `-DLMDZ` after `-DNETCDF` (inside `configure.wrf`)
    4040  1. modify `lmdz/Makefile` with that values from the `configure.wrf`
    4141
    42 1. prepare compilation modifying Registry files (already done, have a look just in case):
     427. prepare compilation modifying Registry files (already done, have a look just in case):
    4343  1. `$ ls -lrta Registry/Registry.EM`
    4444    {{{
     
    5050    }}}
    5151
    52 1. Compile as usual
     528. Compile as usual
    5353{{{
    5454$ compile em_real >& compile.log
    5555}}}
    5656
    57 1. Compile manually a lmdz subroutine (not working, not  knowing why). Example with gfortran serial in lmdz machines
     579. Compile manually a lmdz subroutine (not working, not  knowing why). Example with gfortran serial in lmdz machines
    5858{{{
    5959  $ cd lmdz
     
    6262}}}
    6363
    64 1. run script for second time `tools/prepare_compilation.bash`
     6410. run script for second time `tools/prepare_compilation.bash`
    6565{{{
    6666$ ./prepare_compilation.bash [WRF_LMDZsrc] [NETCDFhome] ${WORKDIR}/WRFV3_80x90x39
    6767}}}
    6868
    69 1. Recompile as usual
     6911. Recompile as usual
    7070{{{
    7171$ compile em_real >& compile.log
    7272}}}
    7373
    74 1. Checking compilation (empty outputs)
     7412. Checking compilation (empty outputs)
    7575  * `$ cat -n compile.log | grep Error`
    7676  * `$ cat -n compile.log | grep Erreur` (just in case you are in a French speaking computer)
    7777
    78 1. Running simulation
     7813. Running simulation
    7979  1. Run all the steps `WPS` and `real.exe` as usual
    8080  1. folder `WRFV3/run` is not completed (no binaries in repository!), thus get a copy of the right WRF version and use the original source
    8181  1. Edit and modify `namelist.input` and all the LMDZ *def files provided in `WRF/run` folder: `config.def`, `gcm.def`, `physiq.def`, `run.def`, `traceur.def`
    8282
    83 1. You're done, Have fun!
     8314. You're done, Have fun!