JOE_TC
Solution: In configure.wrf
, manually change the MCT_LIBDIR
to the right path.
Solution: Note the NnodesXXX
settings in coupling.in
represents the settings for individual components. The sum must be equal to the total number of processors applying in the run script.
Sandy (2012)
and Build Up Framework for Mangkhut (2018)
The Sandy (2012)
case can be smoothly repeated by following the instructions on the manual. While buiding up the coupling framework over the SCS need more efforts.
The biggest challenge is smoothing the bathemetry to satisfy the rx threshold, using the LP method.
There is a toolkit from IRB in Croatia LP Bathymetry, providing several ways to deal with the problem. Note the lp_solve
command line tool need to be setup at frist. For other version, remember to download the file named as lp_solve_x.x.x.x_exe_ux64.tar.gz.
Please check the next post for details about building the framework.
Updated 2020-02-19
A segmentation fault in GRAPES-3DVAR has been tortured me for several weeks. Tracing the error layers by layers, I actually getting familiar with the code flow.
Compared with the print
, write
, or other breakpoint debug tricks, the final hit was done by the debug mode of the compiler. The used debug flags are as follows:
FCDEBUG = -O0 -check bounds -g -traceback
-O0
The optimization option level with O0 will turn off every optimizations.-check bounds
This is a quite important flag, which will check if the query beyond an array’s boundary. If true, using this flag will throw an segfault with exactly which array crashes. Our problem solved with the assistance of -check bounds
option (This option will severally influence the efficiency).-g -traceback
This option will throw a stack traceback of the error, helping to locate which line crashes the program.Updated 2019-08-06
The following environmental variable controll the grep highlight color.
export GREP_OPTIONS='--color=auto' GREP_COLOR='31'
Argument -n
will show line number in grep results. Thus alias for the command is useful.
alias grep='grep -n'
Write them into your .bashrc
, source and then enjoy it!
Updated 2019-07-19