Changes between Version 44 and Version 45 of Lorenz_96_model


Ignore:
Timestamp:
Jun 3, 2024, 10:26:21 AM (5 months ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Lorenz_96_model

    v44 v45  
    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/lorenz96
    32   make lorenz_96 PDAF_ARCH=linux_gfortran
     32  make lorenz_96 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
     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
    3737is generated in this directory.
    3838
     
    5050{{{
    5151  cd tools
    52   make all PDAF_ARCH=linux_gfortran
     52  make all PDAF_ARCH=linux_gfortran_openmpi
    5353}}}
    5454
     
    7373  cd ../../../make.arch
    7474}}}
    75 and change in the file `linux_gfortran.h` the line
     75and change in the file `linux_gfortran_openmpi.h` the line
    7676{{{
    7777CPP_DEFS = #-DUSE_PDAF
     
    8787{{{
    8888  cd ../models/lorenz96
    89   make clean PDAF_ARCH=linux_gfortran
     89  make clean PDAF_ARCH=linux_gfortran_openmpi
    9090}}}
    9191(This removes object files that were compiled without support for PDAF)
    9292Then build the executable using
    9393{{{
    94   make pdaf_lorenz_96 PDAF_ARCH=linux_gfortran
     94  make pdaf_lorenz_96 PDAF_ARCH=linux_gfortran_openmpi
    9595}}}
    9696The program `pdaf_lorenz_96` is generated.