Changes between Version 4 and Version 5 of PortingToPDAF3


Ignore:
Timestamp:
Apr 26, 2025, 2:40:27 PM (42 hours ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortingToPDAF3

    v4 v5  
    1313* Include[[BR]] `USE PDAF`[[BR]] in all routines that call PDAF routines (e.g. in init_pdaf and assimilate_pdaf).
    1414* If you used `USE PDAF_interface_module` in your code, replace this by `USE PDAF`.
    15 * You might need to adapt the Makefile of your program to include[[BR]]`-IPATH_TO_PDAF_INCLUDE`,[[BR]] where PATH_TO_PDAF_INCLUDE is the directory `include/` of your PDAF installation. The compiler needs to find the PDAF module files which are places in `include/`
     15* You might need to adapt the Makefile of your program to include[[BR]]`-IPATH_TO_PDAF_INCLUDE`,[[BR]] where PATH_TO_PDAF_INCLUDE is the directory `include/` of your PDAF installation. The compiler needs to find the PDAF module files which are placed in `include/`
    1616* particular cases:
    17   *  If the compile process of your programm includes the compilation of PDAF using src/Makefile: With PDAF3 the Makefile is now only in the base-directory and there is no Makefile any more in src/. Thus, addapt to use the Makefile in the base-directory (alternatively you can copy this Makefile into src/ and adapt it according to the hints given inside the Makefile
    18   * If you used the offline mode by specifying **subtype=5**: change `subtype` to 0 and add a call to the routine `PDAF_set_offline_mode` in `init_pdaf`. (see, the example in the file `tutorial/offline_2D_serial/init_pdaf_offline.F90` where the call to `PDAF_set_offline_mode` is at the very end of the routine; see also [wiki:OfflineInitPdaf]).
    19   * If your code calls **PDAF_assimilate_lnetf** or **PDAF_put_state_lnetf**: There was an argument added for `init_obs_pdaf`. the code has to be adapted for this additional arguments. (see [wiki:PDAF_assimilate_lnetf] or [wiki:PDAF_put_state_lnetf])
    20   * If your code used the **SEEK filter**: This filter was deprecated for a longer time and is no longer available with PDAF V30. Any call to e.g. PDAF_assimilate_seek has to be removed.
    21   * If your code used the **'simplified interface'**, i.e. routines with ending `_si`: The `_si` routine are no longer present in PDAF V3.0. Instead use the full interface routine, i.e. the routine with the same name as the `_si` routine, but without `_si`. Then set the arguments to the names that you find inside the `_si` routine file from PDAF2.
     17  *  If the compile process of your programm includes the compilation of PDAF using src/Makefile: With PDAF3 the Makefile is now only in the base-directory and there is no Makefile any more in src/. Thus, you would need adapt to use the Makefile in the base-directory (or alternatively you can copy this Makefile into src/ and adapt it according to the hints given inside the Makefile
     18  * If you used the offline mode by specifying **subtype=5**: change `subtype` to 0 and add a call to the routine [wiki:PDAF_set_offline_mode] in `init_pdaf`. Alternatively switch from using the `put_state` routine to using the new `assim_offline` routine, e.g. [wiki:PDAF3_assim_offline_local].
     19  * If your code calls **PDAF_assimilate_lnetf** or **PDAF_put_state_lnetf**: There was an argument added for `init_obs_pdaf`. The code has to be adapted for this additional arguments. (see [wiki:PDAF_assimilate_lnetf] or [wiki:PDAF_put_state_lnetf])
     20  * If your code used the **SEEK filter**: This filter was deprecated for a longer time and is no longer available with PDAF V3. Any call to e.g. PDAF_assimilate_seek has to be removed.
     21  * If your code used the **'simplified interface'**, i.e. routines with ending `_si`: The `_si` routine are no longer present in PDAF V3. Instead use the full interface routine, i.e. the routine with the same name as the `_si` routine, but without `_si`. Then set the arguments to the names that you find inside the `_si` routine file from PDAF2.
    2222
    2323With these adaptions, the compiling the program should be possible.