Notice
Recent Posts
Recent Comments
Link
«   2026/05   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Tags
more
Archives
Today
Total
관리 메뉴

Hwa-Jin Choi

HOW TO REBUILD RESTART FILES 본문

NEMO/Set-up

HOW TO REBUILD RESTART FILES

hjchoi0620 2024. 3. 29. 01:21

Editing “REBUILD_NEMO”

Now that you have compiled NEMO, you probably want to run it.

NEMO runs in parallel and will output a data file for each thread used. Therefore we need the REBUILD_NEMO tool to recombine the outputs into a single file.

To do this go to the tools folder and execute the following command:

./maketools -n REBUILD_NEMO -m gfortran_local

Note: If you get an error about iargc_ and/or getarg not being external variables then go to the following file tools/REBUILD_NEMO/src/rebuild_nemo.F90 and comment out these two lines.

INTEGER, EXTERNAL :: iargc
 ...
 external :: getarg

 

Depending on the compiler used these may or may not be treated as external variables.

https://afstyles.github.io/nemo-compilation/

 

Compiling NEMO 4.0.1 on Monsoon/NEXCS | Andrew Styles

A guide to compiling NEMO 4.0 on Monsoon/NEXCS.

afstyles.github.io

Editing the namelists for restart

  • nn_euler=1

“nn_euler” should always be 1 when starting from a restart.

: It is actually forced to zero when ln_rstart=F to enable starting from a climatology, so there are rarely reasons to change this setting.

  • ln_tsd_init=T

If ln_rstart=F, you can set ln_tsd_init=T to enable the reading of initial T and S conditions. Just set the name of your restart and the name of the variables in the sn_tem and sn_sal structures.

The default settings in the namelist_ref are for a 12-monthly climatology file. For a restart, with just one time-level, set the frequency to -12. and the time interpolation to .false. It should work.

'NEMO > Set-up' 카테고리의 다른 글

BOUNDARY DATA  (0) 2024.04.01
SETTING UP  (0) 2024.03.29
XIOS 2.5 and NEMO 4.0.6  (0) 2024.03.29
Installing Libraries  (0) 2024.03.29