Changes between Version 16 and Version 17 of Lorenz_63_model


Ignore:
Timestamp:
Jun 3, 2024, 10:31:28 AM (7 weeks ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Lorenz_63_model

    v16 v17  
    1919=== 1. Compile and run the forward model without assimilation ===
    2020
    21 First change in the file `make.arch/linux_gfortran.h` the line
     21First change in the file `make.arch/linux_gfortran_openmpi.h` the line
    2222{{{
    2323CPP_DEFS = -DUSE_PDAF
     
    3030{{{
    3131  cd models/lorenz63
    32   make lorenz_63 PDAF_ARCH=linux_gfortran
     32  make lorenz_63 PDAF_ARCH=linux_gfortran_openmpi
    3333}}}
    3434You have to ensure
    35 that in the machine-specific make include file `linux_gfortran.h` `-DUSE_PDAF` is not defined
    36 for CPP_DEFS (such that calls to PDAF are not active). You can replace `linux_gfortran` by any other make include file from `make.arch/`, e.g. specify `macos_gfortran` for compiling on MacOS. The executable is generated in the directory.
     35that in the machine-specific make include file `linux_gfortran_openmpi.h` `-DUSE_PDAF` is not defined
     36for CPP_DEFS (such that calls to PDAF are not active). You can replace `linux_gfortran_openmpi` by any other make include file from `make.arch/`, e.g. specify `macos_gfortran` for compiling on MacOS. The executable is generated in the directory.
    3737
    3838'''Note''': The implementation uses the NetCDF library for file outputs. If the compilation above fails, please ensure the netcdf-library ist installed. On computers running Linux, it is usually available as a package of the operating system. On MacOS one can install the netcdf library e.g. using Fink or !MacPorts. NetCDF is a self-describing binary output format, but here it is not required that you know details about it. Anyway, if you like to look 'into' a NetCDF file, please try to use `ncdump FILENAME | less`. 
     
    4949{{{
    5050  cd tools
    51   make generate_obs PDAF_ARCH=linux_gfortran
     51  make generate_obs PDAF_ARCH=linux_gfortran_openmpi
    5252}}}
    5353
     
    6565  cd ../../../make.arch
    6666}}}
    67 and change in the file `linux_gfortran.h` the line
     67and change in the file `linux_gfortran_openmpi.h` the line
    6868{{{
    6969CPP_DEFS = #-DUSE_PDAF
     
    7979{{{
    8080  cd ../models/lorenz63
    81   make clean PDAF_ARCH=linux_gfortran
     81  make clean PDAF_ARCH=linux_gfortran_openmpi
    8282}}}
    8383(This removes object files that were compiled without support for PDAF)
    8484Then build the executable using
    8585{{{
    86   make pdaf_lorenz_63 PDAF_ARCH=linux_gfortran
     86  make pdaf_lorenz_63 PDAF_ARCH=linux_gfortran_openmpi
    8787}}}
    8888The program `pdaf_lorenz_63` is generated in the current directory.