Changes between Version 26 and Version 27 of Users/SetupNewConfiguration
- Timestamp:
- 2017-05-15T17:11:10+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Users/SetupNewConfiguration
v26 v27 4 4 5 5 Last edition: '''[[Wikinfo(changed_ts)]]''' by '''[[Wikinfo(changed_by)]]''' 6 7 [[TitleIndex(Users/SetupNewConfiguration/, hideprefix)]]8 6 9 7 {{{ … … 12 10 13 11 14 Starting from an existing one 15 -------------------------------- 16 12 13 }}} 14 == Starting from an existing one 15 {{{ 16 #!rst 17 17 There are three options for creating new configurations based on an existing one: 18 19 **1** Create and compile a new configuration duplicating a reference configuration (ORCA_LIM3 18 }}} 19 === Option 1: Duplicate an existing configuration 20 {{{#!rst 21 Create and compile a new configuration duplicating a reference configuration (ORCA_LIM3 20 22 in the following example):: 21 23 22 24 makenemo –n ORCA_LIM3_MYCONFIG -r ORCA_LIM3 23 25 24 **2** Create and compile a new configuration based on a reference configuration (ORCA_LIM3 in 26 }}} 27 === Option 2: Duplicate with differences 28 {{{#!rst 29 Create and compile a new configuration based on a reference configuration (ORCA_LIM3 in 25 30 the following example) but with different pre-processor options. For this either add 26 31 (add_key) or remove (del_key) keys as required; e.g.:: … … 28 33 makenemo –n ORCA2_LIM3_MYCONFIG -r ORCA2_LIM3 del_key "key_iomput" add_key "key_xios" 29 34 30 **3** Define a regional configuration which is a sub- or super-set of an existing 35 }}} 36 === Option 3: Use the SIREN tools to subset an existing model 37 {{{#!rst 38 Define a regional configuration which is a sub- or super-set of an existing 31 39 configuration. 32 40 … … 46 54 `forum <https://forge.ipsl.jussieu.fr/nemo/discussion/forum/2>`_ . 47 55 48 49 Creating a completely new configuration 50 ---------------------------------------------- 56 }}} 57 == Creating a completely new configuration 58 {{{ 59 #!rst 51 60 52 61 From NEMO version 4.0 there are two ways to build configurations from scratch. The … … 56 65 simple geometries and formulae. 57 66 58 Method 1: Create and use a domain configuration file 59 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 67 }}} 68 === Option 1: Create and use a domain configuration file 69 {{{#!rst 60 70 61 71 **1** Even when starting from scratch it is advisable to create the directory structure to … … 118 128 for details. 119 129 120 121 Method2: Copy and modify user-defined configuration modules122 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 }}} 131 === Option 2: Copy and modify user-defined configuration modules 132 {{{#!rst 123 133 124 134 This method is intended for configuring easily defined idealised configurations which are