Changes between Version 33 and Version 34 of InitPdaf
- Timestamp:
- Feb 13, 2012, 5:02:47 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InitPdaf
v33 v34 122 122 The PDAF initialization can be tested by compiling the program and executing it. The Makefile of the model has to be extended to include the additional files. The core part of PDAF can be compiled separately as a library and can then simply be linked to the model code. This is the strategy followed in the PDAF-package. 123 123 124 '''Remark:''' For the compilation with a real MPI library, one has to ensure that the header file (`mpif.h`) of the MPI-library is used for both the model and PDAF. (Thus in the include file for make , one might have set `MPI_INC =`.) The include directory `dummympi` specified in some of the include files, will not be compatible with all MPI implementations.124 '''Remark:''' For the compilation with a real MPI library, one has to ensure that the header file (`mpif.h`) of the MPI-library is used for both the model and PDAF. (Thus in the include file for make in `make.arch`, one might have set `MPI_INC` to the directory holding the header file.) The include directory `dummympi` specified in some of the include files for compiling a serial program, will not be compatible with all MPI implementations. 125 125 126 126 At this stage it will not be meaningful to perform an actual integration. However, one can test if the initialization in PDAF_init is successful and if the ensemble array is correctly initialized.