|
- Timestamp:
-
Jul 6, 2023, 7:27:06 PM (22 months ago)
- Author:
-
gallmei
- Comment:
-
extend the comment about f90nml
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
32 | 32 | |
33 | 33 | * `f90nml -g "input" -v "numTimeSteps=42" -g "baryonPotential" -v "EQS_Type=42" --patch in.job out.job` [[BR]] will (correctly) change the value of 'EQS_Type' in the namelist 'baryonPotential', but will also (incorrectly) add the line "numTimeSteps=42" in the same namelist. |
| 34 | |
| 35 | So you have to run the cli multiple times, if you want to change variables in different namelists of the one and only jobcard. Alternatevily, you can write a short python program, where you define the 'patch' and run this instead. |
|