Changes between Version 16 and Version 17 of Lorenz_63_model
- Timestamp:
- Jun 3, 2024, 10:31:28 AM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Lorenz_63_model
v16 v17 19 19 === 1. Compile and run the forward model without assimilation === 20 20 21 First change in the file `make.arch/linux_gfortran .h` the line21 First change in the file `make.arch/linux_gfortran_openmpi.h` the line 22 22 {{{ 23 23 CPP_DEFS = -DUSE_PDAF … … 30 30 {{{ 31 31 cd models/lorenz63 32 make lorenz_63 PDAF_ARCH=linux_gfortran 32 make lorenz_63 PDAF_ARCH=linux_gfortran_openmpi 33 33 }}} 34 34 You have to ensure 35 that in the machine-specific make include file `linux_gfortran .h` `-DUSE_PDAF` is not defined36 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.35 that in the machine-specific make include file `linux_gfortran_openmpi.h` `-DUSE_PDAF` is not defined 36 for 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. 37 37 38 38 '''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`. … … 49 49 {{{ 50 50 cd tools 51 make generate_obs PDAF_ARCH=linux_gfortran 51 make generate_obs PDAF_ARCH=linux_gfortran_openmpi 52 52 }}} 53 53 … … 65 65 cd ../../../make.arch 66 66 }}} 67 and change in the file `linux_gfortran .h` the line67 and change in the file `linux_gfortran_openmpi.h` the line 68 68 {{{ 69 69 CPP_DEFS = #-DUSE_PDAF … … 79 79 {{{ 80 80 cd ../models/lorenz63 81 make clean PDAF_ARCH=linux_gfortran 81 make clean PDAF_ARCH=linux_gfortran_openmpi 82 82 }}} 83 83 (This removes object files that were compiled without support for PDAF) 84 84 Then build the executable using 85 85 {{{ 86 make pdaf_lorenz_63 PDAF_ARCH=linux_gfortran 86 make pdaf_lorenz_63 PDAF_ARCH=linux_gfortran_openmpi 87 87 }}} 88 88 The program `pdaf_lorenz_63` is generated in the current directory.